API reference
enableWoltIntegration
Required permission: RestaurantWrite
enableWoltIntegration(
restaurantId: ID!
): RestaurantArguments
| Name | Type | Description |
|---|---|---|
restaurantId |
ID! |
Returns
Example
mutation EnableWoltIntegration($restaurantId: ID!) {
enableWoltIntegration(restaurantId: $restaurantId) {
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 { enableWoltIntegration(...) { __typename } }"}'