Create an Inward Consignment

Create inward consignment

POST https://{{workspace}}.myeshopbox.com/api/v1/consignment

This endpoint allows you to create an inward consignment.

Headers

Request Body

{
 "id": "7633",
 "accountId": "28",
 "consignmentNumber": "CON/45/873",
 "consignmentType": "INWARD",
 "fromPartyID": "8",
 "toPartyID": "72",
 "itemsFileUrl": "https://storage.cloud.google.com/fileItems.appspot.com/items.pdf",
 "status": "CREATING",
 "totalBoxes": 0,
 "processedBoxes": 0,
 "pendingBoxes": 0
}
curl -X POST https://{{workspace}}.myeshopbox.com/api/v1/consignment\
     -H "Authorization: Bearer XXXX" \
     -H "Content-Type: application/json" \
     -d $'{
      "data": {
        "warehouseID": "7",
        "refFromPartyID": "10",
        "itemsFileUrl":"https://xyz.csv",
        "consignment_type":"INWARD"
      }
    }'

Last updated