API reference
linkPersonalkollenAccount
Required permission: RestaurantWrite
linkPersonalkollenAccount(
restaurantId: ID!
credentials: PersonalkollenCredentials!
): RestaurantArguments
| Name | Type | Description |
|---|---|---|
restaurantId |
ID! |
|
credentials |
PersonalkollenCredentials! |
Returns
Example
mutation LinkPersonalkollenAccount($restaurantId: ID!, $credentials: PersonalkollenCredentials!) {
linkPersonalkollenAccount(restaurantId: $restaurantId, credentials: $credentials) {
id
autoAcceptDeliveryHeroOrders
deliveryHeroChainId
deliveryHeroEnabled
deliveryHeroVendorId
deliveryHeroWebhookUrl
}
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "mutation { linkPersonalkollenAccount(...) { __typename } }"}'