Operation Id:
products/marketing/promotion/put [Official Documentaction]
Methods
- promotionId String
- 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'
- removeAllPromotionElements 'y'|'n'
- promotionElements Array<Object>
- elementType 'product'|'series'|'producer'|'category'|'menu'
- elementId String
Examples
This function retrieves the promotion name for a given promotion ID and updates it with a new value.
Loading editor...
const result = await idosellRequest.putProductsMarketingPromotion .promotionId("3") .promotionName("Promocja") .exec();