Backend API
Fields
Unique identifier for the stock adjustment.
Date and time the stock adjustment was created.
Date and time the stock adjustment was last updated.
A brief description of the stock entry.
New stock level after the adjustment is applied.
Location associated to the stock entry, if applicable.
Second location used in a transfer operation.
ID of the referenced transfer operation that removed stock.
Identifier used to restore all archived stock entries as a group.
Auto-incremented stock adjustment number.
Expandable link to an order, if applicable to the stock adjustment.
ID of an order when the stock adjustment was either reduced by the sale of a product, or increased by cancelling an order. Adjustments from orders are created automatically when stock tracking is enabled.
Expandable link to the parent product.
ID of the parent product.
Link to the previous stock adjustment.
ID of the previous stock adjustment.
Quantity of the adjustment. A positive number means stock was increased, and a negative number means stock was decreased.
Enumerated reason for the stock adjustment. Can be received, returned, canceled, sold, missing, damaged, transfer_remove, or transfer_add.
Possible enum values:
A brief description of the reason for the stock adjustment.
Expandable link to the parent variant, if applicable.
ID of the parent variant, if applicable.
The stock model
{
"id": "60f199509111e7000000005f",
"parent_id": "60f199509111e70000000062",
"date_created": "2021-07-16T14:36:00.321Z",
"date_updated": "2021-07-16T14:36:00.321Z",
"level": 20,
"number": 1029376,
"reason": "received",
"reason_message": "Restock - PO #47362",
"variant_id": "60f199509111e70000000061"
}