Operation Id:
products/sizes/put [Official Documentaction]
Methods
- mode 'edit'|'add'|'replace'
- sizesProductsData Array<Object>
- indexesData Array<Object>
- productId Integer
- sizes Array<Object>
Examples
This function adds the size with sizeId 9 to the product with productId 13 in the putProductsSizes mode.
const result = await idosellRequest.putProductsSizes
.mode("add")
.productId(13)
.sizes([{"sizeId": "9"}])
.exec()