Customer Cancellation API
Inbound | PUTÂ | /orders/{orderCode}/cancel
Summary
This API is used to push outward order cancellation to Increff Omni.
Description
This API is used to push complete as well as partial cancellation of outward orders. The canceled quantity in the payload will always be the absolute quantity. One payload can have only one order and one sku can be present only once.
Note :
Before invoicing : Any type of cancellation including partial and complete is allowed.
After invoicing : No cancellation is allowed
Request
{
"locationCode":"locationCode",
"orderItems":[
{
"channelSkuCode":"100000789702",
"cancelledQuantity":1,
"orderItemCode":"item123"
},
{
"channelSkuCode":"100000789703",
"cancelledQuantity":4,
"orderItemCode":"item124"
}
]
}
Parameter Name | Data Type | Description | Mandatory |
| String | Unique code used by channel to identify the order | yes |
| String | Location code of the warehouse from where the order will get fulfilled | no |
| Object[] | List of order items which got cancelled | yes |
| String | SKU code of order item | yes |
| Integer | Absolute Quantity of SKU which got cancelled. This should be less than the ordered quantity | yes |
| String | This is provided by the channel to uniquely identify each order item. | yes  |
Response
Empty Body
HttpStatus Code
200