Skip to end of banner
Go to start of banner

Integrating with RMS for a Logistics Aggregator

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

« Previous Version 7 Next »

This document is for Logistics Aggregators who want to integrate with Increff RMS.

Setup

  • Contact increff support to get yourself registered as a Logistic aggregator.

  • A unique logistic aggregator name would need to be added to RMS.

  • Unique logistic aggregator name would be passed in the request body by RMS while making API calls to the logistic aggregator and also the logistic aggregator would pass this field in its request body while making API calls to RMS.

Credentials

Credential Headers that will be used by RMS while making API calls to Logistic Aggregator will be provided by logistic aggregator on an organisation level. These are called outbond calls for RMS.

For example, there are 2 increff omni clients who want to use RMS.

  • Orgs are created for them: org-1 and org-2.

  • They both want to use a logistic aggregator - say logistic-aggregator-1.

  • Then Logistic-aggregator-1 will have to provide separate credentials for org-1 and org-2.

Following credentials will be used by a logistic aggregator to make API calls to RMS. These are called inbound calls for RMS

These will be provided by the Increff team to the logistic aggregator. There will be separate credentials for each organization.

  • authDomainName

    • authUsername

    • authPassword

URLs values to be provided by Logistic Aggregator

Increff RMS will configure these url on its side. Still the request response will be shared by Increff RMS.

  • Generate Shipping Label URL

  • Get Shipping Label URL

  • Generate Return AWB URL

  • Get Return AWB URL

  • Get Couriers URL

URLs values provided by RMS

Client will have to configure this end point on their side and provide us the URL so we can make apis calls.

  • Push Notification URL

Flows

Space Index

0-9 ... 0 A ... 2 B ... 0 C ... 6 D ... 0 E ... 1
F ... 2 G ... 9 H ... 0 I ... 10 J ... 0 K ... 1
L ... 2 M ... 0 N ... 3 O ... 1 P ... 4 Q ... 0
R ... 14 S ... 8 T ... 2 U ... 1 V ... 0 W ... 0
X ... 0 Y ... 0 Z ... 0 !@#$ ... 0    

0-9

A

Page: Aggregator Solution User Manual
Introduction This document describes the various screens and pages for the Aggregator solutions on RMS UI. Clickpost Config DhSoS_4HVYlH98hyJmOOE2u4vtGgwuUeeCrA3H0nffdXfff2VfzEXPbuH0-w4XlQGctVRAloOPR1bqd6jWfCkF6kHPyaIOm8aIx382gftrlKx_Wlw3zz1zpaHYjC1JJmR6
Page: Announcements

B

C

Page: Clickpost Onboarding
The following credentials would be required for Clickpost username apikey webhookKey - This is only required if Brands want notifications to be pushed from RMS If the Brand already has a Clickpost account, the account manager would help in getting these c
Page: Compute Tax
Inbound | POST | /tax/compute-tax Summary This API is used to compute and fetch tax details. Description This API will compute and fetch the tax details. Tax details can optionally be stored in RMS against a unique reference no based on the request parame
Page: Create Invoice
Inbound | POST | /invoice/invoice-pdf Summary This API is used to create Invoice PDF. Description This API will be used to create the Invoice PDF for the orders for which tax details were already calculated. So, before making this API call, the compute ta
Page: Create Order
Inbound | POST | /shipping-label/create Summary This API call is used to create an order on the logistic aggregator portal. Description This API will be used to create an order on the logistic aggregator portal. If the order is already created and just Sh
Page: Create Return Order
Inbound | POST | /return/create Summary This API is used to create return order and generate return awb on the logistic aggregator portal. Description This API is used to create return order and generate return awb on the logistic aggregator portal. Reque
Page: Credit Note Generation for B2B orders User Manual
Overview This document presents the implementation of the Credit note generation process for B2B shipments processed from Increff WMS system. The functionality is designed to address cases where E-credit notes need to be generated for materials received b

D

E

