API reference
updateStripeTerminalConfiguration
Required permission: RestaurantWrite
updateStripeTerminalConfiguration(
restaurantId: String!
patch: StripeTerminalConfigurationPatch!
): RestaurantArguments
| Name | Type | Description |
|---|---|---|
restaurantId |
String! |
|
patch |
StripeTerminalConfigurationPatch! |
Returns
Example
mutation UpdateStripeTerminalConfiguration($restaurantId: String!, $patch: StripeTerminalConfigurationPatch!) {
updateStripeTerminalConfiguration(restaurantId: $restaurantId, patch: $patch) {
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 { updateStripeTerminalConfiguration(...) { __typename } }"}'