Versions Compared

Key

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

Inbound | POST | /shipment/asn

Summary

This api can be used to create ASN for an inward order.

Description

This api can be used to create ASN for an inward order. Read more about ASN here

Request

Code Block
{
  "asnCode": "asn1",
  "orderCode": "order1",
  "locationCode": "location1",
  "invoiceNo": "invoice1",
  "expectedShipmentArrivalTime": "2023-06-29T06:30:11.305524Z[UTC]",
  "items": [
    {
      "channelSkuCode": "sku1",
      "proposedQty": 1,
      "mrp": null
    }
  ]
}

 

CreateAsnClientForm

Parameter Name

Data Type

Description

Mandatory

asnCode

String

Code to identify the ASN(advanced shipment notice) created.

yes

orderCode

String

Code to identify the order in consideration.

yes

locationCode

String

Code to identify the warehouse where the order is created.

yes

invoiceNo

String

InvoiceNo for the order in consideration.

yes

expectedShipmentArrivalTime

String

Expected time of arrival of shipment.

yes

items

List<CreateAsnItemClientForm>

List of line items in the order in consideration.

Yes(min size = 1)

items.channelSkuCode

String

Code to uniquely identify a product.

Yes

items.proposedQty

Integer

Proposed quantity of an item.

Yes

items.mrp

Double

MRP of an item.

No

 

Response

Code Block
Empty Body

HttpStatus: 200