removeStoreRegionCustomerGroupPriceList

Remove an association between price list, customer group and a store region.

To retrieve a list of regions (and price lists associated with them), see getStoreRegions. To associate a price list with a region, see addStoreRegionCustomerGroupPriceList. To reorder region price lists, see editStoreRegionCustomerGroupPriceList.

The price lists associated with region and customer group will be automatically applied when making a sale from POS or creating a sales document in ERPLY back office, or when calling API calculateShoppingCart.

This API call is available only if "Store regions" module has been enabled on your account.

Input parameters

Parameter name Description Possible value Required
storeRegionID  Store region ID.  Integer  yes  
customerGroupID  Customer group ID.  Integer  yes  
priceListIDs  A comma-separated list of price list IDs to be disassociated from this combination of store region and customer group. (The price lists themselves will remain in the system, and can be associated with other regions or locations.)  String (comma-separated list of integers)  yes  

Response

Field name Type Description
removedPriceListIDs  String  Comma-separated IDs of price lists that were removed from this region.  
nonExistingIDs  String  Comma-separated list of values that were not numeric, or IDs which did not refer to existing price lists, associated with the specified region.