Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Query

icon
Info
Code Block
false
GET https://delivery.ucs.ru/orders/api/v1/orderSources/{
orderSourceId
orderSourceID}/restaurants

where orderSourceId orderSourceID is clientId clientID

 Response example

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

Parameter description

NameTypeDescription
id
ID
 guid
 GUIDrestaurant
id
ID
objectId
objectIDstringobject
id
ID in the license system
namestring

restaurant name

actualAddressstringactual address
statestring enum

restaurant state:

  • active
  • noActive