planUpdate

Graphql fields and variables for the planUpdate mutation

Update a plan

Scope required: product:write

For a complete list of input attributes see the PlanAttributes type

mutation planUpdate ($id: ID!, $attributes: PlanAttributes!, $planFeatures: [PlanFeatureAttributes!]!) {
  planUpdate (id: $id, attributes: $attributes, planFeatures: $planFeatures) {
      errors
      plan {
        addon
        availableFrom
        availableTo
        basePrice
        code
        contactUsLabel
        contactUsUrl
        createdAt
        description
        id
        internalNotes
        isAvailableNow
        isVisible
        name
        position
        pricingDescription
        productId
        productPlanName
        selfServiceBuy
        selfServiceCancel
        selfServiceRenew
        updatedAt
      }
  }
}

Arguments

Name
Type
Description

id

ID

attributes

planFeatures

Response

Name
Type
Description

errors

List (String)

plan

Last updated

Was this helpful?