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