Add or update 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 delete an assortment, see deleteAssortment. To manipulate with the products associated with an assortment, see API calls getAssortmentProducts, addAssortmentProducts, editAssortmentProducts and removeAssortmentProducts. 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.
|Parameter name||Description||Possible value||Required|
|assortmentID||Assortment ID. Specify assortment ID to edit an existing record.||Integer|
|name||Assortment name. Use either general parameter "name" or one or more of the following parameters if you need to set the names in specific languages.||String|
|code||Assortment code. ERPLY itself does not use assortment code for any purpose, but it may be useful for integrations.||String|