Operation Id:
products/productsToPromotion/post [Official Documentaction]
Methods
- promotionId Integer
- products Array<Integer>
Examples
This function associates the product with ID 11 with the promotion with ID 2.
const result = await idosellRequest.postProductsProductsToPromotion
.promotionId(2)
.products([11])
.exec()