Request

GET https://delivery.ucs.ru/orders/api/v1/orderSources/{orderSourceId}/restaurants

where orderSourceId is Client ID.

To find out your Client ID:

  1. Go to the r_k Delivery admin panel menu Integrations > API Connection
  2. Select a connection or create one 
  3. Scroll down to the API Authorization section
  4. Find the Client ID field and copy the number. 

Example answer

{
  "result": [
    {
      "id": "28ce4c7b-218a-48bb-977a-71921924ec27",
      "objectId": 199990147,
      "name": "Establishment",
      "actualAddress": "Moscow, Sorge str., 2",
      "state": "noActive"
    }
  ]
}
CODE

Description of parameters

NameTypeDescription
id guidrestaurant id
objectIdstringobject number in the licensing system
namestring

name of the establishment

actualAddressstringactual address
statestring enum

status of the establishment:

  • active
  • noActive