- CategoryAPI
- ProductAPI
- Prices&StocksAPI
- Promos
- PricingStrategyAPI
- WarehouseAPI
- PolygonAPI
- FBS&rFBSMarks
- FBS
- ReturnsAPI
- CancellationAPI
- ChatAPI
- ReportAPI
- AnalyticsAPI
- FinanceAPI
货运取消原因
POST
/v1/posting/fbs/cancel-reason
FBS
请求参数
Header 参数
Client-Id
string
用户识别号。
示例值:
{{Client-Id}}
Api-Key
string
API-密钥。
示例值:
{{Api-Key}}
Body 参数application/json
related_posting_numbers
array[string]
货件号。
示例
{
"related_posting_numbers": [
"73837363-0010-3"
]
}
示例代码
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/v1/posting/fbs/cancel-reason' \
--header 'Client-Id: ' \
--header 'Api-Key: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"related_posting_numbers": [
"73837363-0010-3"
]
}'
返回响应
🟢200货运取消原因
application/json
Body
result
array[object (object) {2}]
请求结果。
posting_number
string
货运号。
reasons
array[object (object) {3}]
取消订单原因。
示例
{
"result": [
{
"posting_number": "73837363-0010-3",
"reasons": [
{
"id": 352,
"title": "在卖家仓库中已无商品",
"type_id": "seller"
},
{
"id": 400,
"title": "只剩下有缺陷的商品",
"type_id": "seller"
},
{
"id": 402,
"title": "其他(卖家的其他过错)",
"type_id": "seller"
}
]
}
]
}
🟠400参数错误
🟠403访问拒绝
🟠404无响应
🟠409请求冲突
🔴500服务器内部错误
修改于 2023-11-03 06:04:11