- Overview
- Getting Started
- Authentication
- Q&A
- Common Errors
- API Call Flow
- Instant Order Flow
- Boxme's RTO and RPO
- Changelog
- API References
- Location
- Pickup
- Product
- Shipment (ASN)
- Customer
- Orders
- Order API Overview
- Get Shipping Option (Fulfillment)
- Get Shipping Option (Dropship)
- Create B2C Order
- Create Delivery Order
- Create B2B Order
- Update Document
- Request Cancel Delivery Order
- Cancel Order
- Get Order Detail
- Get Order List
- Get Courier List
- Get Courier Service
- Get Packed Items
- Order Pack
- Get B2B Pickup TimeSlot
- Returns
- Finance (Dev)
- Location
- Webhooks
Reserved Stock
PUT
https://s.boxme.asia/api/v2.1/sellers/products/update_reserve/
Last modified:2024-04-16 10:30:35
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
Default:
set
Examples:
setadjust
pickup_id
integer
required
Example
{
"product_list": [
{
"seller_sku": "SKU1",
"reserved_quantity": 100,
"type": "set"
},
{
"seller_sku": "SKU2",
"reserved_quantity": 1,
"type": "adjust"
}
]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://s.boxme.asia/api/v2.1/sellers/products/update_reserve/' \
--header 'Authorization: Token {{API_TOKEN}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"product_list": [
{
"seller_sku":"SKU1",
"reserved_quantity": 100,
"type":"set"
},
{
"seller_sku":"SKU2",
"reserved_quantity": 1,
"type":"adjust"
}
]
}'
Responses
🟢200Success
application/json
Body
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"
}
Modified at 2024-04-16 10:30:35