Push Notification API
Inbound | POST | /rms-magic/notification/push
Forward Order Request
{
"forwardOrderCode": "asdf1234",
"forwardShipmentCode": "101",
"forwardAwb": "12541231",
"notificationType": "IN_TRANSIT",
"shipmentType": "FORWARD",
"logisticAggregatorName": "NARVAR",
"warehouseCode": "wh-1",
"returnOrderInfo": null,
"items": [
{
"sku": "sku-1",
"quantity": 1
}
]
}
Return Order Request
{
"forwardOrderCode": "asdf1234",
"forwardShipmentCode": "101",
"forwardAwb": "12541231",
"notificationType": "RETURN_PICKUP",
"shipmentType": "RETURN",
"logisticAggregatorName": "NARVAR",
"warehouseCode": "wh-1",
"returnOrderInfo": {
"returnOrderId": "return-asdf1234",
"returnAwb": "return1235123",
"carrierName": "Delhivery Reverse"
},
"lineItems": [
{
"sku": "sku-1",
"quantity": 1
}
]
}
Parameter Name | Data Type | Description | Mandatory |
| String | This is the forward order id with which the rms identifies each order. This forwardOrderCode is same as orderNumber which would have been passed in the request payload of the generate shipping label API call. | yes |
| String | This is the unique forward shipment code with which rms identifies each shipment in an order. This forwardShipmentCode is the same as shipmentCode which was passed in generate shipping label API call. |
|
| String | This is the tracking number of the forward order | no |
| String | This is the carrier who is handling the forward order shipment. This is required when the notification type is of a forward order (IN_TRANSIT,DELIVERED etc.) | no |
| String | The notification type for this order that is being pushed | yes |
| String | If the notification being pushed is for the forward order or a return order | yes |
| String | The logistic aggregator name | yes |
| String | The warehouse code for this order | no |
| Object | The return order details if the notification is for a return order | no |
| String | The return order id with which the return order was created. | yes |
| String | The return awb of the return order | yes |
| String | The carrier of the return order | yes |
| List | The list of items for the order whose notification is being sent | yes |
| String | The SKU of the item | yes |
| Integer | The quantity of the item | yes |