Mutation
mutation RefreshContractUsage($input: RefreshContractUsageInput!) {
refreshContractUsage(input: $input) {
failedFeatureIds
reportedFeatureIds
skippedFeatureIds
}
}Variables
{
"input": {
"contractId": "string"
}
}Response
{
"data": {
"refreshContractUsage": {
"failedFeatureIds": [
"string"
],
"reportedFeatureIds": [
"string"
],
"skippedFeatureIds": [
"string"
]
}
}
}Mutations
refreshContractUsage
Refresh the metered usage of a contract’s subscriptions in the connected billing provider for the current billing period. Sends only the usage not yet reported, so it is safe to call repeatedly; a no-op when there is nothing to report. Requires a connected billing provider integration.
MUTATION
refreshContractUsage(input: RefreshContractUsageInput!): RefreshContractUsageResultDTO!Arguments
input
required
Input for refreshing a contract's usage in the connected billing provider.
Returns
failedFeatureIds
[String!]!
Feature IDs whose usage report failed transiently and will be retried on the next report
reportedFeatureIds
[String!]!
Feature IDs whose usage was successfully reported
skippedFeatureIds
[String!]!
Feature IDs permanently excluded from billing (their meter aggregation cannot be reconciled with the provider)
Mutation
mutation RefreshContractUsage($input: RefreshContractUsageInput!) {
refreshContractUsage(input: $input) {
failedFeatureIds
reportedFeatureIds
skippedFeatureIds
}
}Variables
{
"input": {
"contractId": "string"
}
}Response
{
"data": {
"refreshContractUsage": {
"failedFeatureIds": [
"string"
],
"reportedFeatureIds": [
"string"
],
"skippedFeatureIds": [
"string"
]
}
}
}