InventoryAdjustments
Create a new inventory adjustment
Records a stock adjustment — a positive or negative change to the quantity of a product at a location. The adjustment is timestamped and attributed to the calling user for audit.
post/inventory/adjustments
Request body
Example request
{
"product_id": "5f8a1b2c-9d3e-4a5b-8c6d-7e8f9a0b1c2d",
"quantity": -3,
"reason_code": "waste",
"reason_description": "Damaged in transit — three units written off.",
"location_id": 12,
"site_id": "5dcb47800000000000000010"
}Response
A single inventory adjustment.
Example response
{
"data": {
"id": "10000000-0000-0000-0000-000000000000",
"organisation_id": "20000000-0000-0000-0000-000000000000",
"site_id": "30000000-0000-0000-0000-000000000000",
"product_id": "30000000-0000-0000-0000-000000000000",
"created_at": "2019-01-15T12:00:00.000Z"
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.