Update ASN Inward API

Inbound | PUT | /shipment/asn/{asnCode}

Summary

This API can be used to update an ASN created for a particular order.

Description

This API can be used to update an ASN created for a particular order. Quantities of all the line items passed in the request will be updated to the new value. Therefore, the value being passed in the request has to be absolute.

Request

{ "locationCode": "location1", "channelOrderCode" : "order1", "items": [ { "channelSkuCode": "sku1", "proposedQty": 1, "mrp": null } ] }

 

Parameter Name

Data Type

Description

Mandatory

locationCode

String

Code to identify the warehouse where the order is created

yes

channelOrderCode

String

Code to identify the order in consideration

yes

items

List<UpdateAsnItemClientForm>

List of the line items to be updated

yes(min size = 1)

items.channelSkuId

String

Code to identify the product

yes

items.proposedQty

Integer

Revised quantity of the line item

yes(min value = 1)

items.mrp

Double

MRP of a line item

no

Response

Empty Body

HttpStatus : 200