API reference

deleteRestaurantProduct

Required permission: RestaurantMenuWrite

graphql
deleteRestaurantProduct(
  restaurantId: ID!
  restaurantProductId: ID!
): Void

Arguments

Name Type Description
restaurantId ID!
restaurantProductId ID!

Returns

Void

Example

graphql
mutation DeleteRestaurantProduct($restaurantId: ID!, $restaurantProductId: ID!) {
  deleteRestaurantProduct(restaurantId: $restaurantId, restaurantProductId: $restaurantProductId)
}
bash
curl https://api.thelocoapp.com/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LOCO_API_KEY" \
  -d '{"query": "mutation { deleteRestaurantProduct(...) { __typename } }"}'