Marketplace Ozon

Получить акции Ozon

Changed on

Список акций кабинета из живого Ozon Seller API по ключам магазина, а не из аналитической базы; кэш в памяти на 30 минут. Отсутствие ключей, лимит и сбой площадки дают 200 с пустым promos и note.

get/api/v1/marketplace/ozon/promotions

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate

Query parameters

store, string

UUID магазинов через запятую или all

group, string

UUID срезов товаров через запятую

Headers

X-Tenant, string required

Slug выбранного кабинета; кабинет не является юрлицом

Response

Акции кабинета Ozon

MarketplaceOzonPromotions required
promos, MarketplaceOzonPromotion[] required
note, string

Почему список пуст

Changes

    • breaking

      the response property promos/items/disc became nullable for the status

    • info

      added the optional property promos/items/disc_reason to the response with the status

    • info

      the endpoint scheme security installationToken was removed from the API

    1 more change in this revision