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"=>"return"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;status&quot;:&quot;\u003cnumber\u003e&quot;,&quot;success&quot;:true,&quot;data&quot;:&quot;\u003cnull\u003e&quot;,&quot;message&quot;:&quot;\u003cstring\u003e&quot;}