Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

CartAdvanceGratuityInput

CartAdvanceGratuityInput: { fixed?: Maybe<Scalars["Money"]>; percentage?: Maybe<Scalars["Float"]> }

See CartAdvanceGratuity.

Type declaration

CartAppointment

CartAppointment: { __typename?: "CartAppointment"; appointmentId: Scalars["ID"]; clientId: Scalars["ID"]; forCartOwner: Scalars["Boolean"] }

Type declaration

  • Optional __typename?: "CartAppointment"
  • appointmentId: Scalars["ID"]
  • clientId: Scalars["ID"]
  • forCartOwner: Scalars["Boolean"]

    Whether an appointment belongs to the cart owner.

CartBookingQuestionAnswer

CartClientInformationInput

CartClientInformationInput: { email?: Maybe<Scalars["Email"]>; externalId?: Maybe<Scalars["String"]>; firstName?: Maybe<Scalars["String"]>; lastName?: Maybe<Scalars["String"]>; phoneNumber?: Maybe<Scalars["PhoneNumber"]> }

See CartClientInformation.

Type declaration

  • Optional email?: Maybe<Scalars["Email"]>
  • Optional externalId?: Maybe<Scalars["String"]>

    External ID of the client, used to integrate with external systems.

    The value should be unique for every client. Since the validation happens at checkout, if the external ID is not unique for the new client, the value is ignored.

  • Optional firstName?: Maybe<Scalars["String"]>
  • Optional lastName?: Maybe<Scalars["String"]>
  • Optional phoneNumber?: Maybe<Scalars["PhoneNumber"]>

CartDurationRange

CartDurationRange: { __typename?: "CartDurationRange"; max: Scalars["Int"]; min: Scalars["Int"]; variable: Scalars["Boolean"] }

Displayed duration range of a bookable item.

Type declaration

  • Optional __typename?: "CartDurationRange"
  • max: Scalars["Int"]

    Maximum duration in minutes.

  • min: Scalars["Int"]

    Minimum duration in minutes.

  • variable: Scalars["Boolean"]

    Whether the duration is variable, i.e. the minimum and maximum differ.

CheckoutCartPayload

CheckoutCartPayload: { __typename?: "CheckoutCartPayload"; appointments: CartAppointment[]; cart: Cart }

Type declaration

CreateCartInput

CreateCartInput: { advanceGratuity?: Maybe<CartAdvanceGratuityInput>; clientInformation?: Maybe<CartClientInformationInput>; clientMessage?: Maybe<Scalars["String"]>; discountCode?: Maybe<Scalars["String"]>; locationId?: Maybe<Scalars["ID"]>; referralSource?: Maybe<Scalars["String"]> }

Type declaration

  • Optional advanceGratuity?: Maybe<CartAdvanceGratuityInput>

    Optional gratuity

  • Optional clientInformation?: Maybe<CartClientInformationInput>

    Optional client information

  • Optional clientMessage?: Maybe<Scalars["String"]>

    Optional message or note from the client to the business

  • Optional discountCode?: Maybe<Scalars["String"]>

    Optional discount code

  • Optional locationId?: Maybe<Scalars["ID"]>

    ID of the cart location

  • Optional referralSource?: Maybe<Scalars["String"]>

    Referral source for the appointments booked in the cart.

    This values is mapped to the appointments' 'referral_source' custom field values after checkout.

Generated using TypeDoc