ParcelMutation
Fields
createBotBot!RequiredinputCreateBotInput!RequiredavatarUrlStringbotTypeBotType!RequiredcategoryStringconfigurationJSONdescriptionStringdisplayNameString!RequiredisPublicBooleanusernameString!RequiredwebhookSecretStringwebhookUrlStringcreateLocationLocation!RequiredinputCreateLocationInput!RequiredaddressString!RequiredcityStringcountryStringdeliveryAvailableBooleandeliveryRadiusFloatemailStringisActiveBooleanlatitudeFloatlongitudeFloatnameString!RequiredphoneStringpickupAvailableBooleanpostalCodeStringstateStringcreateVendorCouponCoupon!RequiredinputCreateVendorCouponInput!RequiredcodeString!RequiredcolorString!RequireddescriptionStringdiscountDecimal!RequiredexpiresOnDateTimeforDeliveryBoolean!RequiredisActiveBoolean!RequiredmaxCouponAmountDecimalminOrderAmountDecimalpercentageBoolean!RequiredproductIds[Int!]RequiredtimesIntvendorLocationIds[Int!]RequiredcreateWebhookWebhook!RequiredinputCreateWebhookInput!Requiredevents[WebhookEvent!]!RequiredisActiveBooleanurlString!RequireddeleteBotBoolean!RequiredbotIdInt!RequireddeleteLocationBoolean!RequiredlocationIdInt!RequireddeletePackagePricingBoolean!RequiredpricingIdInt!RequireddeleteVendorCouponBoolean!RequiredcouponIdInt!RequireddeleteWebhookBoolean!RequiredwebhookIdInt!RequiredprovisionUnitCredentialAutonomousUnitCredential!RequiredidInt!RequiredregenerateBotSecretString!RequiredbotIdInt!RequiredregenerateWebhookSecretString!RequiredwebhookIdInt!RequiredregisterUnitAutonomousUnit!RequiredinputRegisterVendorAutonomousUnitInput!RequiredcountryIdIntfirmwareVersionStringhomeBaseLocationIdIntmakeStringmaxRangeKmFloat!RequiredmaxSpeedKphFloat!RequiredmodelStringpayloadCapacityKgFloat!RequiredserialNoString!RequiredunitKindAutonomousUnitKind!RequiredrevokeUnitCredentialBoolean!RequiredidInt!RequiredsetUnitStatusBoolean!RequiredidInt!RequiredstatusAutonomousUnitStatus!RequiredtestBotWebhookBotWebhookTest!RequiredbotIdInt!RequiredupdateBotBot!RequiredbotIdInt!RequiredinputUpdateBotInput!RequiredavatarUrlStringcategoryStringconfigurationJSONdescriptionStringdisplayNameStringisPublicBooleanwebhookSecretStringwebhookUrlStringupdateLocationLocation!RequiredinputUpdateLocationInput!RequiredaddressStringcityStringcountryStringdeliveryAvailableBooleandeliveryRadiusFloatemailStringisActiveBooleanlatitudeFloatlongitudeFloatnameStringphoneStringpickupAvailableBooleanpostalCodeStringstateStringlocationIdInt!RequiredupdatePackagePricingPackageTypePricingData!RequiredpriceDecimal!RequiredpricingIdInt!RequiredupdateUnitAutonomousUnit!RequiredidInt!RequiredinputUpdateOwnAutonomousUnitInput!RequiredfirmwareVersionStringhomeBaseLocationIdIntisActiveBooleanmakeStringmaxRangeKmFloatmaxSpeedKphFloatmodelStringpayloadCapacityKgFloatupdateVendorCouponCoupon!RequiredcouponIdInt!RequiredinputUpdateVendorCouponInput!RequiredcodeStringcolorStringdescriptionStringdiscountDecimalexpiresOnDateTimeforDeliveryBooleanisActiveBooleanmaxCouponAmountDecimalminOrderAmountDecimalpercentageBooleanproductIds[Int!]RequiredtimesIntvendorLocationIds[Int!]RequiredupdateWebhookWebhook!RequiredinputUpdateWebhookInput!Requiredevents[WebhookEvent!]RequiredisActiveBooleanurlStringwebhookIdInt!RequiredupsertPackagePricingPackageTypePricingData!RequiredpackageTypeIdInt!RequiredpriceDecimal!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.
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 pricing row the vendor owns. Returns true on success.
Permanently delete a webhook. Returns true on success.
Issue machine credentials for a unit.
The plaintext secret is returned exactly once and only its hash is stored, so a lost secret can only be replaced, never recovered. Re-provisioning a credentialed unit is refused rather than silently rotating — that would strand the unit in the field with a secret nobody holds.
Report a unit's operational status.
Restricted to the states an owner legitimately controls. Assigned, Enroute and Returning follow from dispatch decisions and Disabled is an administrative act — accepting either here would let an owner desynchronise a unit from its live job or quietly un-ground it.
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.