Skip to main content

Get products prices

Gets products prices with or without filter

Function GetProductsPrices(Val ClientID, Val APIKey, Val Filter = "", Val LastID = 0) Export

ParameterCLI optionTypeRequiredDescription
ClientID--clientidStringClient identifier
APIKey--apikeyStringAPI key
Filter--filterStructure of KeyAndValueProduct selection filter. See GetProductsFilterStructure
LastID--lastString, NumberID of the last value (last_id) from the previous response

Returns: Map Of KeyAndValue - serialized JSON response from Ozon Seller API


tip

Method at API documentation: post /v4/product/info/prices


1C:Enterprise/OneScript code example
    ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";

Result = OPI_Ozon.GetProductsPrices(ClientID, APIKey, New Structure);
    oint ozon GetProductsPrices \
--clientid "***" \
--apikey "***"
Result
{
"result": {
"items": [
{
"product_id": 1156646653,
"offer_id": "91132",
"price": {
"price": "1100.0000",
"old_price": "1100.0000",
"premium_price": "",
"recommended_price": "",
"retail_price": "0.0000",
"vat": "0.100000",
"min_ozon_price": "",
"marketing_price": "",
"marketing_seller_price": "",
"min_price": "0.0000",
"currency_code": "RUB",
"auto_action_enabled": false
},
"price_index": "0.00",
"commissions": {
"sales_percent": 0,
"fbo_fulfillment_amount": 0,
"fbo_direct_flow_trans_min_amount": 0,
"fbo_direct_flow_trans_max_amount": 0,
"fbo_deliv_to_customer_amount": 0,
"fbo_return_flow_amount": 0,
"fbo_return_flow_trans_min_amount": 0,
"fbo_return_flow_trans_max_amount": 0,
"fbs_first_mile_min_amount": 0,
"fbs_first_mile_max_amount": 25,
"fbs_direct_flow_trans_min_amount": 0,
"fbs_direct_flow_trans_max_amount": 0,
"fbs_deliv_to_customer_amount": 0,
"fbs_return_flow_amount": 0,
"fbs_return_flow_trans_min_amount": 0,
"fbs_return_flow_trans_max_amount": 0,
"sales_percent_fbo": 0,
"sales_percent_fbs": 0
},
"marketing_actions": null,
"volume_weight": 1.2,
"price_indexes": {
"price_index": "WITHOUT_INDEX",
"external_index_data": {
"minimal_price": "",
"minimal_price_currency": "",
"price_index_value": 0
},
"ozon_index_data": {
"minimal_price": "",
"minimal_price_currency": "",
"price_index_value": 0
},
"self_marketplaces_index_data": {
"minimal_price": "",
"minimal_price_currency": "",
"price_index_value": 0
}
},
"acquiring": 0
},
{
"product_id": 1179304145,
"offer_id": "143210610",
"price": {
"price": "1300.0000",
"old_price": "1400.0000",
"premium_price": "",
"recommended_price": "",
"retail_price": "0.0000",
"vat": "0.100000",
"min_ozon_price": "",
"marketing_price": "",
"marketing_seller_price": "",
"min_price": "1300.0000",
"currency_code": "RUB",
"auto_action_enabled": false
},
"price_index": "0.00",
"commissions": {
"sales_percent": 0,
"fbo_fulfillment_amount": 0,
"fbo_direct_flow_trans_min_amount": 0,
"fbo_direct_flow_trans_max_amount": 0,
"fbo_deliv_to_customer_amount": 0,
"fbo_return_flow_amount": 0,
"fbo_return_flow_trans_min_amount": 0,
"fbo_return_flow_trans_max_amount": 0,
"fbs_first_mile_min_amount": 0,
"fbs_first_mile_max_amount": 25,
"fbs_direct_flow_trans_min_amount": 0,
"fbs_direct_flow_trans_max_amount": 0,
"fbs_deliv_to_customer_amount": 0,
"fbs_return_flow_amount": 0,
"fbs_return_flow_trans_min_amount": 0,
"fbs_return_flow_trans_max_amount": 0,
"sales_percent_fbo": 0,
"sales_percent_fbs": 0
},
"marketing_actions": null,
"volume_weight": 0.1,
"price_indexes": {
"price_index": "WITHOUT_INDEX",
"external_index_data": {
"minimal_price": "",
"minimal_price_currency": "",
"price_index_value": 0
},
"ozon_index_data": {
"minimal_price": "",
"minimal_price_currency": "",
"price_index_value": 0
},
"self_marketplaces_index_data": {
"minimal_price": "",
"minimal_price_currency": "",
"price_index_value": 0
}
},
"acquiring": 0
},
{
"product_id": 1179307106,
"offer_id": "143210611",
"price": {
"price": "1300.0000",
"old_price": "1300.0000",
"premium_price": "",
"recommended_price": "",
"retail_price": "0.0000",
"vat": "0.100000",
"min_ozon_price": "",
"marketing_price": "",
"marketing_seller_price": "",
"min_price": "0.0000",
"currency_code": "RUB",
"auto_action_enabled": false
},
"price_index": "0.00",
"commissions": {
"sales_percent": 0,
"fbo_fulfillment_amount": 0,
"fbo_direct_flow_trans_min_amount": 0,
"fbo_direct_flow_trans_max_amount": 0,
"fbo_deliv_to_customer_amount": 0,
"fbo_return_flow_amount": 0,
"fbo_return_flow_trans_min_amount": 0,
"fbo_return_flow_trans_max_amount": 0,
...