old_price,请将此参数设为0。offer_id 和 product_id,系统将优先根据 offer_id 应用更改。为避免歧义,建议仅使用一个参数。{
"prices": [
{
"auto_action_enabled": "UNKNOWN",
"currency_code": "RUB",
"min_price": "800",
"min_price_for_auto_actions_enabled": true,
"net_price": "650",
"offer_id": "",
"old_price": "0",
"price": "1448",
"price_strategy_enabled": "UNKNOWN",
"product_id": 1386,
"vat": "0.1"
}
]
}curl --location --request POST 'https://api-seller.ozon.ru/v1/product/import/prices' \
--header 'Client-Id;' \
--header 'Api-Key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"prices": [
{
"auto_action_enabled": "UNKNOWN",
"currency_code": "RUB",
"min_price": "800",
"min_price_for_auto_actions_enabled": true,
"net_price": "650",
"offer_id": "",
"old_price": "0",
"price": "1448",
"price_strategy_enabled": "UNKNOWN",
"product_id": 1386,
"vat": "0.1"
}
]
}'{
"result": [
{
"product_id": 1386,
"offer_id": "PH8865",
"updated": true,
"errors": []
}
]
}