Waybill Cancellation

This REST API is used by Unicommerce to call for cancelling any AWB(waybill) assignment once orders is cancelled (before dispatch).

Tip

  • It is recommended to check out Notes for the reader. You might find this helpful as it contains Guidelines for using API references and Terminologies used here.
  • The shipping provider is required to share details of their supported shipment statuses with Unicommerce. These details shall mention the status definitions and forward/reverse flags.

Tip

Complete integration flow is available on Basic Overview page.

Basic Information

NAME DETAILS
Usage: Optional
Endpoint: /cancel
Request Type: POST
Scheme: HTTPS
Header (Content-Type): application/json
Header (Authorization): token (got from SP Authentication)

Request Payload

{
   "waybill": "string"
}

Request Payload Details

PARAMETERS TYPE DESCRIPTION MANDATORY NOTES
waybill string Way bill numbers (inside quotes) Yes Only one waybill in each API request, Eg.: “3113210963421”

Response Payload

{
   "waybill": "string",
   "status":"success",
   "errorMessage":"string"
}

Response Payload Details

PARAMETER TYPE DESCRIPTION NOTES
waybill string Most recent shipment status -
status string Error status; success/failed -
errorMessage string Response message Eg: Shipment is picked up by courier person

Error Codes

Refer Response Codes section to know about specific errors codes.

Unicommerce Website

Copyright © 2023 Unicommerce eSolutions Pvt. Ltd.