Skip to main content

Shipment Cancelled

Description - Notification sent when any order item inside the shipment is cancelled.

EventStructure

{
"shipmentId": "",
"eventType": "shipment_cancelled",
"locationId": "",
"source": "",
"timestamp": ISO time string,
"attributes": {
"status": "CANCELLED",
"orderItems": [{
"orderItemId": "",
"quantity": ,
"reason": "",
"subReason": ""
}]
}
}
Parameter NameDescription
statusPossible value - CANCELLED
quantityNumber of quantity cancelled for that order item id

Example

{
"eventType": "shipment_cancelled",
"source": "flipkart",
"version": "v3",
"timestamp": "2017-04-12T12:12:15+05:30",
"locationId" : "LOC1234",
"attributes": {
"status": "CANCELLED",
"orderItems": [{
"orderItemId": "6452425382623300",
"quantity": 1,
"reason": "seller_cancellation",
"subReason": "not_enough_inventory"
}]
},
"shipmentId": "d133588f-b0ac-443b-99b4-7ac8648a0f89"
}