post http://staging-apigateway.snapdeal.com/seller-api/orders/trackingDetails
This API updates the tracking details of an order like courier name, awb no. of the package. Multiple updates are allowed.
Note
Orders belonging to only Vendor Self.
Allowed status: PFF
Request
ParameterName | DataType | ParameterType | Requirement | Description |
---|---|---|---|---|
trackingDetailsUpdates | Map<String, TrackingDetail> | Body | Mandatory | It is a Map<String, TrackingDetail> where Order code is the key and TrackingDetail is the value. |
TrackingDetail :
FieldName | DataType | Description |
---|---|---|
courierName | String | Courier name |
trackingNumber | String | It is the AWB number of the package. |
trackingLink | String | Tracking url of the package |
Response
metadata :
FieldName | DataType | Description |
---|---|---|
requestId | String | Unique ID for the request |
clientId | String | Partner Id |
responseTime | Long | Response Time |
requestedURI | String | Requested URI |
message | String | Error message |
payload :
FieldName | DataType | Description |
---|---|---|
trackingDetailsUpdatesResponse | Map<String, UpdateResponse> | Map of Order code and UpdateResponse |
UpdateResponse
FieldName | DataType | Description |
---|---|---|
operationSuccessful | boolean | Describes whether operation Successful or not |
errorMessage | String | Error message will be given if operationSuccessful is false otherwise it will be null. |