Search

removeAssortmentProducts

Remove products from an assortment.

An assortment defines which products a particular store is allowed to sell and/or to purchase.

To retrieve a list of assortments, see getAssortments, to edit an assortment or add a new one, see saveAssortment. To manipulate with the products associated with an assortment, see API calls getAssortmentProducts, addAssortmentProducts and editAssortmentProducts. To retrieve all products that can be sold in location according to product status in assortment and it’s card see getSellableProducts.

This API call is available only if “Assortments” module has been enabled on your account.

Input parameters

Parameter nameDescriptionPossible valueRequired
productIDsComma-separated list of product IDs.String Yes
assortmentIDAssortment ID.Integer Yes

Response

Field nameTypeDescription
deletedIDsStringComma-separated list of removed products.
productsNotInAssortmentStringComma-separated list of products that were not found in this assortment.

This API call returns error code 1006 if "Assortments" module has not been enabled on your account.