Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Импорт рекламной акции с исключением товаров по метке производится согласно интеграционной документации:

Пример импорта рекламной акции

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AdvertisingActions>
    <AdvertisingAction AdvertActGUID="12344321" name="Импорт акция" active="true" mode="automatic" priority="1030.0" ignoreRestrictions="false" worksAnyTime="true" color="blue" external-code="SR10_1234" deleted="false" discountType="-1" disableChargeOnBonuses="false">
        <begin-date>2021-02-20T19:28:47.233</begin-date>
        <end-date>2022-02-21T23:59:59.999</end-date>
        <actionResults>
            <goodsDiscount name="[SR-4928] скидка на товары кроме метки" calcWeightProductCountAsOne="false" maxQuantity="0.0" goodsSum="10.01">
                <for-all-goods>true</for-all-goods>
                <action-label-exclude>МЕТКА1</action-label-exclude>
            </goodsDiscount>
        </actionResults>
        <externalConditions>
            <ExternalCardsCondition without-card="true"/>
        </externalConditions>
    </AdvertisingAction>
</AdvertisingActions>