Order Pack
API Reference
Environment | Method | Endpoint |
---|---|---|
Sandbox | POST | https://api-develop.unimall.ai/supplier/orders/{orderNumber}/package |
Production | POST | https://api-prod.unimall.ai/supplier/orders/{orderNumber}/package |
Description
This method allows you to pack the order items.
You can pack the orders, if the order status is “New”.
You need to send the unimallOrderNumber in the request url to pack the order.
If you can supply the order item, send the isSupplied field as true which is available in the request body.
If you don’t have stock for the order item, send the isSupplied field as false which is available in the request body.
Request Parameters
Field Name | Type | Is Required | Validation Rules | Description | Sample Input |
---|---|---|---|---|---|
items | Array | Yes | - | The items to be packed. | [{ “sku”: “UM1000000001”, “isSupplied”: true }, { “sku”: “UM1000000002”, “isSupplied”: false }] |
items[].sku | String | Yes | - | The SKU of the item to be packed. | UM1000000001 |
items[].isSupplied | Boolean | Yes | - | Whether the item is supplied. | true |
Sample Curl Request
Sample Response
HTTP 200