Skip to end of banner
Go to start of banner

ASN Posting API (New API)(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 Page History

Version 1 Next »

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

{
  "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

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

HttpStatus : 200

  • No labels