Customers
Customers
Customers
Archive a customer
Create a customer
List customers
Get billable metrics for a customer
Get customer costs
Preview events
Get a customer
Create or update customer ingest aliases
Update a customer name
Update a customer configuration
Customer
ShowShow
the Metronome ID of the customer
(deprecated, use ingest_aliases instead) the first ID (Metronome or ingest alias) that can be used in usage events
aliases for this customer that can be used instead of the Metronome customer ID in usage events
Customer Detail
ShowShow
the Metronome ID of the customer
Hide ParametersShow Parameters
The Salesforce account ID for the customer
(deprecated, use ingest_aliases instead) the first ID (Metronome or ingest alias) that can be used in usage events
aliases for this customer that can be used instead of the Metronome customer ID in usage events
RFC 3339 timestamp indicating when the customer was archived. Null if the customer is active.
This field's availability is dependent on your client's configuration.
Hide ParametersShow Parameters
Hide ParametersShow Parameters
CustomersAlerts
List customer alerts
Reset an alert for a customer
Get an alert
Customer Alert
ShowShow
Hide ParametersShow Parameters
the Metronome ID of the alert
Name of the alert
Status of the alert
Hide ParametersShow Parameters
Threshold value of the alert policy
Type of the alert
Hide ParametersShow Parameters
An array of strings, representing a way to filter the credit grant this alert applies to, by looking at the credit_grant_type field on the credit grant. This field is only defined for CreditPercentage and CreditBalance alerts
A list of custom field filters for alert types that support advanced filtering
Hide ParametersShow Parameters
Hide ParametersShow Parameters
Scopes alert evaluation to a specific presentation group key on individual line items. Only present for spend alerts.
Hide ParametersShow Parameters
Only present for spend_threshold_reached alerts. Scope alert to a specific group key on individual line items.
Hide ParametersShow Parameters
Only supported for invoice_total_reached alerts. A list of invoice types to evaluate.
Prevents the creation of duplicates. If a request to create a record is made with a previously used uniqueness key, a new record will not be created and the request will fail with a 409 error.
The status of the customer alert. If the alert is archived, null will be returned.
Hide ParametersShow Parameters
If present, indicates the reason the alert was triggered.
CustomersBilling Config
Set a customer billing configuration
Delete a customer billing configuration
Get a customer billing configuration
CustomersCommits
Create a commit
List commits
Update the commit end date
CustomersCredits
Create a credit
List credits
Update the credit end date
CustomersInvoices
Add a one time charge
List invoices
List invoice breakdowns
Get an invoice
Invoice
ShowShow
Hide ParametersShow Parameters
Details about the credit or commit that was applied to this line item. Only present on line items with product of USAGE, SUBSCRIPTION or COMPOSITE types.
Hide ParametersShow Parameters
Hide ParametersShow Parameters
For line items with product of USAGE, SUBSCRIPTION, or COMPOSITE types, the ID of the credit or commit that was applied to this line item. For line items with product type of FIXED, the ID of the prepaid or postpaid commit that is being paid for.
PrepaidCommit (for commit types PREPAID and CREDIT) or PostpaidCommit (for commit type POSTPAID).
ID of the discount applied to this line item.
Indicates whether the line item is prorated for SUBSCRIPTION type product.
Only present for contract invoices and when the include_list_prices query parameter is set to true. This will include the list rate for the charge if applicable. Only present for usage and subscription line items.
The end date for the billing period on the invoice.
The start date for the billing period on the invoice.
Only present for line items paying for a postpaid commit true-up.
Hide ParametersShow Parameters
Includes the presentation group values associated with this line item if presentation group keys are used.
Includes the pricing group values associated with this line item if dimensional pricing is used.
ID of the product associated with the line item.
The current product tags associated with the line item's product_id.
The type of the line item's product. Possible values are FixedProductListItem (for FIXED type products), UsageProductListItem (for USAGE type products), SubscriptionProductListItem (for SUBSCRIPTION type products) or CompositeProductListItem (for COMPOSITE type products). For scheduled charges, commit and credit payments, the value is FixedProductListItem.
The quantity associated with the line item.
Hide ParametersShow Parameters
ID of scheduled charge.
Hide ParametersShow Parameters
the unit price for this charge, present only if the charge is not tiered and the quantity is nonzero
when the current tier started and ends (for tiered charges only)
Hide ParametersShow Parameters
at what metric amount this tier begins
Populated if the line item has a tiered price.
Hide ParametersShow Parameters
The unit price associated with the line item.
This field's availability is dependent on your client's configuration.
Hide ParametersShow Parameters
Hide ParametersShow Parameters
Hide ParametersShow Parameters
Hide ParametersShow Parameters
Hide ParametersShow Parameters
When the invoice was created (UTC). This field is present for correction invoices only.
Hide ParametersShow Parameters
Hide ParametersShow Parameters
Hide ParametersShow Parameters
Hide ParametersShow Parameters
This field's availability is dependent on your client's configuration.
Only present for contract invoices with reseller royalties.
Hide ParametersShow Parameters
Hide ParametersShow Parameters
Hide ParametersShow Parameters
Hide ParametersShow Parameters
This field's availability is dependent on your client's configuration.