Product Detail
Function Description
This is the API for increasing/decreasing inventory by item.
Detailed Description
Returns an error if the deducted item quantity exceeds the inventory quantity (negative inventory).
If the increased item quantity exceeds the safety stock quantity, changes the item sales status code to On Sale.
Notes
Processes only items with inventory management status Y.
Code Reference
Inventory Increase/Decrease Code: plus, minus
Authorizations
Header parameters
AuthorizationanyOptional
Access Token
BodyStockUpdateRequest[]
StockUpdateRequest[]Optional
Responses
200
Item Inventory Increase/Decrease Success
*/*
anyOptional
900
Item Inventory Increase/Decrease Failure
*/*
put/v1/order/stockUpdate
PUT /api/goods/v1/order/stockUpdate HTTP/1.1
Host: api-goods.x2bee.com/
Content-Type: application/json
Accept: */*
Content-Length: 2
[]No content
Last updated