UpsertFacilityPricingRuleInput

Upsert a pricing rule for a facility.

Fields

    depositAmount
    Decimal
    Refundable deposit for bookings matched by this rule; overrides the facility default.
    endTime
    String

    End of the intra-day window, HH:MM (24h).

    facilityId
    Int!
    Required
    Facility the rule prices.
    floodlightSurcharge
    Decimal
    Extra charged when floodlights are requested. Omit for none.
    id
    Int
    When set, updates the existing rule; otherwise inserts a new one.
    isMemberRate
    Boolean
    Restrict the rule to members. Defaults to false.
    priceAmount
    Decimal!
    Required
    Price charged under this rule, in the venue's currency.
    pricingBasis
    PricingBasis!
    Required
    Whether the price is charged per slot or per hour, and whether it multiplies by headcount.
    priority
    Int
    Higher values win when several rules match a booking. Defaults to 0.
    sportType
    SportType
    Restrict the rule to one sport. Omit to price every sport at the facility.
    startTime
    String

    HH:MM (24h) intra-day window the rule applies to.

    weekday
    Int

    1 = Sunday … 7 = Saturday. None = every day.

Built with