getStoreRegionsAssociatedWithPriceList

Get a list of store regions that a price list has been associated with.

To add price lists to a region, or remove them, see API calls addStoreRegionPriceList and removeStoreRegionPriceList. To get a list of store regions, see API call getStoreRegions

For background information: in Erply, a price list always has to be associated with something to take effect. On its own, it is just a collection of prices and won't apply to any sale. A price list can be associated with:

  • Customers;
  • Customer groups.
If it has been associated with one of the above, it will apply as a "customer price list".

A price list can also be associated with any of the following:
  • Warehouses (stores, locations);
  • Store regions;
  • Customer groups in store regions.
If it has been associated with one of the above, it will apply as a "store price list".

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

Input parameters

Parameter name Description Possible value Required
priceListID Price list ID. integer yes

Response

Field name Type Description
storeRegionID integer ID of the store region.

This API call returns error code 1006 if "Store regions" module has not been enabled on your account.