Cancel Order Shipment
POST {{baseUrl}}/orders/:order_id/cancel-shipment
This endpoint allows you to cancel specific Order Shipment by providing the ID of the order you want to cancel in the order.id path parameter.
💡 Note
You will need to send the parameters in your request: shipment_number and shipment_type
orders.read
- Orders Read Only
Request Body
{"shipment_number"=>"<string>", "shipment_type"=>"shipment"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"status":"\u003cnumber\u003e","success":true,"data":{},"message":"\u003cstring\u003e"}