- 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/attributes/update
ProductAPI
请求参数
Header 参数
Client-Id
string
用户识别号。
Api-Key
string
API-密钥。
Body 参数application/json
items
array[object (object) {2}]
可选
attributes
array[object (object) {3}]
商品特征。
offer_id
string
必需
示例
{
"items": [
{
"attributes": [
{
"complex_id": 0,
"id": 0,
"values": [
{
"dictionary_value_id": 0,
"value": "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/attributes/update' \
--header 'Client-Id;' \
--header 'Api-Key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"items": [
{
"attributes": [
{
"complex_id": 0,
"id": 0,
"values": [
{
"dictionary_value_id": 0,
"value": "string"
}
]
}
],
"offer_id": "string"
}
]
}'
返回响应
🟢200成功
application/json
Body
task_id
integer <int64>
可选
示例
{
"task_id": 0
}
🟠400请求有误
🟠403禁止访问
🟠404记录不存在
🟠409409
🔴500服务器错误
修改于 2025-06-10 08:30:17