Create Shipment Labels

Create parcel label data according to the purchase order

API Endpoint

URL {base url}/api/Order/CreateShipmentLabels
Method POST
Authorization Bearer Token
Content-Type application/json

Request Headers

Parameter Type Required Description
APIKEY string true System key code

Request Parameters

Parameter Type Required Description
OrderId string true Order Id
OrderNo string false Order No
Label string true parcel label base64 string
Document string false document base64 string

Request JSON Example


{
  "OrderId": "PA19357170",
  "OrderNo": "PA19357170",
  "Label": "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABmJLR0QA/wD/AP+gvaeT...",
  "Document": ""
}
    

Response Parameters

Parameter Type Description
Id integer Error status, e.g., 0 indicates no error.
Success boolean Status of success.
Message string Response message.
RequestId string Reference for the request.
Size integer Number of records.
Data object Typically, the returned value is always null.

Response JSON Example


{
    "Id": 0,
    "Success": true,
    "Message": "SUCCESS",
    "RequestId": "30B2A080-E1E0-424A-AD0E-748AD5F78957",
    "Size": 1,
    "Data": null
}