Search

saveStoreRegion

Add or update a store region.

Store regions can be used for grouping stores (locations, warehouses). The main feature of store regions is that price lists can also be applied to a region, not just individual stores, thereby simplifying price list management. A region can also have an unlimited number of price lists, unlike a location, which is limited to 5 price lists.

To retrieve a list of store regions, see getStoreRegions. To delete a store region, see deleteStoreRegion. To manipulate with the price lists associated with a region, see API calls addStoreRegionPriceList, editStoreRegionPriceList and removeStoreRegionPriceList.

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

Input parameters

Parameter nameDescriptionPossible valueRequired
storeRegionIDStore region ID. Specify store region ID to edit an existing record.Integer
nameRegion 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
nameENGString
nameSPAString
nameGERString
nameSWEString
nameFINString
nameRUSString
nameESTString
nameLATString
nameLITString
nameGREString
codeRegion codeString

Response

Field nameTypeDescription
storeRegionIDIntegerStore region ID.

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