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.

Headers

Name Required/Optional Type Description Notes
Authorization Required string API authentication key Authorization: Bearer your-api-key

Request Parameters

Path Segment Parameter

Name Required/Optional Type Description Notes
orderNo Optional string Order No.

Example Endpoint

<https://api.realpacking.com/v3/orders/orderno12345/cancel>

Body Parameter

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 | |

Request Body Example

{
    "cancel": "Y",
	  "videoCode": "202310301614"
}
{
    "cancel": "Y",
    "videoCode": "2023103016142",
    "product": [
        {
            "productCode": "prodcode22222"
        },
        {
            "productCode": "prodcode12345"
        }
	    ]
}

Response

Success

Name Required/Optional Type Description Notes
message Required string http status message
data Required string Result data Video recording No. after order cancel completed

Response Example