Create ASN API

Inbound | POST | /shipment/asn

Summary

This api can be used to create Advanced shipment notification for an inward order.

Description

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

Request

{ "asnCode": "asn1", "orderCode": "order1", "locationCode": "location1", "invoiceNo": "invoice1", "expectedShipmentArrivalTime": "2023-10-16T20:22:28.000+05:30", "items": [ { "channelSkuCode": "sku1", "proposedQty": 1, "mrp": null } ] }

 

CreateAsnClientForm

Parameter Name

Data Type

Description

Mandatory

asnCode

String

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

yes

orderCode

String

The orderCode of the inward order for which ASN has to be created

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

Empty Body

HttpStatus: 200