Shop(Store)
#
Create shopCreates new store
Request body:
Attribute | Type | Description | Nullable |
---|---|---|---|
externalId | String | Shop external id | true |
active | Boolean | Shop availability for users | false |
regionId | Integer | Id of the region in which the store is located | false |
regionExternalId | String | External id of the region in which the store is located | true |
addrRegOffice | String | Address of the region in which the store is located | true |
sap | String | Unique store number | false |
address | String | Store address | false |
locality | String | Name of store | false |
city | String | The city where the store is located | false |
latitude | Double | Latitude of store | false |
longitude | Double | Longitude of store | false |
timeZoneId | String | Id of the time zone in which the store is located (format like Europe/Moscow) | false |
statusId | Integer | Status Id of the shop | true |
String | Email of the shop | true | |
telegramChatId | String | TelegramChat Id of the shop | true |
Response
Returns Store object
Examples
200 OK
#
Update shopUpdate existing store by id.
Request body:
Attribute | Type | Description | Nullable |
---|---|---|---|
externalId | String | Shop external id | true |
active | Boolean | Shop availability for users | false |
regionId | Integer | Id of the region in which the store is located | false |
regionExternalId | String | External id of the region in which the store is located | true |
addrRegOffice | String | Address of the region in which the store is located | true |
sap | String | Unique store number | false |
address | String | Store address | false |
locality | String | Name of store | false |
city | String | The city where the store is located | false |
latitude | Double | Latitude of store | false |
longitude | Double | Longitude of store | false |
timeZoneId | String | Id of the time zone in which the store is located (format like Europe/Moscow) | false |
statusId | Integer | Status Id of the shop | true |
String | Email of the shop | true | |
telegramChatId | String | TelegramChat Id of the shop | true |
Response
Returns Store object
Examples
200 OK
#
List shopsRequest parameters:
Request Parameter | Type | Description | Required |
---|---|---|---|
fields | List of String (comma-separated) | Add additional fields to response object | false |
active | Boolean | Return only active shops | false |
ids | List of integers | Find shops by ids | false |
region | List of integers | Find shops by region ids | false |
division | List of integers | Find shops by division ids | false |
sapLike | String | Find shops by SAP(store number) like | false |
localityLike | String | Find shops by name like | false |
cityLike | String | Find shops by city like | false |
addressLike | String | Find shops by address like | false |
searchString | String | Find shop by sap, name or division name or region name or city or address or manager of shop first or last name | true |
status | Integer | Find shops by status | true |
director | Boolean | Get shops where appointed are manager | true |
allDay | Boolean | Get convenience shops | true |
Examples
200 OK