Operation Id:
products/collections/products/post [Official Documentaction]
Methods
- params Array<Object>
- products Array<Object>
- collectionId Integer
Examples
This function adds a product with ID 52, along with all its sizes and variants, to the collection with ID 54 and sets the quantity as 1.
const result = await idosellRequest.postProductsCollectionsProducts
.collectionId(54)
.products([{"productId":52,"addType":"allSizesWithVariants","quantity":1}])
.exec()