featureUsageUpdate

Graphql fields and variables for the featureUsageUpdate mutation

Update a feature usage record for usage based billing

Scope required: billing:write

For a complete list of input attributes see the FeatureUsageAttributes type

mutation featureUsageUpdate ($id: ID!, $attributes: FeatureUsageAttributes!) {
  featureUsageUpdate (id: $id, attributes: $attributes) {
      errors
      featureUsage {
        accountId
        createdAt
        featureId
        id
        notes
        quantity
        subscriptionChargeId
        subscriptionId
        updatedAt
        usageAt
      }
  }
}

Arguments

Name
Type
Description

Response

Name
Type
Description

errors

String

featureUsage

Last updated

Was this helpful?