Shop(Store)
Create shop#
Creates a new store.
Request body:
| Attribute | Type | Description | Nullable |
|---|---|---|---|
| externalId | String | Shop external id | true |
| active | Boolean | Whether the shop is active | 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 America/Los_Angeles) | 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 shop#
Updates an existing store by id.
Request body:
| Attribute | Type | Description | Nullable |
|---|---|---|---|
| externalId | String | Shop external id | true |
| active | Boolean | Whether the shop is active | 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 America/Los_Angeles) | 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 shops#
Request parameters:
| Request Parameter | Type | Description | Required |
|---|---|---|---|
| fields | List of String (comma-separated) | Additional shop fields to include in the response object, e.g. dir. Default: dir | 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 | false |
| status | Integer | Find shops by status | false |
| director | Boolean | Get shops where appointed are manager | false |
| allDay | Boolean | Get convenience (24-hour) shops | false |
Examples
200 OK
Get shop by id#
Request parameters:
| Request Parameter | Type | Description | Required |
|---|---|---|---|
| fields | List of String (comma-separated) | Additional shop fields to include in the response object, e.g. dir. Unlike List shops, none are included by default here โ you must request them explicitly | false |
Examples
200 OK