Skip to end of banner
Go to start of banner

Push Return Order Events to EFS (Beta)

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 Version History

« Previous Version 3 Next »

Outbound | POST | {Client’s URL}

Summary

This API is used to pass on the return order expectation coming from Marketplaces to External Fulfilment Systems.

Description

  • This API will push the return order expectations coming from Marketplace APIs to External Fulfillment system.

  • Possible Event values:

    • RETURN_ORDER_CREATE: When a return order is created, this event will be hit.

    • RETURN_ORDER_UPDATE: Whenever an update in the return order like AWB and Transprter takes place, this event will be triggered.

    • RETURN_ORDER_CANCEL: This event will be triggered when the return order is fully cancelled.

    • RETURN_ORDER_PARTIAL_CANCEL: This event will be triggered when the return order is partially cancelled.

    • RETURN_ORDER_COMPLETE: This event will be triggered when the return order processing is completed.

  • This API will be triggered at a certain frequency by Increff OMS.

Request

{
  "forwardOrderCode": "1651836",
  "returnOrderCode": "000213401",
  "locationCode": "3082",
  "channelName": "CROCSIN",
  "eventType": "RETURN_ORDER_CANCEL",
  "returnOrderTime": "2024-06-06T15:14:02.000+00:00",
  "orderItems": [
    {
      "returnItemCode": "218333",
      "reason": "SIZE MISMATCH",
      "channelSkuCode": "205182-0DD-M10W12",
      "status": "CANCELLED",
      "isBundled": null
    },
    {
      "returnItemCode": "218333",
      "reason": "COLOUR MISMATCH",
      "channelSkuCode": "205182-0DD-M10W12",
      "status": "CANCELLED",
      "isBundled": null
    }
  ],
  "channelReturnOrderStatus": "OUT_FOR_PICKUP",
  "expectedDate": 1724311208.000000000,
  "isUploaded": "false",
  "orderType": "CUSTOMER_RETURN",
  "awbNumber": "81732657871",
  "transporter": "Blue Dart Reverse QC",
  "status": "CANCELLED",
  "virtualSkuDefinitions": null,
  "bundledSkuDefinitions": null
}

 

Parameter Name

Data Type

Description

Mandatory

forwardOrderCode

String

Forward order code for which return order is being created.

Yes

eventType

String

Possible values :

  • RETURN_ORDER_CREATE: When a return order is created, this event will be hit.

  • RETURN_ORDER_UPDATE: Whenever an update in the return order like AWB and Transprter takes place, this event will be triggered.

  • RETURN_ORDER_CANCEL: This event will be triggered when the return order is fully cancelled.

  • RETURN_ORDER_PARTIAL_CANCEL: This event will be triggered when the return order is partially cancelled.

  • RETURN_ORDER_COMPLETE: This event will be triggered when the return order processing is completed.

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

channelName

String

Channel name of the marketplace.

Yes

returnOrderTime

String

Time at which return order got placed by customer

No

status

String

Status of the return

  • CREATED

  • CANCELLED

  • COMPLETED

No

orderItems

Object[]

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

Yes

orderItems.returnItemCode

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

orderItems.status

String

Status of the return order:

  • CREATED

  • CANCELLED

  • COMPLETED

No

orderItems.isBundled

String

Defines if the item is a bundled SKU or not

No

channelReturnOrderStatus

String

updates we get from logistic aggregator

No

expectedDate

ZonedDateTime

Date in case client is using Plug in like Returns Prime

No

isUploaded

Boolean

whether the return is uploaded in omni or created though api.

Yes

orderType

String

Type of return.

Possible values →

  • SELF_SHIP

  • CUSTOMER_RETURN

  • RETURN_TO_ORIGIN

Yes

awbNumber

String

Courier tracking number.

Yes

transporter

String

Courier partner name.

Yes

Response

Empty Body

HttpStatus : 200

  • No labels