removeAssortmentProducts

This call is deprecated. We recommend to use PIM API instead.

The corresponding new call is: DELETE /v1/assortment/products/{ids}/bulk.

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 name Description Possible value Required
productIDs Comma-separated list of product IDs. string yes
assortmentID Assortment ID. integer yes

Response

Field name Type Description
deletedIDs string Comma-separated list of removed products.
productsNotInAssortment string Comma-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.