SportsMutation
Fields
createBotBot!RequiredinputCreateBotInput!RequiredavatarUrlStringbotTypeBotType!RequiredcategoryStringconfigurationJSONdescriptionStringdisplayNameString!RequiredisPublicBooleanusernameString!RequiredwebhookSecretStringwebhookUrlStringcreateFacilityFacility!RequiredinputCreateFacilityInput!RequiredbookingModeFacilityBookingMode!RequiredcancellationPolicyIdIntcapacityInt!RequireddepositAmountDecimalenvironmentFacilityEnvironment!RequiredimageUrls[String!]!RequiredDefaults:maxDurationMinutesInt!RequiredminDurationMinutesInt!RequirednameString!RequiredslotIntervalMinutesInt!Requiredsports[SportType!]!RequiredsurfaceStringvendorLocationIdInt!RequiredcreateFacilityAvailabilityBlockFacilityAvailabilityBlock!RequiredinputCreateFacilityAvailabilityBlockInput!RequiredcreateLocationLocation!RequiredinputCreateLocationInput!RequiredaddressString!RequiredcityStringcountryStringdeliveryAvailableBooleandeliveryRadiusFloatemailStringisActiveBooleanlatitudeFloatlongitudeFloatnameString!RequiredphoneStringpickupAvailableBooleanpostalCodeStringstateStringcreateManualFacilityBookingFacilityBooking!RequiredinputCreateManualFacilityBookingInput!RequiredcustomerEmailStringcustomerPhoneStringdurationMinutesInt!RequiredfacilityIdInt!RequirednoteStringparticipantCountInt!RequiredrequireFloodlightBooleansportSportType!RequiredstartsAtDateTime!RequireduserIdIntcreateVendorCouponCoupon!RequiredinputCreateVendorCouponInput!RequiredcodeString!RequiredcolorString!RequireddescriptionStringdiscountDecimal!RequiredexpiresOnDateTimeforDeliveryBoolean!RequiredisActiveBoolean!RequiredmaxCouponAmountDecimalminOrderAmountDecimalpercentageBoolean!RequiredproductIds[Int!]RequiredtimesIntvendorLocationIds[Int!]RequiredcreateWebhookWebhook!RequiredinputCreateWebhookInput!Requiredevents[WebhookEvent!]!RequiredisActiveBooleanurlString!RequireddeactivateFacilityBoolean!RequiredfacilityIdInt!RequireddeleteBotBoolean!RequiredbotIdInt!RequireddeleteFacilityAvailabilityBlockBoolean!RequiredblockIdInt!RequireddeleteFacilityPricingRuleBoolean!RequiredruleIdInt!RequireddeleteLocationBoolean!RequiredlocationIdInt!RequireddeleteVendorCouponBoolean!RequiredcouponIdInt!RequireddeleteWebhookBoolean!RequiredwebhookIdInt!RequiredregenerateBotSecretString!RequiredbotIdInt!RequiredregenerateWebhookSecretString!RequiredwebhookIdInt!RequiredsetFacilitySports[SportType!]!RequiredfacilityIdInt!Requiredsports[SportType!]!RequiredtestBotWebhookBotWebhookTest!RequiredbotIdInt!RequiredtransitionFacilityBookingFacilityBooking!RequiredactionFacilityBookingTransition!RequiredbookingIdInt!RequiredupdateBotBot!RequiredbotIdInt!RequiredinputUpdateBotInput!RequiredavatarUrlStringcategoryStringconfigurationJSONdescriptionStringdisplayNameStringisPublicBooleanwebhookSecretStringwebhookUrlStringupdateFacilityFacility!RequiredfacilityIdInt!RequiredinputUpdateFacilityInput!RequiredbookingModeFacilityBookingModecancellationPolicyIdIntcapacityIntdepositAmountDecimalenvironmentFacilityEnvironmentimageUrls[String!]!RequiredDefaults:isActiveBooleanmaxDurationMinutesIntminDurationMinutesIntnameStringslotIntervalMinutesIntsurfaceStringupdateLocationLocation!RequiredinputUpdateLocationInput!RequiredaddressStringcityStringcountryStringdeliveryAvailableBooleandeliveryRadiusFloatemailStringisActiveBooleanlatitudeFloatlongitudeFloatnameStringphoneStringpickupAvailableBooleanpostalCodeStringstateStringlocationIdInt!RequiredupdateVendorCouponCoupon!RequiredcouponIdInt!RequiredinputUpdateVendorCouponInput!RequiredcodeStringcolorStringdescriptionStringdiscountDecimalexpiresOnDateTimeforDeliveryBooleanisActiveBooleanmaxCouponAmountDecimalminOrderAmountDecimalpercentageBooleanproductIds[Int!]RequiredtimesIntvendorLocationIds[Int!]RequiredupdateWebhookWebhook!RequiredinputUpdateWebhookInput!Requiredevents[WebhookEvent!]RequiredisActiveBooleanurlStringwebhookIdInt!RequiredupsertFacilityPricingRuleFacilityPricingRule!RequiredinputUpsertFacilityPricingRuleInput!RequireddepositAmountDecimalendTimeStringfacilityIdInt!RequiredfloodlightSurchargeDecimalidIntisMemberRateBooleanpriceAmountDecimal!RequiredpricingBasisPricingBasis!RequiredpriorityIntsportTypeSportTypestartTimeStringweekdayInt
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.
Gallery images given as URLs, for callers with no multipart channel (the OAuth2 developer API). Fetched into storage alongside photos.
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 customer this booking is for, identified exactly one way — userId, customerPhone or customerEmail, resolved server-side. Supplying more than one is a 400. Omitting all three still books to the acting vendor user, which is what a venue-held block is.
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.
Deactivate a facility. Returns true on success.
Permanently delete a bot. Returns true on success.
Delete a facility availability block. Returns true on success.
Delete a facility pricing rule. Returns true on success.
Delete a location. Returns true on success.
Permanently delete a webhook. Returns true on success.
Refundable deposit held per booking. Send 0 to clear.
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.
End of the intra-day window, HH:MM (24h).
HH:MM (24h) intra-day window the rule applies to.
1 = Sunday … 7 = Saturday. None = every day.