- 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
/v1/product/update/offer-id
ProductAPI
offer_id
的方法。您可以改变几个 offer_id
。请求参数
Header 参数
Client-Id
string
用户识别号。
Api-Key
string
API-密钥。
Body 参数application/json
update_offer_id
array[object (object) {2}]
必需
new_offer_id
string
必需
offer_id
string
旧货号。
示例
{
"update_offer_id": [
{
"new_offer_id": "string",
"offer_id": "string"
}
]
}
示例代码
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/product/update/offer-id' \
--header 'Client-Id;' \
--header 'Api-Key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"update_offer_id": [
{
"new_offer_id": "string",
"offer_id": "string"
}
]
}'
返回响应
🟢200成功
application/json
Body
errors
array[object (object) {2}]
错误清单。
message
string
错误信息。
offer_id
string
可选
示例
{
"errors": [
{
"message": "string",
"offer_id": "string"
}
]
}
🟠400请求有误
🟠403禁止访问
🟠404记录不存在
🟠409409
🔴500服务器错误
修改于 2025-06-10 08:30:17