Reserved Stock
PUT
/api/v2.1/sellers/products/update_reserve/Modified at: 6 months ago
Update reserved stock quantity by warehouse. Limit 20 SKU
Request
Header Params
Content-Type
string
optional
Example:
application/json
Authorization
string
optional
Example:
Token {{API_TOKEN}}
Body Params application/json
product_list
array [object {3}]
required
seller_sku
string
required
reserved_quantity
integer
required
type
string
required
set: Update new quantity, adjust: Increase or decrease quantity
Default:
set
Examples:
setadjust
pickup_id
integer
required
Pickup ID
Example
{
"product_list": [
{
"seller_sku": "SKU1",
"reserved_quantity": 100,
"type": "set"
},
{
"seller_sku": "SKU2",
"reserved_quantity": 1,
"type": "adjust"
}
]
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
object
required
success_sku_list
array[string]
required
failed_sku_list
array[string]
required
error
boolean
required
error_code
string
required
messages
string
required
request_id
string
required
Example
{
"data": {
"success_sku_list": [
"string"
],
"failed_sku_list": [
"string"
]
},
"error": true,
"error_code": "string",
"messages": "string",
"request_id": "string"
}
Last modified: 6 months ago