- 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/pricing-strategy/create
PricingStrategyAPI
请求参数
Body 参数application/json
competitors
array[object (object) {2}]
竞争对手名单。
coefficient
number <float>
必需
0.5
到1.2
。competitor_id
integer <int64>
竞争对手ID。
strategy_name
string
策略名称。
示例
{
"strategy_name": "新策略",
"competitors": [
{
"competitor_id": 1008426,
"coefficient": 1
},
{
"competitor_id": 204,
"coefficient": 1
},
{
"competitor_id": 91,
"coefficient": 1
},
{
"competitor_id": 48,
"coefficient": 1
}
],
"company_id": 7
}
示例代码
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/pricing-strategy/create' \
--header 'Content-Type: application/json' \
--data-raw '{
"strategy_name": "新策略",
"competitors": [
{
"competitor_id": 1008426,
"coefficient": 1
},
{
"competitor_id": 204,
"coefficient": 1
},
{
"competitor_id": 91,
"coefficient": 1
},
{
"competitor_id": 48,
"coefficient": 1
}
],
"company_id": 7
}'
返回响应
🟢200成功
application/json
Body
result
object (object)
方法操作结果。
strategy_id
string
策略ID。
示例
{
"result": {
"id": "4f3a1d4c-5833-4f04-b69b-495cbc1f6f1c"
}
}
🔴500服务器错误
修改于 2025-06-10 08:30:17