- CategoryAPI
- ProductAPI
- Prices&StocksAPI
- Promos
- PricingStrategyAPI
- WarehouseAPI
- PolygonAPI
- FBS&rFBSMarks
- FBS
- ReturnsAPI
- CancellationAPI
- ChatAPI
- ReportAPI
- AnalyticsAPI
- FinanceAPI
获取商品价格信息
POST
/v4/product/info/prices
Prices&StocksAPI
请求参数
Header 参数
Client-Id
string
用户识别号。
示例值:
{{Client-Id}}
Api-Key
string
API-密钥。
示例值:
{{Api-Key}}
Body 参数application/json
filter
object (object)
商品过滤.
offer_id
array[string]
可选
offer_id
的过滤。 可以提交数值列表。product_id
array[string <int64>]
可选
product_id
的过滤。 可以提交最多1000个数值。visibility
object
可选
[后端统一返回结果]<[Implementation of Excel T() function
If the argument is a text or error value it is returned unmodified. All other argument types cause an empty string result. If the argument is an area, the first (top-left) cell is used (regardless of the coordinates of the evaluating formula cell).]>
last_id
string
可选
last_id
。limit
integer <int32>
可选
示例
{
"filter": {
"offer_id": [
"356792"
],
"product_id": [
"243686911"
],
"visibility": "ALL"
},
"last_id": "",
"limit": 100
}
示例代码
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/v4/product/info/prices' \
--header 'Client-Id: ' \
--header 'Api-Key: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"filter": {
"offer_id": [
"356792"
],
"product_id": [
"243686911"
],
"visibility": "ALL"
},
"last_id": "",
"limit": 100
}'
返回响应
🟢200价格信息
application/json
Body
result
object (object)
查询结果。
items
array [object]
商品清单。
last_id
string
可选
last_id
。total
integer <int32>
清单中的商品数量。
示例
{
"result": {
"items": [
{
"acquiring": 0,
"product_id": 243686911,
"offer_id": "356792",
"price": {
"currency_code": "RUB",
"price": "499.0000",
"old_price": "579.0000",
"premium_price": "",
"recommended_price": "",
"retail_price": "",
"vat": "0.200000",
"min_ozon_price": "",
"marketing_price": "",
"marketing_seller_price": "",
"auto_action_enabled": true
},
"price_indexes": {
"external_index_data": {
"minimal_price": "string",
"minimal_price_currency": "string",
"price_index_value": 0
},
"ozon_index_data": {
"minimal_price": "string",
"minimal_price_currency": "string",
"price_index_value": 0
},
"price_index": "WITHOUT_INDEX",
"self_marketplaces_index_data": {
"minimal_price": "string",
"minimal_price_currency": "string",
"price_index_value": 0
}
},
"commissions": {
"sales_percent": 15,
"sales_percent_fbo": 15,
"sales_percent_fbs": 0,
"fbo_fulfillment_amount": 0,
"fbo_direct_flow_trans_min_amount": 31,
"fbo_direct_flow_trans_max_amount": 46.5,
"fbo_deliv_to_customer_amount": 14.75,
"fbo_return_flow_amount": 50,
"fbo_return_flow_trans_min_amount": 21.7,
"fbo_return_flow_trans_max_amount": 21.7,
"fbs_first_mile_min_amount": 0,
"fbs_first_mile_max_amount": 25,
"fbs_direct_flow_trans_min_amount": 41,
"fbs_direct_flow_trans_max_amount": 61.5,
"fbs_deliv_to_customer_amount": 60,
"fbs_return_flow_amount": 40,
"fbs_return_flow_trans_min_amount": 41,
"fbs_return_flow_trans_max_amount": 61.5
},
"marketing_actions": null,
"volume_weight": 0
}
],
"total": 1,
"last_id": "ceVуbA=="
}
}
🟠400参数不正确
🟠403拒绝访问
🟠404未找到答案
🟠409请求的冲突
🔴500内部服务器错误
修改于 2023-11-03 06:04:11