createOrUpdatePromotionPricing
Creates or updates promotion passthrough pricing for the current partner and edition pricing id
This page contains
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.