Категория: пользовательские подборки

IMAGES Метод BatchSimplifiedAddItemsToBasket

Массовое добавление товаров в корзину

Аргумент Тип Описание
instanceKey String
language String
Язык для запрашиваемых данных
sessionId String
Идентификатор сессии покупателя
xmlRequest String
Запрос на добавление товаров ( SimplifiedAddItemToBasketRequest)

Возвращает : ElementIdListAnswer

Пример xmlRequest:

<!--Пример сгенерирован автоматически и отображает лишь структуру xml--><Request><Element ItemId="ItemId" ItemURL="ItemURL" ExternalDeliveryId="ExternalDeliveryId"><Current ConfigurationId="ConfigurationId" Quantity="1"><Property Id="Id" ValueId="ValueId" /><Property Id="Id" ValueId="ValueId" /><Property Id="Id" ValueId="ValueId" /></Current><Selected ConfigurationId="ConfigurationId" Quantity="1"><Property Id="Id" ValueId="ValueId" /><Property Id="Id" ValueId="ValueId" /><Property Id="Id" ValueId="ValueId" /></Selected><Selected ConfigurationId="ConfigurationId" Quantity="1"><Property Id="Id" ValueId="ValueId" /><Property Id="Id" ValueId="ValueId" /><Property Id="Id" ValueId="ValueId" /></Selected><Selected ConfigurationId="ConfigurationId" Quantity="1"><Property Id="Id" ValueId="ValueId" /><Property Id="Id" ValueId="ValueId" /><Property Id="Id" ValueId="ValueId" /></Selected></Element><Element ItemId="ItemId" ItemURL="ItemURL" ExternalDeliveryId="ExternalDeliveryId"><Current ConfigurationId="ConfigurationId" Quantity="1"><Property Id="Id" ValueId="ValueId" /><Property Id="Id" ValueId="ValueId" /><Property Id="Id" ValueId="ValueId" /></Current><Selected ConfigurationId="ConfigurationId" Quantity="1"><Property Id="Id" ValueId="ValueId" /><Property Id="Id" ValueId="ValueId" /><Property Id="Id" ValueId="ValueId" /></Selected><Selected ConfigurationId="ConfigurationId" Quantity="1"><Property Id="Id" ValueId="ValueId" /><Property Id="Id" ValueId="ValueId" /><Property Id="Id" ValueId="ValueId" /></Selected><Selected ConfigurationId="ConfigurationId" Quantity="1"><Property Id="Id" ValueId="ValueId" /><Property Id="Id" ValueId="ValueId" /><Property Id="Id" ValueId="ValueId" /></Selected></Element><Element ItemId="ItemId" ItemURL="ItemURL" ExternalDeliveryId="ExternalDeliveryId"><Current ConfigurationId="ConfigurationId" Quantity="1"><Property Id="Id" ValueId="ValueId" /><Property Id="Id" ValueId="ValueId" /><Property Id="Id" ValueId="ValueId" /></Current><Selected ConfigurationId="ConfigurationId" Quantity="1"><Property Id="Id" ValueId="ValueId" /><Property Id="Id" ValueId="ValueId" /><Property Id="Id" ValueId="ValueId" /></Selected><Selected ConfigurationId="ConfigurationId" Quantity="1"><Property Id="Id" ValueId="ValueId" /><Property Id="Id" ValueId="ValueId" /><Property Id="Id" ValueId="ValueId" /></Selected><Selected ConfigurationId="ConfigurationId" Quantity="1"><Property Id="Id" ValueId="ValueId" /><Property Id="Id" ValueId="ValueId" /><Property Id="Id" ValueId="ValueId" /></Selected></Element></Request>;