Skip to end of banner
Go to start of banner

Create Return Order

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 Next »

Inbound | POST  | /return/return-orders

Summary

This API is used to create B2C return orders in Assure.

Description

This API is used to create B2C return orders in Assure. One order item represents only one quantity of an SKU. If there are multiple quantities of the same SKU then multiple order items should be created.

Request

{
  "forwardOrderCode": "108",
  "returnOrderCode": "100078",
  "locationCode": "Wid234",
  "returnOrderTime": "2020-10-16T20:22:28.000+05:30",
  "orderItems": [
    {
      "itemCode": "I10098",
      "reason": "Different Size",
      "channelSkuCode": "10007345"
    }
  ],
  "orderType": "CUSTOMER_RETURN",
  "awbNumber": "HYN402",
  "transporter": "transporter"
}

Parameter Name

Data Type

Description

Mandatory

forwardOrderCode

String

Forward order code for which return order is being created.

yes

returnOrderCode

String

Unique identifier provided by the channel for the return order being created.

yes

locationCode

String

Location code of the warehouse where the return order will be received.

yes

returnOrderTime

String

Time at which return order got placed by customer

no

orderItems

Object[]

Array of order items, order items represent each line of return order.

yes

orderItems.itemCode

String

Unique identifier provided by the channel for the return order item.

yes

orderItems.reason

String

Reason for return as given by the customer.

yes

orderItems.channelSkuCode

String

SKU code for return order item.

yes

orderType

String

Type of return. Possible values - SELF_SHIP,CUSTOMER_RETURN,RETURN_TO_ORIGIN

yes

awbNumber

String

Courier tracking number.

no

transporter

String

Courier partner name.

no

Response

Empty Body

HttpStatus : 200

  • No labels