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