Update pricing information for a variant

This page contains

    Authorization Rules

    This request requires authorization with at least one of the following scopes:





    input UpdateProductVariantPricingInput!

    Attributes to update pricing information for a variant

    UpdateProductVariantPricingInput fields

    variantId ID!

    Unique identifier for variant

    revenueType RevenueType

    Revenue type of variant

    freeTrial PricingPeriodInput

    Free trial details

    expiredTrialGracePeriod NonNegativeInt

    Grace period after the end of the free trial

    addPricingPlans [ProductVariantAddPricingPlanInput!]

    List of a pricing plans to be added

    updatePricingPlans [ProductVariantUpdatePricingPlanInput!]

    List of a pricing plans to be updated

    removePricingPlans [String!]

    List of a pricing plan unique identifiers to be removed

    includedItems [IncludedItemInput!]

    Specified included amounts of units in the base price

    modifiedBy String!

    Email id of user modifying variant pricing

    Return Fields

    productVariantPricing ProductVariantPricing

    Updated details of variant pricing

    userErrors [UpdateProductVariantPricingError!]

    Error details while updating a pricing

    Interactive example

    This is an example mutation query. Use the embedded interactive tool below to edit the query.

    Hint: use Ctrl + Space for autocompleting fields.