Links

Create an Inward Consignment Via JSON Request

post
https://{{workspace}}.myeshopbox.com/api
/v1/createConsignmentApi
Create inward consignment
cURL
curl --location -g --request POST 'https://{{workspace}}.myeshopbox.com/api/v1/createConsignmentApi' \
--header 'ProxyHost: <<accountSlug>>' \
--header 'Authorization: Bearer XXXX' \
--header 'Content-Type: application/json' \
--data-raw '{
"documentNumber": "abc123",
"documentDate": "2022-12-18 00:00:00",
"fromLocationCode": "XXLG",
"toLocationCode": "ERAY",
"productDetails": [
{
"productId": "testing5",
"quantity": 3,
"manufacturing_date": "",
"expiry_date": "",
"batch_code": ""
},
{
"productId": "testing1",
"quantity": 9,
"manufacturing_date": "02-Jun-22",
"expiry_date": "",
"batch_code": ""
},
{
"productId": "testing",
"quantity": 9,
"manufacturing_date": "",
"expiry_date": "02-Jun-23",
"batch_code": ""
},
{
"productId": "testing2",
"quantity": 9,
"manufacturing_date": "",
"expiry_date": "",
"batch_code": "batch11"
}
]
}'