postProductsCollections

Operation Id:
products/collections/post [Official Documentaction]
Methods

  • params Array<Object>
  • products Array<Object>
Examples

This function communicates with a server, specifically the postProductsCollections endpoint, and sends a request to add a product with the ID 55, including all available sizes and variants, with a quantity of 1.

Loading editor...

const result = await idosellRequest.postProductsCollections
	.products({
		"productId":55,
		"addType":"allSizesWithVariants",
		"quantity":1
	})
	.exec();