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