planFeatureUpdate

Update a plan feature. The planFeatureUpdate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.

Scope required: product:write

For a complete list of input attributes see the PlanFeatureAttributes type

mutation planFeatureUpdate ($id: ID!, $attributes: PlanFeatureAttributes!) {
  planFeatureUpdate (id: $id, attributes: $attributes) {
      errors
      planFeature {
        createdAt
        featureId
        id
        planId
        updatedAt
        value
      }
  }
}

ArgumentsLink to Arguments section

{
  "id": "456123",
  "attributes": {
    "id": "456123",
    "planId": "",
    "featureId": "",
    "value": ""
  }
}
Name Type Description
id ID  
attributes PlanFeatureAttributes  

ResponseLink to Response section

Name Type Description
errors List (String)  
planFeature PlanFeature