Query

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

where orderSourceId is clientId

 Response example

{
  "result": [
    {
      "id": "28ce4c7b-218a-48bb-977a-71921924ec27",
      "objectId": 199990147,
      "name": "Restaurant",
      "actualAddress": "30, Cleveland Street, London",
      "state": "noActive"
    }
  ]
}

Parameter description

NameTypeDescription
id guidrestaurant id
objectIdstringobject id in the license system
namestring

restaurant name

actualAddressstringactual address
statestring enum

restaurant state:

  • active
  • noActive