Order Shipping Number
API Reference
Environment | Method | Endpoint |
---|---|---|
Sandbox | POST | https://api-develop.unimall.ai/supplier/orders/{orderNumber}/shipment-number |
Production | POST | https://api-prod.unimall.ai/supplier/orders/{orderNumber}/shipment-number |
Description
This endpoint allows adding a shipment number for an order. It updates the order with shipping details provided by the supplier, including optional shipping provider, label URL, or an attached label file.
You need to send the unimallOrderNumber in the request url to add shipping number.
You must add supplierShippingNumber to the request body. You can also provide supplierShippingProvider, supplierLabelUrl and supplierLabelFile which is available in the request body.
If you already have label for the order, send the supplierLabelFile field as label file which is available in the request body.
The request body must be in the form of multipart/form-data and should include the following fields.
Request Parameters
Field Name | Type | Is Required | Validation Rules | Description | Sample Input |
---|---|---|---|---|---|
supplierShippingNumber | String | Yes | - | Supplier shipping number for order. | SHNM123123 |
supplierShippingProvider | String | No | - | Supplier shipping provider for order. | Sample Provider |
supplierLabelUrl | String | No | - | Supplier label url for order. | https://firstlabelurl.pdf |
supplierLabelFile | File | No | - | Supplier label file for order. | File |
Sample Curl Request
Sample Response
HTTP 200