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

NameTypeDescription

Authentication

string

The Bearer token which allows to grant access to the API

Request Body

NameTypeDescription

consignment_type

string

consignment_type equals to INWARD

refFromPartyID

string

This is the party id from where your items will be sent.

warehouseID

string

This is the warehouse id where your items will reach.

itemsFileUrl

string

Items URL

{
 "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