ProductVariantUpdatePricingPlanInput

Input for updating variant pricing plan

This page contains

    Fields

    id ID!

    Unique identifier for pricing plan

    removeContract Boolean

    Defines if contract needs to be removed

    Default value: false

    contract ProductVariantPricingPlanContractInput

    Defines contract definition

    billingFrequency PricingDuration PREVIEW

    Defines the length of the each billing cycle

    allowCustomUsage Boolean

    If true, pricing plan allows to report custom metered usage

    keepBillDateOnUsageChange Boolean

    Set to true to keep billing date on usage change

    keepBillDateOnPricingPlanChange Boolean

    Set to true to keep billing date on pricing plan change

    reactivationPeriod NonNegativeInt

    Reactivation period

    separatePrepaid Boolean

    Set to true to have prepaid charges in a separate invoice

    primaryPrice Boolean

    If true, this pricing plan will be the primary pricing plan

    invoiceFrequency PricingDuration PREVIEW

    Invoicing frequency for the plan. If null, billing frequency is used

    removeFlatFee Boolean

    Defines if flat fee needs to be removed

    Default value: false

    flatFee ItemPriceInput

    Defines price for flat fee of pricing plan

    removeSetupFee Boolean

    Defines if setup fee needs to be removed

    Default value: false

    setupFee ItemPriceInput

    Defines price for setup fee of pricing plan

    unitFees ProductVariantUnitFeesInput

    Defines prices on different unit prices of pricing plan