- CategoryAPI
- ProductAPI
- Prices&StocksAPI
- Promos
- PricingStrategyAPI
- WarehouseAPI
- PolygonAPI
- FBS&rFBSMarks
- FBS
- ReturnsAPI
- CancellationAPI
- ChatAPI
- ReportAPI
- AnalyticsAPI
- FinanceAPI
- DeliveryFBS
- DeliveryrFBS
- Pass
- RFBSReturnsAPI
- BetaMethod
- Examples
- ReviewAPI
取消货运
POST
/v2/posting/fbs/cancel
FBS
cancelled
。cancel_reason_id
:352
— 商品无库存;400
— 只剩下有缺陷的商品。401
— 仲裁取消;402
— 其他原因;665
— 买家没有收货;666
— 在该地区没有快递;667
— 订单被快递弄丢。请求参数
Header 参数
Client-Id
string
用户识别号。
Api-Key
string
API-密钥。
Body 参数application/json
cancel_reason_id
integer <int64>
可选
cancel_reason_message
string
可选
cancel_reason_id = 402
,参数是必须的。posting_number
string
货件ID。
示例
{
"cancel_reason_id": 352,
"cancel_reason_message": "Product is out of stock",
"posting_number": "33920113-1231-1"
}
示例代码
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/v2/posting/fbs/cancel' \
--header 'Client-Id;' \
--header 'Api-Key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"cancel_reason_id": 352,
"cancel_reason_message": "Product is out of stock",
"posting_number": "33920113-1231-1"
}'
返回响应
🟢200成功
application/json
Body
result
boolean
可选
示例
{
"result": true
}
🟠400请求有误
🟠403禁止访问
🟠404记录不存在
🟠409409
🔴500服务器错误
修改于 2025-06-10 08:30:17