- CategoryAPI
- ProductAPI
- Prices&StocksAPI
- Promos
- PricingStrategyAPI
- WarehouseAPI
- PolygonAPI
- FBS&rFBSMarks
- FBS
- ReturnsAPI
- CancellationAPI
- ChatAPI
- ReportAPI
- AnalyticsAPI
- FinanceAPI
搜集订单 (第4方案)
POST
/v4/posting/fbs/ship
FBS&rFBSMarks
awaiting_deliver
。packages
中的每个元素都可以包含多个products
和货物。products
中的每个元素是包含在这批货物中的商品。请求参数
Header 参数
Client-Id
string
用户识别号。
示例值:
{{Client-Id}}
Api-Key
string
API-密钥。
示例值:
{{Api-Key}}
Body 参数application/json
packages
array [object]
可选
posting_number
string
发货号。
with
object (object)
附加信息。
additional_data
boolean
可选
true
。示例
{
"packages": [
{
"products": [
{
"product_id": 185479045,
"quantity": 1
}
]
}
],
"posting_number": "89491381-0072-1",
"with": {
"additional_data": true
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-seller.ozon.ru/v4/posting/fbs/ship' \
--header 'Client-Id: ' \
--header 'Api-Key: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"packages": [
{
"products": [
{
"product_id": 185479045,
"quantity": 1
}
]
}
],
"posting_number": "89491381-0072-1",
"with": {
"additional_data": true
}
}'
返回响应
🟢200订单已收集
application/json
Body
additional_data
array [object]
可选
result
array[string]
货运装配结果。
示例
{
"additional_data": [
{
"posting_number": "47873153-0052-1",
"products": [
{
"currency_code": "RUB",
"mandatory_mark": [
"123"
],
"name": "string",
"offer_id": "17125",
"price": "2000",
"quantity": 1,
"sku": 149618972
}
]
}
],
"result": [
"89491381-0072-1"
]
}
🔴500错误
修改于 2023-11-03 06:04:11