Returns IDs of all products that can be sold in the given location, according to product card status AND product’s status in assortment (the product’s status on both product card and in assortment must be “Active” or “No longer ordered”).
This API call has been designed specifically for POS, and therefore it has slightly unusual behavior:
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, removeAssortmentProducts and editAssortmentProducts.
This API call is available only if “Assortments” module has been enabled on your account; otherwise, error code 1006 will be returned.
|Parameter name||Description||Possible value||Required|