featureUpdate

Graphql fields and variables for the featureUpdate mutation

Update a feature

Scope required: product:write

For a complete list of input attributes see the FeatureAttributes type

mutation featureUpdate ($id: ID!, $attributes: FeatureAttributes!) {
  featureUpdate (id: $id, attributes: $attributes) {
      errors
      feature {
        code
        createdAt
        description
        id
        isProvisioned
        isUnit
        isVisible
        name
        position
        productId
        unitName
        updatedAt
      }
  }
}

Arguments

{
  "id": "456123",
  "attributes": {
    "name": "",
    "code": "",
    "position": 123,
    "description": "",
    "kind": "FeatureKind",
    "isUnit": true,
    "isProvisioned": true,
    "isVisible": true,
    "usageCalculationType": "UsageCalculation"
  }
}
Name
Type
Description

id

ID

Response

Name
Type
Description

errors

List (String)

feature

Last updated

Was this helpful?