create_usage_record
Create usage records for subscription items to implement usage-based billing by tracking consumption quantities with specified actions.
Instructions
Create a new usage record for a subscription item (for usage-based billing).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subscriptionItemId | Yes | The subscription item ID | |
| quantity | Yes | The usage quantity | |
| action | Yes | The action (e.g., 'increment', 'set') |