Region
#
Create regionCreates new region.
Request body:
Attribute | Type | Description | Nullable |
---|---|---|---|
externalId | String | Region external id | false |
name | String | Region name | false |
divisionId | String | Division associated with the region | false |
active | String | Region availability for users | false |
divisionExternalId | String | Division external id | false |
Response
Returns Region object
Examples
200 OK
#
Update regionUpdate existing region by id.
Request body:
Attribute | Type | Description | Nullable |
---|---|---|---|
externalId | String | Region external id | false |
name | String | Region name | false |
divisionId | String | Division associated with the region | false |
active | String | Region availability for users | false |
divisionExternalId | String | Division external id | false |
Response
Returns Region object
Examples
200 OK
#
List regionsRequest parameters:
Request Parameter | Type | Description | Required |
---|---|---|---|
ids | List of integers | Filter regions by specified ids (comma-separated) | false |
nameLike | String | Find regions by name | true |
shopIds | List of integers | Find region by shopIds | false |
divisionIds | List of integers | Find regions by division ids | false |
active | Boolean | Get only active regions | false |
fields | List of String (comma-separated) | Add additional fields to response object | false |
userId | Integer | Find regions by user Id | false |
businessDirId | Integer | Find regions by businessDir Id | false |
shopId | Integer | Find regions by shop Id | false |
searchString | String | Find regions by name or division name or manager of regions first or last name | false |
withDirs | Boolean | Get regions where appointed are manager | false |
Examples
200 OK