/v2/providers/openapi/apis/api/v4/vendors/{vendorId}/ordersheets/acknowledgement2609170000Changing the status to Product in Preparation
Summary
Changing the status to Product in Preparation
Details
Available buyer market: Korean, Taiwan
Change the order status from "Payment Complete" to "Product in Preparation". Partial Error is returned if there are canceled orders among those for which status change was requested.
※ If the list includes orders that have been partially canceled and being refunded, the message "Unable to change the delivery status. Check the order history." will be returned.
After the refund has been completed, orders that include non-canceled items can be changed to Product in Preparation.
Only applicable to shipmentBoxIds at Payment Complete.
A timeout error may occur if the size of the shipmentBoxIds list is big. Request single IDs or list under 50.
After changing the status to Product in Preparation, YOU MUST look up and update individual orders to see if the shipping address has been changed, in case the customer has changed it while at Payment Complete.
Path
Example endpoint
https://api-gateway.coupang.com/v2/providers/openapi/apis/api/v4/vendors/A00012345/ordersheets/acknowledgementURL API Name
Path parameters
| Name | Type | Description |
|---|---|---|
| vendorId* | string | Vendor ID Unique code Coupang issues to seller e.g. A00012345 |
Request body
Request parameters
Body parameter
| Name | Type | Description |
|---|---|---|
| vendorId* | string | Vendor ID Unique code Coupang issues to seller e.g. A00012345 |
| shipmentBoxIds* | object[] | List of bundled shipping numbers to be changed to Product in Preparation state Request up to 50 at a time |
{
"vendorId": "A00012345",
"shipmentBoxIds": [
123456789012345680,
123456789012345680
]
}Response body
Response message
| Name | Type | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| code | string | Server response code
| ||||||||||
| message | string | Server response message
| ||||||||||
| data | object | Ordersheet state change api call result
| ||||||||||
| responseKey data.responseKey | integer | Distinct value for request System meta data | ||||||||||
| responseCode data.responseCode | integer | Status code for the entire request result
| ||||||||||
| responseMessage data.responseMessage | string | Status message for the entire request result
| ||||||||||
| responseList data.responseList | object[] | Result set for individual case
| ||||||||||
| shipmentBoxId data.responseList[].shipmentBoxId | integer | Bundled shipping number
| ||||||||||
| succeed data.responseList[].succeed | boolean | Success Y/N
| ||||||||||
| resultCode data.responseList[].resultCode | string | Result code
| ||||||||||
| retryRequired data.responseList[].retryRequired | boolean | Retry Y/N
| ||||||||||
| resultMessage data.responseList[].resultMessage | string | Result message
|
Response Example
{
"code": "200",
"message": "OK",
"data": {
"responseKey": -7326489997410940000,
"responseCode": 1,
"responseMessage": "apply instructStatus result - Partial errors.",
"responseList": [
{
"shipmentBoxId": 123456789012345680,
"succeed": true,
"resultCode": "OK",
"retryRequired": false,
"resultMessage": "request succeeded."
},
{
"shipmentBoxId": 123456789012345680,
"succeed": false,
"resultCode": "NOT_FOUND_SHIPMENT_BOX",
"retryRequired": true,
"resultMessage": "shipmentBoxId (123456789012345679) is not found."
}
]
}
}Error codes
| HTTP | Code | Message |
|---|---|---|
| 400 | HTTP_400 | Bad Request |
Error specification
| HTTP | Type | Error message | Solution |
|---|---|---|---|
| 500 | 500 (sever error) | "code":500, "message" : "com.coupang.apigateway.pylon.ApiPreconditionException: Timeout waiting for connection from pool" | This is a temporary error due to an increase in the internal system load. Request again after a certain period of time. |
| 504 | 504 (sever error) | "code" : "ERROR", "message" : "Request timed out, if the situation continues consider applying timeout extension." | This is a temporary error due to an increase in the internal system load. Check whether the order has been changed to Product in Preparation with the single PO query API, and if there is no change, retry after a certain period of time. |
| 521 | 521 (sever error) | "code" : "ERROR", "message" : "connection timed out: aws-openapi.coupang.net/10.211.51.172:80" | This is a temporary error due to an increase in the internal system load. Check whether the order has been changed to Product in Preparation with the single PO query API, and if there is no change, retry after a certain period of time. |