FeatureUsageAttributes

Attributes for creating feature usage. The FeatureUsageAttributes input type in Bunny's GraphQL API, with its fields and an example.

{
  "quantity": "1.00",
  "usageAt": "2022-06-01T00:00:00Z",
  "featureId": "456123",
  "featureCode": "",
  "accountId": "456123",
  "subscriptionId": "456123",
  "subscriptionChargeId": "456123",
  "overrideUsageAtLimit": true,
  "notes": ""
}
Name Type Description
quantity Float  
usageAt ISO8601DateTime The time when usage occurred
featureId ID  
featureCode String  
accountId ID When given, must be the account of the subscription the usage is for
subscriptionId ID  
subscriptionChargeId ID  
overrideUsageAtLimit Boolean  
notes String