# Restaurant By Id

Use the `Restaurant` query to retrieve a restaurant's information.

## Required Argument

| **Argument Name** | **Type** | **Description**      |
| ----------------- | -------- | -------------------- |
| `id`              | ID!      | Restaurant unique ID |

## Available Fields <a href="#available-fields" id="available-fields"></a>

The following fields will be displayed in the response:

| **Field Name** | **Type**          | **Description**             |
| -------------- | ----------------- | --------------------------- |
| `id`           | ID!               | The restaurant unique id    |
| `name`         | String            | Restaurant name             |
| `description`  | String            | Restaurant description      |
| `location`     | <p>String<br></p> | Restaurant current location |

Refer to [this documentation](https://docs.suggestic.com/graphql/objects/common/restaurant) to get the complete list of restaurant fields you can add to the query response

### Example

{% tabs %}
{% tab title="Query" %}

```graphql
{
  restaurant(id: "UmVzdGF1cmFudDo2ZDlhOGRkZC0wZjY2LTQyZjMtOTMxOC1kZWIzOTMxMTNkNjU=") {
    id
    name
    address1
    country
    stateProvince
    websiteUrl
    location
  }
}
```

{% endtab %}

{% tab title="Response" %}

```javascript
{
  "data": {
    "restaurant": {
      "id": "UmVzdGF1cmFudDpOb25l",
      "name": "Belvedere's",
      "address1": "320 N 44th St",
      "country": "US",
      "stateProvince": "AZ",
      "websiteUrl": "http://www.doubletreephoenix.com/eat-drink/belvederes-american-grill/",
      "location": [
        -111.98873,
        33.45184
      ]
    }
  }
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.suggestic.com/graphql/query/queries/restaurants/restaurant.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
