- CategoryAPI
- ProductAPI
- Prices&StocksAPI
- Promos
- PricingStrategyAPI
- WarehouseAPI
- PolygonAPI
- FBS&rFBSMarks
- FBS
- ReturnsAPI
- CancellationAPI
- ChatAPI
- ReportAPI
- AnalyticsAPI
- FinanceAPI
- DeliveryFBS
- DeliveryrFBS
- Pass
- RFBSReturnsAPI
- BetaMethod
- Examples
- ReviewAPI
通过SKU创建商品
POST
/v1/product/import-by-sku
ProductAPI
如果卖家禁止复制,
将无法创建卡片副本。
请求参数
Header 参数
Client-Id
string
用户识别号。
Api-Key
string
API-密钥。
Body 参数application/json
items
array[object (object) {7}]
商品信息。
<= 1000 items
name
string
可选
offer_id
string
可选
old_price
string
可选
price
string
可选
old_price
。sku
integer <int64>
必需
vat
string
可选
0
— 免除增值税,0.05
— 5%,0.07
— 7%,0.1
— 10%,0.2
— 20%。currency_code
string
可选
RUB
— 俄罗斯卢布。CNY
,否则将返回错误。RUB
— 俄罗斯卢布,BYN
— 白俄罗斯卢布,KZT
— 坚戈,EUR
— 欧元,USD
— 美元,CNY
— 元。示例
{
"items": [
{
"sku": 298789742,
"name": "string",
"offer_id": "91132",
"currency_code": "RUB",
"old_price": "2590",
"price": "2300",
"vat": "0.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/v1/product/import-by-sku' \
--header 'Client-Id;' \
--header 'Api-Key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"items": [
{
"sku": 298789742,
"name": "string",
"offer_id": "91132",
"currency_code": "RUB",
"old_price": "2590",
"price": "2300",
"vat": "0.1"
}
]
}'
返回响应
🟢200成功
application/json
Body
result
object (object)
可选
task_id
integer <int64>
进口货物任务代码。
unmatched_sku_list
array[integer <int64>]
商品Id列表。
示例
{
"result": {
"task_id": 176594213,
"unmatched_sku_list": []
}
}
🟠400请求有误
🟠403禁止访问
🟠404记录不存在
🟠409409
🔴500服务器错误
修改于 2025-06-10 08:30:17