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
quantity
subscriptionChargeId
subscriptionId
updatedAt
usageAt
}
}
}
Arguments
{
"attributes": {
"quantity": "1.00",
"usageAt": "2022-06-01T00:00:00Z",
"featureId": "456123",
"featureCode": "",
"accountId": "456123",
"subscriptionId": "456123",
"subscriptionChargeId": "456123"
}
}
Name
Type
Description
Response
Name
Type
Description
errors
String
Last updated
Was this helpful?