planCreate

Graphql fields and variables for the planCreate mutation

Create a plan

Scope required: product:write

For a complete list of input attributes see the PlanAttributes type

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

Arguments

Name
Type
Description

attributes

Response

Name
Type
Description

errors

List (String)

plan

planFeatures

Last updated

Was this helpful?