Stock Adjustment Documents/Lines
Stock Adjustment Document Line Items API.
List Lines
List of adjustment lines for a given adjustment document.
path Parameters
document_idquery Parameters
limitNumber of results to return per page.
oOrdering
id- Id-id- Id (descending)
offsetThe initial index from which to return the results.
orderingWhich field to use when ordering the results.
productquantity__isnullList Lines › Responses
countnextpreviousCreate Line
Create a new adjustment line item.
path Parameters
document_idCreate Line › Request Body
idcreatedproduct_idProduct object.
quantityIf the adjustment type of the document is "ADD" or "SUB" then the quantity should not be 0. A negative quantity is allowed for "ADD", where it decreases the stock. For "SUB" the quantity is subtracted from the stock, so it must be positive. A validation error is raised otherwise.
adjustment_typeCan be either one of: SET, ADD, SUB
SET- SETADD- ADDSUB- SUB
warehouse_idreasondocument_idis_completecost^-?\d{0,10}(?:\.\d{0…Create Line › Responses
idcreatedproduct_idProduct object.
quantityIf the adjustment type of the document is "ADD" or "SUB" then the quantity should not be 0. A negative quantity is allowed for "ADD", where it decreases the stock. For "SUB" the quantity is subtracted from the stock, so it must be positive. A validation error is raised otherwise.
adjustment_typeCan be either one of: SET, ADD, SUB
SET- SETADD- ADDSUB- SUB
warehouse_idreasondocument_idis_completecost^-?\d{0,10}(?:\.\d{0…Update Line
Update the quantity of a product in the adjustment line item.
path Parameters
document_ididUpdate Line › Request Body
idcreatedproduct_idProduct object.
quantityIf the adjustment type of the document is "ADD" or "SUB" then the quantity should not be 0. A negative quantity is allowed for "ADD", where it decreases the stock. For "SUB" the quantity is subtracted from the stock, so it must be positive. A validation error is raised otherwise.
adjustment_typeCan be either one of: SET, ADD, SUB
SET- SETADD- ADDSUB- SUB
warehouse_idreasondocument_idis_completecost^-?\d{0,10}(?:\.\d{0…Update Line › Responses
idcreatedproduct_idProduct object.
quantityIf the adjustment type of the document is "ADD" or "SUB" then the quantity should not be 0. A negative quantity is allowed for "ADD", where it decreases the stock. For "SUB" the quantity is subtracted from the stock, so it must be positive. A validation error is raised otherwise.
adjustment_typeCan be either one of: SET, ADD, SUB
SET- SETADD- ADDSUB- SUB
warehouse_idreasondocument_idis_completecost^-?\d{0,10}(?:\.\d{0…