To notify the client of a cancellation during the outgoing inspection process, you can use the order number to change the status of the corresponding order information stored in the Realpacking system to 'Canceled'. However, you cannot change the status of an order once it has been inspected.
Name | Required/Optional | Type | Description | Notes |
---|---|---|---|---|
Authorization | Required | string | API authentication key | Authorization: Bearer your-api-key |
The API authorization key is the API key created in [Web Admin > Workspace > Settings > API Key].
You must add 'Bearer ' in front of the API key to ensure proper authentication processing. | | Version | Required | string | API version | Version: 2025-01-09
You must specify the correct version to use the API. |
Name | Required/Optional | Type | Description | Notes |
---|---|---|---|---|
orderNo | Optional | string | Order No. |
<https://api.realpacking.com/v3/orders/orderno12345/cancel>
Name | Required/Optional | Type | Description | Notes |
---|---|---|---|---|
cancel | Required | string | Cancelled status value | Y or N |
Y: Order Cancelled | | videoCode | Required | string | Video Recording No. | | | product | Optional | map[] | Goods info data | | | product[i].productCode | Optional | string | Goods unique code | |
{
"cancel": "Y",
"videoCode": "202310301614"
}
{
"cancel": "Y",
"videoCode": "2023103016142",
"product": [
{
"productCode": "prodcode22222"
},
{
"productCode": "prodcode12345"
}
]
}
Name | Required/Optional | Type | Description | Notes |
---|---|---|---|---|
message | Required | string | http status message | |
data | Required | string | Result data | Video recording No. after order cancel completed |