Page: Error Handling
Http Status Codes 200: In case of success 400: In case of bad request data 401: In case of authentication / authorization failure 404: In case of url does not exist 500: In case of Internal Server Error Error Response Payload { "hasError": true, "errorMes

F

Page: Forward Notifications
Forward Notifications LY6wb0Mjdktf61MnlyqIsr1coEWHf-W_SqGy_OwadR7ngwr7DDk2kvGfE0s2awR9nJz_gxVzQc472cCwQsHSUoIn-CTsokTcbsUgIMUV61yvmKMM49LNF0TEZ98gT18a-w5_1Jy3FWhAf6FjwlCG2hJYuqwcNxuN6fM9TUobz9nZJP92vDo3rxIoyg For the orders for which shipping label was ge
Page: Forward Order Flow
Invoice and Shipping Label Generation If the client is integrating with WMS Magic 2, for the invoice and shipping label generation there are 2 options: The standard WMS Magic 2 flows are followed, where the invoice and shipping label generation is handled

G

Page: Generate Shipping Label API
Outbound | POST Sample Forward Order Request { "pickupAddress": { "firstName": "Ram", "lastName": "Patel", "middleName": "", "addressLine1": "1205, 15th Main Road", "addressLine2": "HSR layout", "addressLine3": "", "city": "Bangalore", "state": "Karnataka
Page: Generate Shipping Label API (Beta)
Outbound | POST Overview This API is used to generate the Shipping label for the shipment created in logistic aggregator system on invoke trigger received from Increff OMS/WMS system. Summary Increff system will make this API call to logistic aggregator A
Page: Get Courier Recommendation
Outbound | POST | /shipping-label/get-courier-recommendation Summary This API is used to make the get courier recommendation call to Logistic Aggregator and return the recommended couriers. Description This API is used to make the get courier recommendati
Page: Get Courier Recommendation API
Outbound | POST Request { "pickupPincode": "560102", "dropPincode": "110019", "paymentType": "PREPAID", "shipmentType": "FORWARD", "orderAmount": 1200 } Response { "couriers": [ { "courierId": 1001, "courierName": "Delhivery", "priority": 1 }, { "courierI
Page: Get Invoice
Inbound | GET | /invoice/get-invoice-pdf-by-order-code-and-shipment-code Summary This API is used to get the invoice details for the invoice already generated by the create invoice API call. Description This API is used to get the invoice details for the
Page: Get Return AWB Details
Inbound | GET | /return/get Summary This API is used to get the return awb details. Description This API will be used to get the return order awb details. Request Params Parameter Name Data Type Description referenceNo String The reference number against
Page: Get Shipping Label
Inbound | POST | /shipping-label/get Summary This API is used to get the shipping label already generated, along with the AWB and courier. Description This API is used to get the shipping label already generated, along with the AWB and courier. Request Pa
Page: Get Shipping Label Details API
Outbound | GET URL format : {GET_SHIPPING_LABEL_URL}?orderId=11012 The field orderId returned in the generate shipping label API call will be used as request param to get the shipping label details in this call. Response { "orderId": "11012", "orderNumber
Page: Get Tax
Inbound | GET | /tax/get-tax Summary This API is used to fetch already computed tax details. Description This API will fetch the already computed tax details against the reference no for which the tax details were calculated. Note that if the tax details

H

I

Page: Increff RMS FAQs
Page: Increff RMS Product Overview
Increff RMS (Retail Micro Services) is a set of micro services that we have developed which offer a range of invoicing and logistic aggregator solutions. With Invoicing Solution, Increff RMS helps Brands in Computing Tax Details - on base selling price or
Page: Increff RMS Reports
Increff RMS comes with a set of Tax, Invoice and Credit Note reports, with which Brands will be able to see what all tax details were computed, invoices and credit notes were generated. KhXeGZvmJyITSP44sFpNF72DUTMhYOZtgHLfN0jY41Miq3NQCjozsSAGxVeMCM8iycMtB
Page: Integrating Omni Magic & Increff RMS
Introduction This document describes the flows that are integrated between WMSs Magic 2 and RMS and the possible flows between WMS Magic 2, RMS and the client’s systems. Invoice and Shipping Label Generation If the client is integrating with Increff Omni
Page: Integrating With RMS
There are broadly two types of integrations that can be done with Increff RMS solution. The details are as follows: Type Of Integration Workflow Document APIs Increff Omni client integrating with RMS for courier aggregator solution https://increff.atlassi
Page: Integrating with RMS for a Logistics Aggregator
These APIs are for Logistics Aggregators who want to integrate with Increff RMS Outbound API call means RMS to Logistic Aggregator Inbound API call means Logistic Aggregator to RMS APIs Note: The logistic aggregator can have same url for Generate Shipping
Page: Invoice Generated Notification
Outbound | POST | {Client’s URL} The above url will be the same as the Push Notification Url for Shipping Label Notifications. So on the same url, both INVOICE_GENERATED notification and the notifications pushed by logistic aggregators (Clickpost/Shiprock
Page: Invoicing Solution Key Features
Compute Tax Details Compute Tax Details API provided for calculation of tax details sent in the request payload. Configurations required HSN-Tax rule mapping has to be uploaded on RMS UI, if just hsn will be passed in the request payload and not the tax r
Page: Invoicing Solution Overview
Tax Computation Using this feature, brands can compute and get tax details for given line items. There are 2 API calls here: Compute Tax API call - For computation of tax details. The line item details will be passed in the request payload of the API call
Page: Invoicing Solution User Manual
Introduction This document describes the various screens and pages for the invoicing solution on RMS UI. Upload Tax Rule Mappings 8aOOHftFug_bX91Y22RsXOmd374Tlb_gPmpxfZ_Kloh4EvBCRmDEVNMO3Lc4m_ybBYDNIetBDmIaKyfiv9hvLKRoO1MSV4rUPKnbCGc8v_ZUhxHQ-WTP8HjlZyRc

J

K

Page: Key features and functionalities
Invoicing Solution Key Features Compute Tax Details Store Tax Details and Get Tax Details Generate Invoice and Get Invoice Invoice Template Customizations Multiple Invoice Configurations Credit Note Solution E-Invoicing Solution E-waybill Solution Reports

L

Page: Logistic Aggregator Solution
Overview RMS is integrated with Logistic Aggregators like Clickpost, Shiprocket and Shipway for Shipping Label Generation, Return Order creation, Notification updates etc. through API integration. These Logistic Aggregators are integrated with various Cou
Page: Logistic Aggregator Solution Key Features
Multiple Logistic Aggregator Configurations Just like how multiple invoice configurations are possible, multiple logistic aggreagator configurations are also possible. They will be identified with the help of logistic account aliases which are configured

M

N

Page: Need Detailed Information
For evaluation, on-boarding and usage purposes, the following documentation can be provided upon request: Informational Security Policy https://www.increff.com/docs/docs/increff/increff-digital-security/ Customer testimonials Operating Structure On-boardi
Page: Notification Flow
The client can opt for the RMS notifications to be pushed to their system. What happens is the logistic aggregator pushes various tracking updates to RMS related to the shipment that was packed in the forward flow as well as return orders created via RMS
Page: Notification Type list
Notification Type OUT_FOR_PICKUP PICKED_UP OUT_FOR_DELIVERY FAILED_DELIVERY DELIVERED RTO AWB_GENERATED CANCELLED RETURN_ORDER_PLACED RTO_DELIVERED EXCHANGE_PICKUP EXCHANGE_DELIVERED PICKUP_CANCELLED SHIPMENT_STUCK SLA_BREACHED LOST DAMAGED READY_TO_SHIP

O

Page: On-boarding Requirements
Increff RMS as a service is integrated to multiple platforms like Cleartax for E-Invoicing and Clickpost, Shiprocket and Shipway which are Logistic Aggregators. To use these platforms via Increff RMS brands would have to configure the credentials for thes

P

Page: Parked Feature List
Page: Public Feature Roadmap
This plan for upcoming features and enhancements is an evergreen document and will most certainly evolve as we continue to learn from our users. The forward-looking product roadmap does not represent a commitment, guarantee, obligation, or promise to deli
Page: 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",
Page: Push Notifications
Outbound | POST | {Client’s URL} Summary This API will push notifications to the client’s system. Description This API will push notifications to the client’s systems. Notifications can be of the forward order statuses or it can be of return orders. These

Q

R

Page: Return Notifications
Just like how different notifications are sent by RMS for forward orders, in a similar manner notifications for return orders. RTO Notifications For logistic aggregators, RTO is just considered as a forward order status. So, for the flow of RTO Notificati
Page: Return Order Flow
For return AWB generation, there are multiple flows possible. Return Order Creation Flow 1 (Applicable just for Clickpost) Clickpost provides a plugin that can be used by clients on their customer facing websites. ( plugin name and link) So, when a custom
Page: Returns Management Platform Standard Integration
Overview Increff system can be integrated with any Returns management platform with our standard APIs. Increff system is also integrated with Returnsprime Returns management platform which helps brands to efficiently manage their Customer returns being pl
Page: Returns Processing Update API
Overview This API call will be made to the returns management system when the return order processing happens in the warehouse. Http Method: POST Request Body { "returnOrderCode": "H893RUOT123", "forwardOrderCode": "forwardOrder1", "locationCode": "Wid234
Page: RMS 3rd Party Integrations
Increff RMS is integrated with various 3rd party APIs like Cleartax for E-Invoicing, and Clickpost, Shiprocket and Shipway for Logistic Aggregator Integrations. Increff RMS is also integrated with WMS Magic 2 for Invoice and Shipping Label Integration. Th
Page: RMS Aggregators Standard APIs
Page: RMS Clear Tax Onboarding
The following credentials would be required for Cleartax GSTIN Owner Id Auth Token If the Brand already has a Cleartax account, the account manager would help in getting these credentials. If the Brand wants the invoice to be generated from Clear tax, the
Page: RMS Cleartax Integration
Increff RMS is integrated with Cleartax for E-Invoicing and Ewaybill generation. Cleartax APIs Integrated Generate IRN Get IRN Get Invoice PDF Generate EWB Get EWB Generate Invoice API call CW7MIXz3zbnwZmECtFSeAPjjjPUDg9JUPGO1v7e7fzKILCSHEifJpK0pLZv_2xiIU
Page: RMS Clickpost Integration
Page: RMS Currency Conversion UI
Solution Overview Increff RMS now allows users to convert currency exchange rates between different currencies. Users can add various currencies from different countries and continents globally through the user interface (UI) and can also add or update th
Page: RMS Glossary
Overview This glossary provides definitions relating to terms and concepts in the context of the Increff RMS. The value of this glossary is to maximize the understanding of the core business concepts and terminology of the organization. This eliminates mi
Home page: RMS Public Home
Welcome to your new space Use it to create something wonderful. To start, you might want to: Customise this overview using the edit icon at the top right of this page. Create a new page by clicking the + in the space sidebar, then go ahead and fill it wit
Page: RMS Return Flow Scenarios
All the below scenarios are valid only when the processing of the forward order is also through RMS APIs. The courier aggregators currently integrated with RMS support the below flows: Clickpost Shiprocket RTO Returns : When the shipping partner initiates
Page: RMS Shiprocket Integration

S

Page: Sample PDF Documents
Sample Invoice Pdf Invoice Pdf with Shipping charge E- Invoice pdf Credit Note Pdf Delivery Challan Pdf Sample Pack Box pdf
Page: Shipping Aggregator Partner Onboarding
RMS is integrated to a number of shipping aggregator platforms. Each platform has its own onboarding requirements. We have collated the specific onboarding steps for each of these platforms we have integrated with.
Page: Shipping Flow APIs
Page: ShipRocket Onboarding
The following credentials would be required for ShipRocket email password webhookKey - This is only required if Brands want notifications to be pushed from RMS The email and password here are the Shiprocket API user credentials and not the Login credentia
Page: Shipway Onboarding
The following credentials are required for Shipway Email - This email is the same as your Shipway Login email. License Key To get License Key Go to Shipway Home page. On the top right corner, click on the username to open the dropdown Click on Profile Go
Page: Solution Overview
Increff RMS is offers two major solutions Invoicing Solution Logistic Aggregator Solution
Page: Standard APIs
Introduction RMS provides a set of APIs that can help any external system to do the following things: Compute Tax Details Generate Invoice PDFs Generate AWB and Shipping Label through logistic aggregators like Clickpost and Shiprocket Protocols REST Synch
Page: Support & Troubleshooting

T

Page: Tax & Invoice Flow APIs
Page: Technical Considerations
Cloud Deployment The system is available as SaaS (Software As A Service). It is deeply married to cloud and uses various cloud technologies for reliability scalability, security and disaster recovery. It uses a combination of Google Cloud and Amazon Cloud

U

Page: User Manual

V

W

X

Y

Z

!@#$

Forward Order Flow

Get Couriers API call

  • RMS will make this API call to the logistic aggregator APIs to get the list of couriers to use.

  • This priority of the couriers can also be sent in the response based on which the courier will be selected during the generate shipping label call.

Generate Shipping Label API call

  • RMS will make this API call to logistic aggregator APIs to generate the AWB and the shipping label PDF against a reference number.

  • From this list of couriers fetched in the Get Courier Recommendation API, RMS will choose the courier with the highest priority and will pass it in the payload of the generate shipping label call.

  • The logistic aggregator will generate the AWB and shipping label against this courier passed. It will also return a unique id by which the logistic aggregator will identify the order.

Get Shipping Label API call

  • RMS will use this API call to get the AWB and shipping label details. It will use the unique id returned by the logistic aggregator in the generate shipping label call as a request param to get these details.

Notification Flow

  • Logistic Aggregators can push the statuses of the orders (both forward and return) to RMS.

  • These notifications will be stored in RMS and forwarded to any system (proxy/client’s system).

API Interfaces

Get Courier Recommendation API

Outbound | POST

Request

{
   "pickupPincode": "560102",
   "dropPincode": "110019",
   "paymentType": "PREPAID",
   "shipmentType": "FORWARD",
   "orderAmount": 1200
}

Response

{
  "couriers": [
    {
      "courierId": 1001,
      "courierName": "Delhivery",
      "priority": 1
    },
    {
      "courierId": 1002,
      "courierName": "Fedex",
      "priority": 2
    }
  ]
}

Generate Shipping Label API

Outbound | POST

Request

{
  "pickupAddress": {
    "firstName": "Ram",
    "lastName": "Patel",
    "middleName": "",
    "addressLine1": "1205, 15th Main Road",
    "addressLine2": "HSR layout",
    "addressLine3": "",
    "city": "Bangalore",
    "state": "Karnataka",
    "zip": "560102",
    "country": "India",
    "email": "abc@gmail.com",
    "phone": "9999999999"
  },
  "dropAddress": {
    "firstName": "Shyam",
    "lastName": "Sharma",
    "middleName": "",
    "addressLine1": "A-101, Balaji Residency",
    "addressLine2": "Stadium road",
    "addressLine3": "Motera",
    "city": "Ahmedabad",
    "state": "Gujarat",
    "zip": "395007",
    "country": "India",
    "email": "abc@gmail.com",
    "phone": "9999999999"
  },
  "orderDetails": {
    "orderNumber": "asdf1234",
    "paymentType": "PREPAID",
    "orderAmount": 230,
    "orderDate": "2022-03-16T12:31:02+05:30",
    "shipmentType": "FORWARD",
    "orderLineItems": [
      {
        "name": "jeans",
        "sku": "sku-1",
        "sellingPricePerUnit": 100,
        "quantity": 1
      },
      {
        "name": "t-shirt",
        "sku": "sku-2",
        "sellingPricePerUnit": 130,
        "quantity": 1
      }
    ]
  },
  "shipmentDimension": {
    "length": 50,
    "breadth": 50,
    "height": 50,
    "weight": 200
  },
  "courierId": 1,
  "warehouseCode": "wh-1"
}

Parameter Name

Data Type

Description

Mandatory

pickupAddress

Object

Address from where the shipment is picked up (eg. the warehouse address)

yes

pickupAddress.city

String

City of warehouse address

yes

pickupAddress.country

String

Country of warehouse address

yes

pickupAddress.email

String

Email

no

pickupAddress.firstName

String

First Name

yes

pickupAddress.lastName

String

Last Name

no

pickupAddress.middleName

String

Middle Name

no

pickupAddress.phone

String

Phone Number

no

pickupAddress.state

String

State

yes

pickupAddress.addressLine1

String

1st line of warehouse address

yes

pickupAddress.addressLine2

String 

2nd line of warehouse address

no

pickupAddress.addressLine3

String

3rd line of warehouse address

no

pickupAddress.zip

String

Zip/Pin code of warehouse address

yes

dropAddress

Object

Shipping Address of customer

yes

dropAddress.city

String

City of customer

yes

dropAddress.country

String

Country of customer

yes

dropAddress.email

String

Email of customer

no

dropAddress.firstName

String

First Name of customer

yes

dropAddress.lastName

String

Last Name of customer

no

dropAddress.middleName

String

Middle name of customer

no

dropAddress.phone

String

Phone Number of customer

no

dropAddress.state

String

State of customer

yes

dropAddress.addressLine1

String 

1st line of customer address

yes

dropAddress.addressLine2

String

2nd line of customer address

no

dropAddress.addressLine3

String

3rd line of customer address

no

dropAddress.zip

String

Zip/Pin code of customer

yes

orderDetails

Object

Order Details

yes

orderDetails.paymentType

String

PREPAID / COD

yes

orderDetails.orderDate

Date

Order Date

yes

orderDetails.orderNumber

String

The order id for which the shipping label is being generated

Yes

orderDetails.orderAmount

Double

The total order amount

Yes

orderDetails.shipmentType

String

Can be FORWARD or RETURN, based on the order type

yes

orderDetails.orderLineItemList

Object[]

Order Line Items

yes

orderDetails.orderLineItemList.sku

String

SKU of the product

yes

orderDetails.orderLineItemList.sellingPricePerUnit

Double

Selling price of the product

yes

orderDetails.orderLineItemList.name

String

Name of the product

yes

orderDetails.orderLineItemList.quantity

Integer

Quantity of the product

yes

shipmentDimension

Object

Package Dimensions

yes

shipmentDimension.breadth

Integer

Breadth of package in cm

yes

shipmentDimension.height

Integer

Height of package in cm

yes

shipmentDimension.length

Integer

Length of package in cm

yes

shipmentDimension.weight

Integer

Weight of package in grams

yes

warehouseCode

String

Warehouse Code

no

courierId

Integer

Courier Id for which the shipping label is being generated

yes

Response

{
  "orderId": "11012",
  "orderNumber": "asdf1234",
  "awb": "71902671",
  "carrierName": "Delhivery",
  "shippingLabelUrl": "https://shipping-label-pdf.com/asdf1234"
}

Parameter Name

Data Type

Description

Mandatory

orderId

String

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

yes

orderNumber

String

This is the order number passed in the request body. This is the order number with which RMS uniquely identifies each order

yes

awb

String

The tracking number assigned for the order

yes

carrierName

String

The carrier of this order

yes

shippingLabelUrl

String

The shipping label pdf url

yes

Get Shipping Label API

The field “orderId” returned in the generate shipping label API call will be used as request param to get the shipping label details in this call.

The url will be something like this: {GET_SHIPPING_LABEL_URL}?orderId=11012

Outbound | GET

Response

Same as Generate Shipping Label API call

Generate Return AWB API

Outbound | POST 

Request

  • This is almost the same as the generate shipping label request body.

  • One additional field is there - returnReason. This is a mandatory field.

  • The orderNumber passed would be a unique string that is used to uniquely identify each return order.

  • The shipment type passed would be ‘RETURN’ in this case.

{

  “pickupAddress”:{

    “firstName”:”Ram”,

    “lastName”:”Patel”,

    “middleName”:””,

    “addressLine1”:”1205, 15th Main Road”,

    “addressLine2”:“HSR layout”,

    “addressLine3”:””,

    “city”:”Bangalore”,

    “state”:”Karnataka”,

    “zip”:”560102”,

    “country”:”India”,

    “email”:”abc@gmail.com”,

    “phone”:”9999999999”

  },

  “dropAddress”:{

    “firstName”:”Shyam”,

    “lastName”:”Sharma”,

    “middleName”:””,

    “addressLine1”:”A-101, Balaji Residency”,

    “addressLine2”:“Stadium road”,

    “addressLine3”:”Motera”,

    “city”:”Ahmedabad”,

    “state”:”Gujarat”,

    “zip”:”395007”,

    “country”:”India”,

    “email”:”abc@gmail.com”,

    “phone”:”9999999999”

  },

  “orderDetails”:{

    “orderNumber”:”asdf1234”, //returnOrderNumber

    “paymentType”:”PREPAID”,

    “orderAmount”:230.00,  

    “orderDate”:”2022-03-16T12:31:02+05:30”, //returnOrderDate

    “shipmentType”:”RETURN”,

    “orderLineItems”:[

      {

        “name”:”jeans”,

        “sku”: “sku-1”,

        “sellingPricePerUnit”:100.00,

        “quantity”:1

      },

      {

        “name”:”t-shirt”,

        “sku”:”sku-2”,

        “sellingPricePerUnit”:130.00,

        “quantity”:1

      }

    ]

  },

  “shipmentDimension”:{

    “length”:50.00,

    “breadth”:50.00,

    “height”:50.00,

    “weight”:200.00

  }

  “courierId”:1

  “warehouseCode”:”wh-1”,

  “returnReason”:”Wrong product”

}

Response

{

  “orderId”:”11012”,

  “orderNumber”:”asdf1234”,

  “returnAwb”:”71902671”,

  “carrierName”:”Delhivery”

}

Parameter Name

Data Type

Description

Mandatory

orderId

String

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

yes

orderNumber

String

This is the return order number passed in the request body. This is the order number with which RMS uniquely identifies each return order

yes

returnAwb

String

The tracking number assigned for the return order

yes

carrierName

String

The carrier of this return order

yes

Get Return AWB API

Outbound | GET

Response

Same as generate return awb api response

Push Notification API

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

Request

{

  “forwardOrderCode”:”asdf1234”,

  “forwardAwb”:”12541231”,

  “notificationType”:”IN_TRANSIT”,

  “shipmentType”:”FORWARD”,

  “logisticAggregatorName”:”NARVAR”,

  “warehouseCode”:”wh-1”,

  “returnOrderInfo”:null,

  “items”:[

    “sku”:”sku-1”,

    “quantity”:1

  ]

}

Return Notification

{

  “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

Notification Type list

Notification Type

OUT_FOR_PICKUP

PICKED_UP

OUT_FOR_DELIVERY

FAILED_DELIVERY

DELIVERED

RTO

AWB_GENERATED

CANCELLED

RETURN_ORDER_PLACED

RTO_DELIVERED

EXCHANGE_PICKUP

EXCHANGE_DELIVERED

PICKUP_CANCELLED

SHIPMENT_STUCK

SLA_BREACHED

LOST

DAMAGED

READY_TO_SHIP

PICKUP_SCHEDULED

SHIPPED

UNFULFILLABLE

PICKUP_QUEUE

PICKUP_RESCHEDULED

PICKUP_ERROR

CANCELLATION_REQUESTED

TRANSIT

UNDELIVERED

DELAYED

PARTIAL_DELIVERED

FULFILLED

ARCHIVED

REACHED_DESTINATION_HUB

MISROUTED

RTO_ACKNOWLEDGED

  • No labels