📊Business rules

When deleting products from a given price list, please consider the following business rules: The action of deleting products from a price list is a dangerous action since it eliminates the current prices of those products in the given price list. Please, use this service with caution and understanding the implications of executing this action.

=> In order to use this service, your Alephee account must meet three business conditions: 1. The Alephee account must be of type WHOLESALER (a.k.a DISTRIBUTOR) or BRAND. 2. The account must have the permission to use this endpoint active and assigned. By default, no account currently has assigned the privilege to use it. To request enabling the feature for your account, please contact our customer service. 3. Every time you want to use this service, it is mandatory to provide a confirmation token via querystring parameter. The confirmation token is obtained from the GET logintoken endpoint. The token has a validity time (30 seconds by default).

=> It is mandatory to inform the ID of the price list from which you want to remove products. It is mandatory and the price list must correspond to the give account ID. To find out the price list ID assigned to your Alephee account, please use the GET accounts/pricelists endpoint.

=> It is optional to inform the products to be removed from a given price list. By default, if no product is reported, ALL the products in the given price list are removed. If certain products are reported, only those reported products will be removed.

=> It is optional to inform the products to be removed from a given price list. By default, if no product is reported, ALL the products in the given price list are removed. If certain products are reported, only those reported products will be removed.

=> It is forbidden to remove products from a price list when any of the following conditions are met: • The given product(s) or price list does not belong to the authenticated account. • The product in the given price list is assigned to any seller-type account. => If the product in the given price list that you want to remove is currently assigned to a seller, before removing it from the price list you must first unassign it from the seller. • The product is set as a VARIANT-type product.

=> When setting products, please consider: • The 'Brand' parameter won’t be mandatory, if the (SKU) codes in the product catalog are unique. If there are two (SKU) codes with different brands, the change will be reported as invalid. • The 'Brand' parameter can be set by ID or Name. • The 'SKU' parameter is mandatory and must match with the product SKU code in the catalog. • The 'SKU' parameter works also for looking the product 'Owncode' code in the catalog.

Last updated