- 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/description-category/attribute
CategoryAPI
dictionary_id
的值为0
,则该属性没有嵌套指南。如果值不同,还有指南。使用/v1/description-category/attribute/values方法请求。
请求参数
Header 参数
Client-Id
string
用户识别号。
Api-Key
string
API-密钥。
Body 参数application/json
description_category_id
integer <int64>
必需
language
enum<string>
可选
EN
— 英语,RU
— 俄语,TR
— 土耳其语,ZH_HANS
— 中文。枚举值:
DEFAULTRUENTRZH_HANS
默认值:
DEFAULT
type_id
integer <int64>
必需
示例
{
"description_category_id": 0,
"language": "DEFAULT",
"type_id": 0
}
示例代码
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/description-category/attribute' \
--header 'Client-Id;' \
--header 'Api-Key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"description_category_id": 0,
"language": "DEFAULT",
"type_id": 0
}'
返回响应
🟢200成功
application/json
Body
result
array[object (object) {14}]
请求结果。
category_dependent
boolean
可选
true
— 该属性对每个类别都有不一样的值。false
— 该属性对所有类别都有相同的值。description
string
特征描述。
dictionary_id
integer <int64>
目录ID。
group_id
integer <int64>
组别特征ID。
group_name
string
特征组别名称。
id
integer <int64>
形成文件的任务量。
is_aspect
boolean
可选
true
— 方面属性,在货物交付到仓库或出仓销售后不能更改。false
— 非方面属性,可在任何时间改变。is_collection
boolean
可选
true
— 特征 — 值集,false
— 特性由单个值组成。is_required
boolean
可选
true
— 强制性特征,false
— 可不指出特征。name
string
名称。
type
string
特征类型。
attribute_complex_id
integer <int64>
复合属性的标识符。
max_value_count
integer <int64>
属性的最大值数量。
complex_is_collection
boolean
可选
true
表示该复合特征是一个值集合;false
表示该复合特征只有一个值。示例
{
"result": [
{
"category_dependent": true,
"description": "string",
"dictionary_id": 0,
"group_id": 0,
"group_name": "string",
"id": 0,
"is_aspect": true,
"is_collection": true,
"is_required": true,
"name": "string",
"type": "string",
"attribute_complex_id": 0,
"max_value_count": 0,
"complex_is_collection": true
}
]
}
🔴500服务器错误
修改于 2025-06-10 08:30:17