featureUsageCreate

Graphql fields and variables for the featureUsageCreate mutation

Create a feature usage record for usage based billing

Scope required: billing:write

For a complete list of input attributes see the FeatureUsageAttributes type

mutation featureUsageCreate ($attributes: FeatureUsageAttributes!) {
  featureUsageCreate (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?