Preview

createOrUpdatePromotionPricing is in Preview status and is subject to change without notice. For more information about Preview status, see the GraphQL API policy.

createOrUpdatePromotionPricing

Creates or updates promotion passthrough pricing for the current partner and edition pricing id

This page contains

    Authorization Rules

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

    Scopes

    ROLE_DEVELOPER

    ROLE_CHANNEL_ADMIN

    ROLE_PARTNER

    Arguments

    input CreateOrUpdatePromotionPricingInput! PREVIEW

    CreateOrUpdatePromotionPricingInput fields

    editionPricingId ID!

    Edition pricing identifier (pricing plan id)

    promoPassthroughValue Float!

    Passthrough amount; must be between 0.0 and 1.0 when promoPassthroughMode is PERCENTAGE

    promoPassthroughMode PromoPassthroughMode! PREVIEW

    PERCENTAGE constrains promoPassthroughValue to 0.0–1.0; FIXED_PRICE is an absolute amount

    Return Fields

    promotionPricing PromotionPricing PREVIEW

    Saved promotion passthrough pricing

    userErrors [InvalidPromotionPassthroughPercentageError!] PREVIEW

    Validation or business errors (e.g. percentage out of range)

    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.