Skip to end of banner
Go to start of banner

Push Notification API

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Inbound | POST | /rms-magic/notification/push

Forward Order Request

{
  "forwardOrderCode": "asdf1234",
  "forwardAwb": "12541231",
  "notificationType": "IN_TRANSIT",
  "shipmentType": "FORWARD",
  "logisticAggregatorName": "NARVAR",
  "warehouseCode": "wh-1",
  "returnOrderInfo": null,
  "items": [
    {
      "sku": "sku-1",
      "quantity": 1
    }
  ]
}

Return Order Request

{
  "forwardOrderId": "asdf1234",
  "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

forwardOrderId

String

This is the unique forward order id with which the logistic aggregator identifies each order

yes

forwardAwb

String

This is the tracking number of the forward order

no

carrierName

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

notificationType

String

The notification type for this order that is being pushed

yes

shipmentType

String

If the notification being pushed is for the forward order or a return order

yes

logisticAggregatorName

String

The logistic aggregator name

yes

warehouseCode

String

The warehouse code for this order

no

returnOrderInfo

Object

The return order details if the notification is for a return order

no

returnOrderInfo.returnOrderId

String

 

The return order id with which the logistic aggregator identifies the return order

yes

returnOrderInfo.returnAwb

String

The return awb of the return order

yes

returnOrderInfo.carrierName

String

The carrier of the return order

yes

lineItems

List

The list of items for the order whose notification is being sent

yes

lineItems.sku

String

The SKU of the item

yes

lineItems.quantity

Integer

The quantity of the item

yes

  • No labels