Перейти к содержанию

Список товаров для участия в акции

GET /api/v1/calendar/promotions/nomenclatures

Метод формирует список товаров, подходящих для участия в акции. Эти товары можно добавить в акцию с помощью отдельного метода.

Данный метод неприменим для автоакций.

Лимит запросов на один аккаунт продавца для всех методов категории Календарь акций:

Период Лимит Интервал Всплеск
6 сек 10 запросов 600 мс 5 запросов

Параметры

Имя Расположение Тип Обязательный Описание
нет
нет
нет
нет

Примеры вызова

import os
from wildberries_sdk import promotion

token = os.getenv("WB_API_TOKEN")
api = promotion.DefaultApi(
    promotion.ApiClient(promotion.Configuration(api_key={"HeaderApiKey": token}))
)
result = api.api_v1_calendar_promotions_nomenclatures_get()
print(result)
import { Configuration, DefaultApi } from 'wildberries-sdk';

const api = new DefaultApi(new Configuration({ apiKey: process.env.WB_API_TOKEN }));
const result = await api.apiV1CalendarPromotionsNomenclaturesGet();
console.log(result);
cfg := promotion.NewConfiguration()
cfg.AddDefaultHeader("Authorization", os.Getenv("WB_API_TOKEN"))
client := promotion.NewAPIClient(cfg)
result, _, err := client.DefaultApi.ApiV1CalendarPromotionsNomenclaturesGet(context.Background()).Execute()
<?php
$config = Wildberries\Sdk\Promotion\Configuration::getDefaultConfiguration()
    ->setApiKey('Authorization', getenv('WB_API_TOKEN'));
$api = new Wildberries\Sdk\Promotion\Api\DefaultApi(new GuzzleHttp\Client(), $config);
$result = $api->apiV1CalendarPromotionsNomenclaturesGet();
use wildberries_sdk_promotion::apis::{configuration::Configuration, configuration::ApiKey, default_api};

let mut config = Configuration::new();
config.api_key = Some(ApiKey { prefix: None, key: std::env::var("WB_API_TOKEN").unwrap() });
let result = default_api::api_v1_calendar_promotions_nomenclatures_get(&config).await?;