Bulk Execute Shipment
Function
Execute shipment, currently we support order with following delivery service: 7-11 Cross Border, FMT Freeze, Tcat.
Only applicable to order in pending delivery status.
針對串接物流訂單執行出貨,目前支援的物流方式有:7-11 跨境、全家冷凍、黑貓宅配 。
只對物流配送狀態為未執行的訂單有效。
URL
PATCH <<api_domain>>/v1/orders/execute_shipment
Request Parameters
Parameter | Type | Description | Example |
|---|---|---|---|
orderIds *Required |
| Order's ID Allow 24 order IDs in one batch |
|
Response Field
Field | Type | Description | Example |
|---|---|---|---|
processingOrderIds |
| Processing Order's ID | ["5d8c8b3be388095d25acbc89"] |
processingFailedOrderIds |
| Process Failed Order's ID | ["5d8c8b3be388095d25acbc89"] |
statusErrorOrderIds |
| Status Error Order's ID | ["5d8c8b3be388095d25acbc89"] |
platformNotSupportOrderId |
| Not Support Order's ID | ["5d8c8b3be388095d25acbc89"] |
notFoundOrderIds |
| Not found Order's ID | ["5d8c8b3be388095d25acbc89"] |
Response Example
JSON sample
{
"processingOrderIds": [
"622ef479be84b6002b50ff9f"
],
"processingFailedOrderIds": [],
"statusErrorOrderIds": [
"622ef4a5be84b6002850ffa1"
],
"platformNotSupportOrderIds": [],
"notFoundOrderIds": [
"622ef479be84b6002b50ff91"
]
}JSON sample for failure case
{
"message": "Unable to process the changes [\"orderIds\" must contain less than or equal to 24 items]"
}Updated 13 days ago