Outbound | POST | /asn

Summary

This API will create an ASN for the external system.

Description

After the box packing, the Increff Label Software system triggers a call to the external system giving the information about the shipment (ASN) information getting dispatched from the supplier location.

Request

{
  "asnCode": "ASN809767",
  "boxDetails": [
    {
      "boxId": 101010123,
      "skuItemCodeMap": {
        "SKU234": [
          "XURZ10098",
          "XAFR1000099",
          "HRET1000100"
        ],
        "SKU135": [
          "KMI1000040",
          "L100YU0030",
          "1000ML2Z00"
        ]
      }
    }
  ],
  "items": [
    {
      "skuCode": "SKU234",
      "mrp": 100,
      "quantity": 3
    },
    {
      "skuCode": "SKU135",
      "mrp": 120,
      "quantity": 3
    }
  ],
  "locationCode": 11000048,
  "orderCode": "PO89765"
}
Parameter Name Data Type Description Mandatory
asnCode String Represents the ASN code entered by the user during Yes
boxDetails.boxId String Represents the unique code for every item. Ex - IMEI number , Ginesys Item code ,etc yes
boxDetails.skuItemCodeMap Map<String,String> This map contains SKU code and the Increff Serial Code Yes
items.skuCode String Represents the SKU ID of the product Yes
items.mrp Double MRP of the product Yes
items.quantity Integer Total quantity of the SKU which is there in the box Yes
locationCode Integer External location code of the destination mapped in PO No
orderCode String Order Code using which client has uploaded the order.
This will not be there if ASN is made without PO No

Request Headers

Header Name Description Mandatory
authDomainname Organisation ID for the client created in Increff Label Software Yes
authUsername Username for integration user created in Increff Label Software Yes
authPassword Password for integration user created in Increff Label Software Yes

Response

HttpStatus 200