updatePricingTemplate
Update pricing template for a product
This page contains
Arguments
| input UpdatePricingTemplateInput! | Attributes to update pricing template for a product |
UpdatePricingTemplateInput fields
| productRefId ID! | Unique identifier for product ref |
| 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 pricing template |
Return Fields
| pricingTemplate PricingTemplate | Updated details of a pricing template |
| userErrors [UpdatePricingTemplateError!] | Error details while updating pricing template |
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.