curl --request GET \
--url http://dev-backend-1.guestme.space/api/v1/external/restaurant \
--header 'Authorization: Bearer <token>'{
"totalPages": 123,
"totalElements": 123,
"pageable": {
"unpaged": true,
"paged": true,
"pageNumber": 123,
"pageSize": 123,
"offset": 123,
"sort": {
"unsorted": true,
"sorted": true,
"empty": true
}
},
"numberOfElements": 123,
"size": 123,
"content": [
{
"id": 123,
"name": "Gussi",
"status": "ACTIVE",
"address": {
"country": "Russia",
"countryCode": "RU",
"city": "Moscow",
"home": 123,
"street": "Lenina",
"point": {
"x": 123,
"y": 123
}
},
"info": {
"phone": "+79998887766",
"site": "<string>",
"telegram": "<string>",
"vk": "<string>",
"iikoUid": "123-456-789",
"iikoCrmId": 123456789,
"taxNumber": 123456789
},
"properties": {
"phoneConfirmationEnabled": true,
"guestAcquisitionChannelEnabled": true
},
"description": "Gussi is a good restaurant"
}
],
"number": 123,
"sort": {
"unsorted": true,
"sorted": true,
"empty": true
},
"first": true,
"last": true,
"empty": true
}curl --request GET \
--url http://dev-backend-1.guestme.space/api/v1/external/restaurant \
--header 'Authorization: Bearer <token>'{
"totalPages": 123,
"totalElements": 123,
"pageable": {
"unpaged": true,
"paged": true,
"pageNumber": 123,
"pageSize": 123,
"offset": 123,
"sort": {
"unsorted": true,
"sorted": true,
"empty": true
}
},
"numberOfElements": 123,
"size": 123,
"content": [
{
"id": 123,
"name": "Gussi",
"status": "ACTIVE",
"address": {
"country": "Russia",
"countryCode": "RU",
"city": "Moscow",
"home": 123,
"street": "Lenina",
"point": {
"x": 123,
"y": 123
}
},
"info": {
"phone": "+79998887766",
"site": "<string>",
"telegram": "<string>",
"vk": "<string>",
"iikoUid": "123-456-789",
"iikoCrmId": 123456789,
"taxNumber": 123456789
},
"properties": {
"phoneConfirmationEnabled": true,
"guestAcquisitionChannelEnabled": true
},
"description": "Gussi is a good restaurant"
}
],
"number": 123,
"sort": {
"unsorted": true,
"sorted": true,
"empty": true
},
"first": true,
"last": true,
"empty": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Search string for filtering restaurants by name and address
List of restaurant IDs to exclude from results
OK
Показать дочерние атрибуты
Restaurant name
"Gussi"
Restaurant status
ACTIVE, INACTIVE, DELETED "ACTIVE"
Restaurant address
Показать дочерние атрибуты
Country
"Russia"
Country code
"RU"
City
"Moscow"
Home number
123
Street
"Lenina"
Restaurant info
Показать дочерние атрибуты
Restaurant phone number
"+79998887766"
Restaurant site
Restaurant Telegram
Restaurant VK
IIKO UID
"123-456-789"
IIKO CRM ID
123456789
Tax number
123456789
Restaurant properties
Показать дочерние атрибуты
Restaurant description
"Gussi is a good restaurant"