Operation Id:
products/marketing/promotion/post [Official Documentaction]
Methods
- promotionName String
- shopsIds Array<Integer>
- marketingZones Object
- newPriceSettings Object
- startDate String
- endDate String
- changeProductsToVisibleWhileStarting 'y'|'n'
- removeProductsAfterStockLevelRunsDown 'y'|'n'
- removeProductsAfterOwnStockLevelRunsDown 'y'|'n'
- reduceBasingPrice 'net'|'gross'
- calculationMethod 'sum'|'chooseAdvantageous'
- promotionElements Array<Object>
- elementType 'product'|'series'|'producer'|'category'|'menu'
- elementId String
Examples
This function filters products' marketing promotion in specific shops, with a specific promotion name and marketing zones information.
Loading editor...
const result = await idosellRequest.postProductsMarketingPromotion .shopsIds([1]) .promotionName("Promo") .marketingZones({ "promotion": "y" }) .exec();