putDiscountsGroupsProducts

Operation Id:
discounts/groups/products/put [Official Documentaction]
Methods

  • discountGroupId Integer
  • products Array<Object>
  • producers Array<Object>
  • series Array<Object>
  • categories Array<Object>
  • menuItems Array<Object>
Examples

This function applies a discount to a specific product within a specific discount group by modifying the price of the product.

Loading editor...

const result = await idosellRequest.putDiscountsGroupsProducts
	.discountGroupId(206)
	.products([{
		"id": 9,
		"price": 12,
		"currency": "PLN"
	}])
	.exec();