DiningMutation
Fields
acceptOrderOrder!RequiredorderIdInt!RequiredaddProductToVendorMenuBoolean!RequiredmenuIdInt!RequiredproductIdInt!RequiredcancelOrderOrder!RequiredorderIdInt!RequiredcreateBotBot!RequiredinputCreateBotInput!RequiredavatarUrlStringbotTypeBotType!RequiredcategoryStringconfigurationJSONdescriptionStringdisplayNameString!RequiredisPublicBooleanusernameString!RequiredwebhookSecretStringwebhookUrlStringcreateLocationLocation!RequiredinputCreateLocationInput!RequiredaddressString!RequiredcityStringcountryStringdeliveryAvailableBooleandeliveryRadiusFloatemailStringisActiveBooleanlatitudeFloatlongitudeFloatnameString!RequiredphoneStringpickupAvailableBooleanpostalCodeStringstateStringcreateManualReservationReservation!RequiredinputCreateManualReservationInput!RequiredautoConfirmBooleancustomerEmailStringcustomerPhoneStringoccasionStringpartySizeInt!RequiredreservedAtDateTime!RequiredrestaurantTableIdIntseatingPreferenceStringspecialRequestsStringuserIdIntvendorLocationIdInt!RequiredcreateProductProduct!RequiredinputCreateProductInput!RequiredageRestrictedBooleanavailableQtyIntbarcodeStringcapacityStringdeliverableBooleandescriptionStringdigitalBooleandiscountPriceDecimalfeaturedBooleanimageUrls[String!]!RequiredDefaults:isActiveBooleanlocationIdInt!RequirednameString!RequiredpackageCountStringplusOptionBooleanpriceDecimal!RequiredskuStringunitStringcreateServicePeriodRestaurantServicePeriod!RequiredinputCreateRestaurantServicePeriodInput!RequireddefaultTurnTimeMinutesInt!RequiredendTimeNaiveTime!RequiredisActiveBooleanmaxCoversPerSlotInt!RequirednameString!RequiredslotIntervalMinutesInt!RequiredstartTimeNaiveTime!RequiredturnoverBufferMinutesInt!RequiredvendorLocationIdInt!RequiredweekdayInt!RequiredcreateTableRestaurantTable!RequiredinputCreateRestaurantTableInput!RequiredisActiveBooleanisCombinableBooleanlabelString!RequiredmaxCapacityInt!RequiredminCapacityInt!RequiredsectionRestaurantTableSection!RequiredsortOrderIntvendorLocationIdInt!RequiredcreateVendorCouponCoupon!RequiredinputCreateVendorCouponInput!RequiredcodeString!RequiredcolorString!RequireddescriptionStringdiscountDecimal!RequiredexpiresOnDateTimeforDeliveryBoolean!RequiredisActiveBoolean!RequiredmaxCouponAmountDecimalminOrderAmountDecimalpercentageBoolean!RequiredproductIds[Int!]RequiredtimesIntvendorLocationIds[Int!]RequiredcreateVendorMenuAdminMenu!RequiredinputCreateVendorMenuInput!RequiredinOrderIntisActiveBooleannameLocalizedStringInput!RequiredvendorLocationIdInt!RequiredcreateWebhookWebhook!RequiredinputCreateWebhookInput!Requiredevents[WebhookEvent!]!RequiredisActiveBooleanurlString!RequireddecideReservationReservation!RequiredactionReservationApprovalAction!RequiredreservationIdInt!RequireddeleteBotBoolean!RequiredbotIdInt!RequireddeleteLocationBoolean!RequiredlocationIdInt!RequireddeleteProductBoolean!RequiredproductIdInt!RequireddeleteServicePeriodBoolean!RequiredperiodIdInt!RequireddeleteTableBoolean!RequiredtableIdInt!RequireddeleteTurnTimeBoolean!RequiredturnTimeIdInt!RequireddeleteVendorCouponBoolean!RequiredcouponIdInt!RequireddeleteVendorMenuBoolean!RequiredmenuIdInt!RequireddeleteWebhookBoolean!RequiredwebhookIdInt!RequiredmarkOrderPreparingOrder!RequiredorderIdInt!RequiredmarkOrderReadyOrder!RequiredorderIdInt!RequiredregenerateBotSecretString!RequiredbotIdInt!RequiredregenerateWebhookSecretString!RequiredwebhookIdInt!RequiredremoveProductFromVendorMenuBoolean!RequiredmenuIdInt!RequiredproductIdInt!RequiredtestBotWebhookBotWebhookTest!RequiredbotIdInt!RequiredtransitionReservationReservation!RequiredactionReservationTransitionAction!RequiredreservationIdInt!RequiredupdateBotBot!RequiredbotIdInt!RequiredinputUpdateBotInput!RequiredavatarUrlStringcategoryStringconfigurationJSONdescriptionStringdisplayNameStringisPublicBooleanwebhookSecretStringwebhookUrlStringupdateLocationLocation!RequiredinputUpdateLocationInput!RequiredaddressStringcityStringcountryStringdeliveryAvailableBooleandeliveryRadiusFloatemailStringisActiveBooleanlatitudeFloatlongitudeFloatnameStringphoneStringpickupAvailableBooleanpostalCodeStringstateStringlocationIdInt!RequiredupdateProductProduct!RequiredinputUpdateProductInput!RequiredageRestrictedBooleanavailableQtyIntbarcodeStringcapacityStringdeliverableBooleandescriptionStringdigitalBooleandiscountPriceDecimalfeaturedBooleanisActiveBooleannameStringpackageCountStringplusOptionBooleanpriceDecimalskuStringunitStringproductIdInt!RequiredupdateServicePeriodRestaurantServicePeriod!RequiredinputUpdateRestaurantServicePeriodInput!RequireddefaultTurnTimeMinutesIntendTimeNaiveTimeisActiveBooleanmaxCoversPerSlotIntnameStringslotIntervalMinutesIntstartTimeNaiveTimeturnoverBufferMinutesIntweekdayIntperiodIdInt!RequiredupdateTableRestaurantTable!RequiredinputUpdateRestaurantTableInput!RequiredisActiveBooleanisCombinableBooleanlabelStringmaxCapacityIntminCapacityIntsectionRestaurantTableSectionsortOrderInttableIdInt!RequiredupdateVendorCouponCoupon!RequiredcouponIdInt!RequiredinputUpdateVendorCouponInput!RequiredcodeStringcolorStringdescriptionStringdiscountDecimalexpiresOnDateTimeforDeliveryBooleanisActiveBooleanmaxCouponAmountDecimalminOrderAmountDecimalpercentageBooleanproductIds[Int!]RequiredtimesIntvendorLocationIds[Int!]RequiredupdateVendorMenuAdminMenu!RequiredinputUpdateVendorMenuInput!RequiredinOrderIntisActiveBooleanmenuIdInt!RequiredupdateWebhookWebhook!RequiredinputUpdateWebhookInput!Requiredevents[WebhookEvent!]RequiredisActiveBooleanurlStringwebhookIdInt!RequiredupsertTurnTimeRestaurantTurnTime!RequiredinputUpsertRestaurantTurnTimeInput!RequiredmaxPartySizeInt!RequiredminPartySizeInt!RequiredrestaurantServicePeriodIdInt!RequiredturnTimeMinutesInt!RequiredvendorLocationIdInt!Required
Create a new bot owned by the authenticated vendor.
Requires a user-context token, unlike the other bot mutations: The bot records a human author, which is required and must be a real user. A client_credentials token has no honest value to put there, and inventing one would corrupt the attribution the public bot directory renders.
Whether to list the bot in the public directory. Defaults to false.
Handle the bot is mentioned by, without the leading @. 3–50 characters, alphanumeric and underscores only, and unique platform-wide.
Whether the branch delivers. Defaults to true.
Whether the branch is in service. Defaults to true.
Branch name, e.g. Downtown store.
Whether customers can collect from this branch. Defaults to true.
The guest, identified exactly one way — userId, customerPhone or customerEmail. Supplying more than one is rejected, as is supplying none: a reservation always has a guest.
Whether buyers must pass an age check. Defaults to false.
Opening stock for locationId. Omit to leave the branch unstocked.
Packaged size as free text, e.g. 500 alongside a unit of ml.
Whether the product can be delivered. Defaults to true.
Whether the product is digital and needs no physical fulfilment. Defaults to false.
Sale price in major units. Defaults to 0, meaning no discount.
Whether to surface the product in featured placements. Defaults to false.
Whether the product is orderable. Defaults to true.
Whether the product is restricted to Plus members. Defaults to false.
List price in major units of the vendor's currency, e.g. 12.50. Excludes tax.
Unit capacity is expressed in, e.g. g, ml, piece.
Percentage when percentage is true, otherwise a fixed amount.
Never negative: the order paths subtract this, so a negative value would increase what the customer pays.
Whether discount is a percentage rather than a fixed amount.
Permanently delete a bot. Returns true on success.
Delete a location. Returns true on success.
Delete a product (soft delete). Returns true on success.
Delete a service period. Returns true on success.
Delete one of the vendor's tables. Returns true on success.
Delete a turn time. Returns true on success.
Permanently delete a webhook. Returns true on success.
New stock level, applied to every branch stocking this product.
Replacement sale price in major units. 0 clears the discount.
Replacement unit for capacity.
New hex colour for display (e.g. #FF5733). Omit to leave it unchanged.
Whether discount is a percentage. Omit to leave it unchanged.
Replaces the location restriction outright. Some(vec![]) clears it.
Whether the webhook delivers. Set false to pause without deleting.