API reference
deleteDeliveryLocation
Required permission: RestaurantSettingsWrite
deleteDeliveryLocation(
restaurantId: ID!
deliveryLocationId: ID!
): DeletionStatusArguments
| Name | Type | Description |
|---|---|---|
restaurantId |
ID! |
|
deliveryLocationId |
ID! |
Returns
Example
mutation DeleteDeliveryLocation($restaurantId: ID!, $deliveryLocationId: ID!) {
deleteDeliveryLocation(restaurantId: $restaurantId, deliveryLocationId: $deliveryLocationId)
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "mutation { deleteDeliveryLocation(...) { __typename } }"}'