Search

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 nameDescriptionPossible valueRequired
storeRegionIDStore region ID.Integer yes
customerGroupIDCustomer group ID.Integer yes
priceListIDsA 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 nameTypeDescription
removedPriceListIDsStringComma-separated IDs of price lists that were removed from this region.
nonExistingIDsStringComma-separated list of values that were not numeric, or IDs which did not refer to existing price lists, associated with the specified region.