Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Outbound | POST  | /shipment/pos-asn

Summary

This API will call the channel with ASN details.

Description

This API will call the channel with ASN information.

Request

Code Block
languagejson
{
  "channelOrderCode": "ORD123",
  "locationCode": "LOC456",
  "messageId": 123456,
  "asnCode": "ASN789",
  "generatedAsnId": "ASN789XYZ",
  "invoiceNo": "INV123",
  "expectedShipmentArrivalTime": "2023-06-29T15:30:00.000Z",
  "acceptedShipmentArrivalTime": "2023-06-29T15:30:00.000Z",
  "asnItems": [
    {
      "channelSkuCode": "SKU001",
      "proposedQty": 10,
      "approvedQty": 8,
      "poFulfilledQty": 5
    }
  ]
}

...

Parameter Name

Data Type

Description

Mandatory

channelOrderCode

String

Unique code used by the channel to identify the order

no

locationCode

String

Code used by channels to identify a warehouse

no

invoiceId

String

Unique Id with which the shipment arrives in the warehouse.

No

messageId

Long

Unique Identifier of a message ( for de-duplication )

no

asnCode

String

Unique code to identify the corresponding advanced shipment notice(ASN)

No

generatedAsnId

String

Id of the ASN generated

No

expectedShipmentArrivalTime

String

Time by when the shipment is expected to arrive at warehouse

No

acceptedShipmentArrivalTime

String

Time when the shipment arrives at warehouse

no

asnItems

Object[]

List of items in ASN

no

asnItems.channelSkuCode

String

Code to uniquely identify an SKU

No

asnItems.proposedQty

Integer

Qty of an SKU proposed.

no

asnItems.approvedQty

Integer

Quantity of an SKU approved for ASN

no

asnItems.poFulfilledQty

Integer

Quantity of an SKU fulfilled in ASN

no

 

Response

Code Block
{
    "hasError":false,
    "errorMessage":"message"
}

...