URL: {{base_url}}/modules/inventory/restock

Method: POST

Bearer Token: Replace this with an actual token in the request

Headers

Subscription: Replace this with the subscription value

Access_Token: Replace this with the actual access token value

Request Body

KeyValuesRequired
codeEnter ProductYes
quantityQuantity being restocked as an integer or floatYes
priceSelling price of the inventoryYes
costCost of sales when acquiring the inventoryYes
supplierEnter supplier ID (Optional)No

Response Codes

CodeDescription
201Successful
500Internal Server Error
401Unauthorized: Check error message