Inventory Change Push
POST
/webhook-urlModified at: a month ago
Push Inventory change
Request
Header Params
Content-Type
string
optional
Example:
application/json
Authorization
string
optional
Example:
{{WEBHOOK_TOKEN}}
Body Params application/json
country
string
required
seller_id
integer
required
event_type
string
required
data
object
required
pickup_id
integer
required
bsin
string
required
seller_sku
string
required
condition_level
string
required
A, D1, D2, D3
incoming_quantity
integer
required
Inbound(ASN) quantity being to receive
adjust
integer
required
Quantity change (+/-). It may be a negative number. In case the value equals 0, it means the inventory does not change but the available stock quantity may change.
stock_quantity
integer
required
reserved_quantity
integer
required
awaiting_quantity
integer
required
available_quantity
integer
required
The available quantity can be influenced by stock, incomming, and awaiting...
refer_code
string
required
refer_type
string
required
Examples:
abnormalinboundoutboundreturn
note
string
required
update_time
integer
required
request_id
string
required
timestamp
integer
required
Example
{
"country": "VN",
"seller_id": 331529,
"event_type": "product.stock.change",
"data": {
"pickup_id": 409223,
"bsin": "BSN33152982996791",
"seller_sku": "TEST-0005",
"condition_level": "A",
"stock_quantity": 20,
"adjust": 1,
"awaiting_quantity": 2,
"reserved_quantity": 10,
"available_quantity": 8,
"incoming_quantity": 100,
"refer_type": "inbound",
"refer_code": "SM-VN-331529-54200124",
"note": "Putaway-SM-VN-331529-54200124",
"update_time": 1696301501
},
"request_id": "657405ca5e492f3c6f4dd838",
"timestamp": 1702102474
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: a month ago