API reference
fetchUberEatsRestaurants
Required permission: RestaurantWrite
fetchUberEatsRestaurants(
restaurantId: ID!
input: FetchUberEatsRestaurantsInput!
): FetchUberEatsRestaurantsResultArguments
| Name | Type | Description |
|---|---|---|
restaurantId |
ID! |
|
input |
FetchUberEatsRestaurantsInput! |
Returns
FetchUberEatsRestaurantsResult
Example
mutation FetchUberEatsRestaurants($restaurantId: ID!, $input: FetchUberEatsRestaurantsInput!) {
fetchUberEatsRestaurants(restaurantId: $restaurantId, input: $input) {
accessToken
}
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "mutation { fetchUberEatsRestaurants(...) { __typename } }"}'