putProductsMarketingZones

Operation Id:
products/marketingZones/put [Official Documentaction]
Methods

  • products Array<Object>
  • assignment_mode 'auto'|'manual'
  • marketing_zones Object
  • shops Array<Object>
  • ident Object
Examples

This function assigns marketing zones to a specific product based on certain criteria and sets the assignment mode as manual.

Loading editor...

const result = await idosellRequest.putProductsMarketingZones
	.ident({
		"type":"id",
		"value":"33"
	})
	.marketing_zones({
		"promotion":"yes",
		"discount":"yes",
		"distinguished":"yes",
		"special":"yes"
	})
	.assignment_mode("manual")
	.exec();