POST https://api.zoined.com/inventorySnapshots?dryRun=false&separator=%3B&encoding=utf-8
Security
bearerAuth
Any of:
Time of snapshot (HH:mm:ss). Needed if inter-day inventory saldos are tracked.
Example:"15:00:00"
Currency for the purchase price as ISO 4217 currency code. Required if multiple currencies are used.
Example:"EUR"
- Mock serverhttps://zapi-api.zoined.com/_mock/inventorySnapshots
- https://api.zoined.comhttps://api.zoined.com/inventorySnapshots
curl -i -X POST \
'https://zapi-api.zoined.com/_mock/inventorySnapshots?dryRun=false&separator=%3B&encoding=utf-8' \
-H 'Authorization: Bearer <YOUR_token_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"organisation_id": "540",
"snapshot_date": "2016-01-01",
"snapshot_time": "15:00:00",
"product_id": "My product ID",
"supplier_id": "221",
"quantity": 100,
"available_quantity": 90,
"reorder_point": 5,
"max_reorder_quantity": 10,
"unit_purchase_price": 12.4,
"unit_purchase_price_wo_vat": 10,
"unit_sales_price": 22.4,
"unit_sales_price_wo_vat": 20,
"currency": "EUR",
"source_system": "ABCDEF"
}'Response
{ "status": "OK", "msg": "1 entity added" }