Stock
Adjust stock quantity
Adjust stock quantity for the specified business id and branch id. Currently only stock increase and deduction are supported
post/api/business/{businessId}/branch/{branchId}/stock/adjustment
Request
- Base URLhttp://api-gateway-eu.phorest.com/third-party-api-server
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
businessIdstring required
branchIdstring required
Request body
Example request
{
"stocks": [
{
"barcode": "ab123",
"quantity": 2,
"operationType": "DEDUCT"
}
]
}Response
Stock quantity adjusted successfully
Changes
No recorded changes to this operation across all 2 revisions of this API.