Metronome
metronomeMetronome is a usage-based billing platform for managing customers, contracts, pricing, usage, credits, and invoices.
Acciones disponibles (118)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Add Manual Balance Ledger EntryMETRONOME_ADD_MANUAL_BALANCE_LEDGER_ENTRYAcciónManually increase or decrease an existing commit or credit balance segment.
METRONOME_ADD_MANUAL_BALANCE_LEDGER_ENTRYAcciónManually increase or decrease an existing commit or credit balance segment.
Parámetros de entrada
idstringObligatorioID of the commit or credit balance to adjust.
amountnumberObligatorioAmount to add; a negative value draws down the balance.
reasonstringObligatorioReason displayed in the balance ledger.
timestampstringdate-timeTime of the adjustment; defaults to the segment start.
segment_idstringObligatorioID of the balance segment to adjust.
contract_idstringContract ID; omit for a customer-level balance.
customer_idstringObligatorioID of the customer whose balance is adjusted.
uniqueness_keystringIdempotent resource uniqueness key.
per_group_amountsobjectPer-seat amounts, which must sum to amount.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add RateMETRONOME_ADD_RATEAcciónAdd one product rate to a Metronome rate card. Prefer Add Rates for bulk changes.
METRONOME_ADD_RATEAcciónAdd one product rate to a Metronome rate card. Prefer Add Rates for bulk changes.
Parámetros de entrada
pricenumberDefault price for the rate.
tiersobject[]Price tiers for a tiered rate.
entitledbooleanObligatorioWhether contracts are entitled to this product.
quantitynumberDefault quantity for a subscription rate.
rate_typestringObligatorioenumPricing model for the rate.
FLATflatPERCENTAGEpercentageSUBSCRIPTIONsubscriptionTIEREDtieredTIERED_PERCENTAGEtiered_percentageCUSTOMcustomproduct_idstringObligatoriouuidID of the product to price.
commit_rateobjectAlternative rate used when consuming a commit.
custom_rateobjectConfiguration interpreted by a custom rate processor.
is_proratedbooleanWhether a subscription rate is prorated.
starting_atstringObligatoriodate-timeInclusive effective timestamp for the rate.
rate_card_idstringObligatoriouuidID of the rate card to update.
ending_beforestringdate-timeExclusive end timestamp for the rate.
credit_type_idstringuuidPricing unit for the rate; defaults to USD cents.
minimum_configobjectMinimum charge for a percentage-based rate.
billing_frequencystringenumBilling frequency for subscription products.
MONTHLYQUARTERLYSEMI_ANNUALANNUALWEEKLYmonthlyquarterlysemi_annualannualweeklypricing_group_valuesobjectPricing-group key-value pairs used to select this rate.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add RatesMETRONOME_ADD_RATESAcciónAdd multiple product rates to a Metronome rate card in one request.
METRONOME_ADD_RATESAcciónAdd multiple product rates to a Metronome rate card in one request.
Parámetros de entrada
ratesobject[]ObligatorioProduct rates to add to the rate card.
rate_card_idstringObligatoriouuidID of the rate card to update.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Archive AlertMETRONOME_ARCHIVE_ALERTAcciónPermanently stop a threshold notification from evaluating, optionally releasing its uniqueness key for reuse.
METRONOME_ARCHIVE_ALERTAcciónPermanently stop a threshold notification from evaluating, optionally releasing its uniqueness key for reuse.
Parámetros de entrada
idstringObligatorioMetronome ID of the threshold notification to archive.
release_uniqueness_keybooleanRelease the notification's uniqueness key so it can be reused.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Archive Billable MetricMETRONOME_ARCHIVE_BILLABLE_METRICAcciónArchive a Metronome billable metric. Archived metrics cannot be assigned to new products, and Metronome does not document a restore operation.
METRONOME_ARCHIVE_BILLABLE_METRICAcciónArchive a Metronome billable metric. Archived metrics cannot be assigned to new products, and Metronome does not document a restore operation.
Parámetros de entrada
idstringObligatorioUUID of the billable metric to archive.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Archive CommitMETRONOME_ARCHIVE_COMMITAcciónArchive a customer commit so it is no longer active.
METRONOME_ARCHIVE_COMMITAcciónArchive a customer commit so it is no longer active.
Parámetros de entrada
commit_idstringObligatorioID of the commit to archive.
customer_idstringObligatorioID of the customer whose commit is archived.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Archive ContractMETRONOME_ARCHIVE_CONTRACTAcciónPermanently end and archive a contract and its terms, cancel draft invoices, void upcoming scheduled invoices, and optionally void existing finalized invoices. Active prepaid commit balances are closed and may receive expiration ledger entries. Requires the customer and contract IDs.
METRONOME_ARCHIVE_CONTRACTAcciónPermanently end and archive a contract and its terms, cancel draft invoices, void upcoming scheduled invoices, and optionally void existing finalized invoices. Active prepaid commit balances are closed and may receive expiration ledger entries. Requires the customer and contract IDs.
Parámetros de entrada
contract_idstringObligatoriouuidID of the contract to archive.
customer_idstringObligatoriouuidID of the customer whose contract will be archived.
void_invoicesbooleanObligatorioWhether to also void existing finalized invoices. Draft invoices are always canceled and upcoming scheduled invoices are always voided.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Archive CreditMETRONOME_ARCHIVE_CREDITAcciónArchive a customer credit so it is no longer active.
METRONOME_ARCHIVE_CREDITAcciónArchive a customer credit so it is no longer active.
Parámetros de entrada
credit_idstringObligatorioID of the credit to archive.
customer_idstringObligatorioID of the customer whose credit is archived.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Archive Pricing UnitMETRONOME_ARCHIVE_CREDIT_TYPEAcciónArchive a custom Metronome pricing unit so it no longer appears in pricing unit selectors by default.
METRONOME_ARCHIVE_CREDIT_TYPEAcciónArchive a custom Metronome pricing unit so it no longer appears in pricing unit selectors by default.
Parámetros de entrada
idstringObligatoriouuidID of the custom pricing unit to archive.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Archive CustomerMETRONOME_ARCHIVE_CUSTOMERAcciónPermanently archive a Metronome customer and every customer contract, void the corresponding invoices, and stop associated notifications. Requires the customer ID and cannot be undone.
METRONOME_ARCHIVE_CUSTOMERAcciónPermanently archive a Metronome customer and every customer contract, void the corresponding invoices, and stop associated notifications. Requires the customer ID and cannot be undone.
Parámetros de entrada
idstringObligatorioUUID of the customer to archive.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Archive Customer Billing Provider ConfigurationsMETRONOME_ARCHIVE_CUSTOMER_BILLING_PROVIDER_CONFIGURATIONSAcciónArchive one or more billing provider configurations for a Metronome customer. This immediately stops affected contracts from metering to downstream systems.
METRONOME_ARCHIVE_CUSTOMER_BILLING_PROVIDER_CONFIGURATIONSAcciónArchive one or more billing provider configurations for a Metronome customer. This immediately stops affected contracts from metering to downstream systems.
Parámetros de entrada
customer_idstringObligatorioUUID of the customer that owns the billing provider configurations.
customer_billing_provider_configuration_idsstring[]ObligatorioUUIDs of the customer billing provider configurations to archive.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Archive Notification ConfigMETRONOME_ARCHIVE_NOTIFICATION_CONFIGAcciónArchive an offset lifecycle-event notification configuration so Metronome no longer processes it.
METRONOME_ARCHIVE_NOTIFICATION_CONFIGAcciónArchive an offset lifecycle-event notification configuration so Metronome no longer processes it.
Parámetros de entrada
idstringObligatoriouuidID of the offset notification configuration to archive.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Archive PackageMETRONOME_ARCHIVE_PACKAGEAcciónPermanently archive a package so it cannot be used to create new contracts. Existing contracts using the package continue to function.
METRONOME_ARCHIVE_PACKAGEAcciónPermanently archive a package so it cannot be used to create new contracts. Existing contracts using the package continue to function.
Parámetros de entrada
package_idstringObligatoriouuidID of the package to archive.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Archive ProductMETRONOME_ARCHIVE_PRODUCTAcciónArchive a Metronome product so it cannot be used for new rates. Existing rate cards continue to function, and Metronome does not support unarchiving.
METRONOME_ARCHIVE_PRODUCTAcciónArchive a Metronome product so it cannot be used for new rates. Existing rate cards continue to function, and Metronome does not support unarchiving.
Parámetros de entrada
product_idstringObligatoriouuidID of the product to archive.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Archive Rate CardMETRONOME_ARCHIVE_RATE_CARDAcciónPermanently archive a rate card so it cannot be used for new contracts.
METRONOME_ARCHIVE_RATE_CARDAcciónPermanently archive a rate card so it cannot be used for new contracts.
Parámetros de entrada
idstringObligatoriouuidID of the rate card to archive.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create AlertMETRONOME_CREATE_ALERTAcciónCreate a threshold notification that monitors customer spend, usage, credits, commits, invoice totals, or seat balances.
METRONOME_CREATE_ALERTAcciónCreate a threshold notification that monitors customer spend, usage, credits, commits, invoice totals, or seat balances.
Parámetros de entrada
namestringObligatorioDisplay name of the threshold notification.
thresholdnumberObligatorioThreshold amount, remaining days, or percentage used by the notification.
alert_typestringObligatorioenumType of threshold notification to create.
spend_threshold_reachedmonthly_invoice_total_spend_threshold_reachedusage_threshold_reachedlow_remaining_days_for_commit_segment_reachedlow_remaining_commit_balance_reachedlow_remaining_commit_percentage_reachedlow_remaining_days_for_contract_credit_segment_reachedlow_remaining_contract_credit_balance_reachedlow_remaining_contract_credit_percentage_reachedlow_remaining_contract_credit_and_commit_balance_reachedlow_remaining_contract_credit_and_commit_percentage_reachedinvoice_total_reached+1access_typestringenumCommit or credit access type evaluated by supported notifications.
SPENDspendQUANTITYquantitycustomer_idstringCustomer ID to target; omit to create the notification for all customers.
seat_filterobjectSeat group scope for a remaining seat balance notification.
group_valuesobject[]Presentation group key-value filters for spend threshold notifications.
credit_type_idstringPricing unit ID used by notification types that evaluate monetary balances.
uniqueness_keystringUnique idempotency key that prevents duplicate notification creation.
alert_specifiersobject[]Commit and credit filters used to calculate combined remaining balances.
billable_metric_idstringBillable metric ID required for usage threshold notifications.
evaluate_on_createbooleanEvaluate existing customers immediately after creating the notification.
custom_field_filtersobject[]Custom field filters for notification types that support advanced filtering.
invoice_types_filterstring[]Invoice types evaluated by an invoice total notification.
credit_grant_type_filtersstring[]Credit grant types to which the notification applies.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Billable MetricMETRONOME_CREATE_BILLABLE_METRICAcciónCreate a streaming billable metric from event filters and aggregation rules, or create a SQL billable metric by supplying sql instead.
METRONOME_CREATE_BILLABLE_METRICAcciónCreate a streaming billable metric from event filters and aggregation rules, or create a SQL billable metric by supplying sql instead.
Parámetros de entrada
sqlstringSQL query for a SQL billable metric. Omit aggregation_type, event_type_filter, property_filters, aggregation_key, and group_keys when this is provided.
namestringObligatorioDisplay name of the billable metric.
group_keysarray[]Property sets used to group usage into distinct invoice buckets.
custom_fieldsobjectCustom key-value fields to attach to the billable metric.
aggregation_keystringEvent property aggregated by the metric; it must name a property filter and does not apply to count aggregation.
aggregation_typestringenumAggregation performed on matching events.
countCountCOUNTlatestLatestLATESTmaxMaxMAXsumSumSUM+3property_filtersobject[]Rules on event properties; every rule must pass for an event to match.
event_type_filterobjectOptional rule matching events by event type.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create ContractMETRONOME_CREATE_CONTRACTAcciónCreate a Metronome contract with pricing, credits, commitments, subscriptions, and billing terms.
METRONOME_CREATE_CONTRACTAcciónCreate a Metronome contract with pricing, credits, commitments, subscriptions, and billing terms.
Parámetros de entrada
namestringCustomer-facing contract name.
commitsobject[]Commitment terms to create.
creditsobject[]Credit terms to create.
discountsobject[]Discount terms to add when enabled for the account.
overridesobject[]Rate overrides to add to the contract.
package_idstringuuidPackage ID to provision instead of defining standalone terms.
transitionobjectRenewal or supersession relationship to another contract.
customer_idstringObligatoriouuidID of the customer receiving the contract.
starting_atstringObligatoriodate-timeInclusive contract start timestamp.
rate_card_idstringuuidRate card used by the contract.
usage_filterobjectUsage routing filter for this contract.
custom_fieldsobjectCustom field values for the contract.
ending_beforestringdate-timeExclusive contract end timestamp.
package_aliasstringPackage alias to provision; mutually exclusive with package_id.
subscriptionsobject[]Subscription terms to create.
spend_trackersobject[]Spend trackers attached to this contract.
uniqueness_keystringIdempotency key preventing duplicate contract creation.
rate_card_aliasstringRate card alias resolved as of the contract start.
stripe_metadataobjectStripe subscription metadata linked to the contract.
recurring_commitsobject[]Recurring commitment terms to create.
recurring_creditsobject[]Recurring credit terms to create.
scheduled_chargesobject[]One-time scheduled charges to add.
reseller_royaltiesobject[]Reseller royalty terms to add.
total_contract_valuenumberTotal value recorded for the contract.
professional_servicesobject[]Professional service terms to add.
net_payment_terms_daysnumberDays after invoice issue when payment is due.
package_customizationsobjectOverrides applied when provisioning from a package.
hierarchy_configurationobjectAccount hierarchy configuration for the contract.
netsuite_sales_order_idstringNetSuite sales order associated with the contract.
usage_statement_scheduleobjectUsage statement cadence and billing anchor.
salesforce_opportunity_idstringSalesforce opportunity associated with the contract.
revenue_system_configurationobjectRevenue system configuration selected for the contract.
spend_threshold_configurationobjectSpend threshold configuration for the contract.
billing_provider_configurationobjectBilling provider configuration selected for the contract.
credit_type_conversion_overridesobject[]Custom pricing-unit conversion overrides.
multiplier_override_prioritizationstringenumHow overlapping multiplier overrides are prioritized.
LOWEST_MULTIPLIERlowest_multiplierEXPLICITexplicitscheduled_charges_on_usage_invoicesstringHow scheduled charges are placed on usage invoices.
prepaid_balance_threshold_configurationobjectPrepaid balance threshold configuration.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Pricing UnitMETRONOME_CREATE_CREDIT_TYPEAcciónCreate a custom Metronome pricing unit for charging usage in a non-fiat unit.
METRONOME_CREATE_CREDIT_TYPEAcciónCreate a custom Metronome pricing unit for charging usage in a non-fiat unit.
Parámetros de entrada
namestringObligatorioName of the custom pricing unit shown on invoices.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create CustomerMETRONOME_CREATE_CUSTOMERAcciónCreate a Metronome customer with optional usage aliases, custom fields, and billing or revenue system configurations.
METRONOME_CREATE_CUSTOMERAcciónCreate a Metronome customer with optional usage aliases, custom fields, and billing or revenue system configurations.
Parámetros de entrada
namestringObligatorioCustomer display name; Metronome truncates it to 160 characters.
external_idstringDeprecated usage identifier; prefer ingest_aliases.
custom_fieldsobjectCustom field values to attach to the customer.
ingest_aliasesstring[]Aliases that can identify this customer in usage events.
customer_revenue_system_configurationsobject[]Revenue system configurations to create with the customer.
customer_billing_provider_configurationsobject[]Billing provider configurations to create with the customer.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Customer CommitMETRONOME_CREATE_CUSTOMER_COMMITAcciónCreate a customer-level prepaid or postpaid commit with access and invoice schedules.
METRONOME_CREATE_CUSTOMER_COMMITAcciónCreate a customer-level prepaid or postpaid commit with access and invoice schedules.
Parámetros de entrada
namestringName displayed on invoices.
typestringObligatorioenumCommit payment timing.
PREPAIDprepaidPOSTPAIDpostpaidprioritynumberObligatorioDrawdown priority; lower values apply first.
rate_typestringenumRate used to draw down the commit.
COMMIT_RATEcommit_rateLIST_RATElist_rateproduct_idstringObligatorioFixed product used to invoice the commit.
specifiersobject[]Usage filters for commit drawdown.
customer_idstringObligatorioID of the customer receiving the commit.
descriptionstringInternal commit description.
custom_fieldsobjectCustom fields attached to the commit.
uniqueness_keystringKey preventing duplicate commits or credits.
access_scheduleobjectObligatorioSchedule distributing committed balance.
invoice_scheduleobjectSchedule for invoicing the commit.
invoice_contract_idstringContract billed for the commit.
applicable_product_idsstring[]Products whose usage can draw down the commit.
applicable_contract_idsstring[]Contracts to which the commit applies.
applicable_product_tagsstring[]Product tags whose usage can draw down the commit.
netsuite_sales_order_idstringNetSuite sales order ID, when enabled.
salesforce_opportunity_idstringSalesforce opportunity ID, when enabled.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Customer CreditMETRONOME_CREATE_CUSTOMER_CREDITAcciónCreate a customer-level credit with a scheduled spend or quantity balance.
METRONOME_CREATE_CUSTOMER_CREDITAcciónCreate a customer-level credit with a scheduled spend or quantity balance.
Parámetros de entrada
namestringName displayed on invoices.
prioritynumberObligatorioDrawdown priority; lower values apply first.
rate_typestringenumRate used to draw down the credit.
COMMIT_RATEcommit_rateLIST_RATElist_rateproduct_idstringObligatorioProduct associated with the credit.
specifiersobject[]Usage filters for credit drawdown.
customer_idstringObligatorioID of the customer receiving the credit.
descriptionstringInternal credit description.
custom_fieldsobjectCustom fields attached to the credit.
uniqueness_keystringKey preventing duplicate commits or credits.
access_scheduleobjectObligatorioSchedule distributing credit balance.
applicable_product_idsstring[]Products whose usage can draw down the credit.
applicable_contract_idsstring[]Contracts to which the credit applies.
applicable_product_tagsstring[]Product tags whose usage can draw down the credit.
netsuite_sales_order_idstringNetSuite sales order ID, when enabled.
salesforce_opportunity_idstringSalesforce opportunity ID, when enabled.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Custom Field KeyMETRONOME_CREATE_CUSTOM_FIELD_KEYAcciónCreate an allowed custom field key for a Metronome entity type and choose whether its values must be unique.
METRONOME_CREATE_CUSTOM_FIELD_KEYAcciónCreate an allowed custom field key for a Metronome entity type and choose whether its values must be unique.
Parámetros de entrada
keystringObligatorioCustom field key to add to the entity's allowlist.
entitystringObligatorioenumMetronome entity type that will allow this custom field key.
alertbillable_metricchargecommitcontract_creditcontract_productcontractcustomerdiscountinvoiceprofessional_serviceproduct+7enforce_uniquenessbooleanObligatorioWhether values for this key must be unique across the entity type.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Historical Contract Usage InvoicesMETRONOME_CREATE_HISTORICAL_CONTRACT_USAGE_INVOICESAcciónValidate a read-only preview or create retroactive contract usage invoices for historical billing periods. Set preview=true for validation with no billing records created; set preview=false to create invoices. Because this single endpoint can create billing records, the action is classified as a create operation.
METRONOME_CREATE_HISTORICAL_CONTRACT_USAGE_INVOICESAcciónValidate a read-only preview or create retroactive contract usage invoices for historical billing periods. Set preview=true for validation with no billing records created; set preview=false to create invoices. Because this single endpoint can create billing records, the action is classified as a create operation.
Parámetros de entrada
previewbooleanObligatorioSet true to validate and return a read-only preview without creating billing records. Set false only when ready to create the invoices.
invoicesobject[]ObligatorioHistorical contract usage invoices to validate in preview mode or persist in creation mode.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Notification ConfigMETRONOME_CREATE_NOTIFICATION_CONFIGAcciónCreate a notification that publishes a webhook at an ISO 8601 time offset from a Metronome lifecycle event.
METRONOME_CREATE_NOTIFICATION_CONFIGAcciónCreate a notification that publishes a webhook at an ISO 8601 time offset from a Metronome lifecycle event.
Parámetros de entrada
namestringObligatorioName for the offset notification configuration.
policyobjectObligatorioLifecycle event and time offset that trigger the notification.
uniqueness_keystringKey that prevents duplicate notification configurations.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create PackageMETRONOME_CREATE_PACKAGEAcciónCreate a reusable package of time-relative contract pricing and billing terms.
METRONOME_CREATE_PACKAGEAcciónCreate a reusable package of time-relative contract pricing and billing terms.
Parámetros de entrada
namestringObligatorioPackage name.
aliasesobject[]Package aliases.
commitsobject[]Commit templates.
creditsobject[]Credit templates.
durationobjectContract duration.
overridesobject[]Rate overrides.
rate_card_idstringuuidProvisioned rate card.
contract_namestringProvisioned contract name.
subscriptionsobject[]Subscription templates.
spend_trackersobject[]Spend trackers.
uniqueness_keystringPackage idempotency key.
delivery_methodstringenumInvoice delivery method.
direct_to_billing_provideraws_sqstackleaws_snsrate_card_aliasstringProvisioned rate card alias.
billing_providerstringenumRequired billing provider.
aws_marketplaceazure_marketplacegcp_marketplacestripenetsuiterecurring_commitsobject[]Recurring commit templates.
recurring_creditsobject[]Recurring credit templates.
scheduled_chargesobject[]Scheduled charges.
net_payment_terms_daysnumberPayment terms.
usage_statement_scheduleobjectUsage statement schedule.
spend_threshold_configurationobjectSpend threshold settings.
multiplier_override_prioritizationstringenumMultiplier override priority mode.
LOWEST_MULTIPLIERlowest_multiplierEXPLICITexplicitscheduled_charges_on_usage_invoicesstringConsolidate all eligible scheduled charges onto usage invoices.
prepaid_balance_threshold_configurationobjectPrepaid balance threshold settings.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create ProductMETRONOME_CREATE_PRODUCTAcciónCreate a Metronome product representing an invoice line item, including its usage metric, composite behavior, quantity rules, tags, and custom fields.
METRONOME_CREATE_PRODUCTAcciónCreate a Metronome product representing an invoice line item, including its usage metric, composite behavior, quantity rules, tags, and custom fields.
Parámetros de entrada
namestringObligatorioProduct name displayed on invoices.
tagsstring[]Tags assigned to the product.
typestringObligatorioenumProduct's pricing and usage behavior type.
FIXEDfixedUSAGEusageCOMPOSITEcompositeSUBSCRIPTIONsubscriptionPROFESSIONAL_SERVICEprofessional_servicePRO_SERVICEpro_servicecustom_fieldsobjectOrganization-defined custom fields attached to the product.
is_refundablebooleanWhether charges for this product are refundable.
composite_tagsstring[]Tags selecting products included by a composite product.
composite_scopestringenumWhether customer-wide or contract-level spend contributes to the composite charge.
customerCUSTOMERcontractCONTRACTpricing_group_keystring[]Billable metric group keys that determine separate prices.
quantity_roundingobjectUsage quantity rounding configuration.
billable_metric_idstringuuidBillable metric ID required for a usage product.
exclude_free_usagebooleanWhether zero-cost products are excluded from composite usage.
quantity_conversionobjectUsage quantity conversion configuration.
composite_product_idsstring[]Product IDs included by a composite product.
presentation_group_keystring[]Billable metric group keys used to group invoice line items.
include_composite_spendbooleanWhether spend from other composite products contributes to this product.
netsuite_overage_item_idstringNetSuite overage item ID, when enabled for the organization.
netsuite_internal_item_idstringNetSuite item ID, when enabled for the organization.
sql_breakdown_granularitystringenumWhether SQL billable metric usage is evaluated hourly or per service period.
HOURhourSERVICE_PERIODservice_period
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Rate CardMETRONOME_CREATE_RATE_CARDAcciónCreate a Metronome rate card with pricing-unit conversions and scheduled aliases.
METRONOME_CREATE_RATE_CARDAcciónCreate a Metronome rate card with pricing-unit conversions and scheduled aliases.
Parámetros de entrada
namestringObligatorioInternal name of the rate card.
aliasesobject[]Aliases used to resolve this rate card for new contracts.
descriptionstringRate card description.
custom_fieldsobjectCustom fields attached to the rate card.
fiat_credit_type_idstringuuidFiat pricing unit; defaults to USD cents.
credit_type_conversionsobject[]Conversions required for custom pricing units.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Custom Field KeyMETRONOME_DELETE_CUSTOM_FIELD_KEYAcciónRemove a custom field key from a Metronome entity type's allowlist, making existing values for that key inaccessible.
METRONOME_DELETE_CUSTOM_FIELD_KEYAcciónRemove a custom field key from a Metronome entity type's allowlist, making existing values for that key inaccessible.
Parámetros de entrada
keystringObligatorioCustom field key to remove from the entity allowlist.
entitystringObligatorioenumMetronome entity type whose custom field key will be removed.
alertbillable_metricchargecommitcontract_creditcontract_productcontractcustomerdiscountinvoiceprofessional_serviceproduct+7
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Custom FieldsMETRONOME_DELETE_CUSTOM_FIELDSAcciónDelete selected custom field values from one Metronome entity instance without changing its other custom fields.
METRONOME_DELETE_CUSTOM_FIELDSAcciónDelete selected custom field values from one Metronome entity instance without changing its other custom fields.
Parámetros de entrada
keysstring[]ObligatorioCustom field keys to remove from the specified entity instance.
entitystringObligatorioenumMetronome entity type whose custom field values will be removed.
alertbillable_metricchargecommitcontract_creditcontract_productcontractcustomerdiscountinvoiceprofessional_serviceproduct+7entity_idstringObligatoriouuidMetronome UUID of the specific entity whose fields will be removed.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Disable Commit True-upMETRONOME_DISABLE_COMMIT_TRUEUPAcciónDisable generation of the final true-up invoice for a postpaid commit.
METRONOME_DISABLE_COMMIT_TRUEUPAcciónDisable generation of the final true-up invoice for a postpaid commit.
Parámetros de entrada
commit_idstringObligatorioID of the postpaid commit.
contract_idstringObligatorioID of the contract containing the commit.
customer_idstringObligatorioID of the customer whose commit is updated.
amendment_idstringAmendment ID containing the commit, when applicable.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Edit CommitMETRONOME_EDIT_COMMITAcciónEdit a commit's metadata, schedules, applicability, product, rate, priority, or hierarchy access.
METRONOME_EDIT_COMMITAcciónEdit a commit's metadata, schedules, applicability, product, rate, priority, or hierarchy access.
Parámetros de entrada
namestringUpdated commit name.
prioritynumberUpdated drawdown priority.
commit_idstringObligatorioID of the commit to edit.
rate_typestringenumUpdated rate type.
LIST_RATElist_rateCOMMIT_RATEcommit_rateproduct_idstringUpdated commit product ID.
specifiersobject[]Usage filters for commit drawdown.
customer_idstringObligatorioID of the customer whose commit is edited.
descriptionstringUpdated commit description.
access_scheduleobjectAccess schedule changes.
invoice_scheduleobjectInvoice schedule changes.
invoice_contract_idstringContract used for invoicing.
applicable_product_idsstring[]Products whose usage can draw down the commit; null applies to all.
applicable_contract_idsstring[]Contracts to which the commit applies; null applies to all.
applicable_product_tagsstring[]Product tags whose usage can draw down the commit; null applies to all.
hierarchy_configurationobjectChild-contract access configuration.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Edit ContractMETRONOME_EDIT_CONTRACTAcciónApply a v2 contract edit that adds, updates, archives, or removes contract terms.
METRONOME_EDIT_CONTRACTAcciónApply a v2 contract edit that adds, updates, archives, or removes contract terms.
Parámetros de entrada
add_commitsobject[]Commit terms to add.
add_creditsobject[]Credit terms to add.
contract_idstringObligatoriouuidID of the contract to edit.
customer_idstringObligatoriouuidID of the customer whose contract is edited.
add_discountsobject[]Discount terms to add.
add_overridesobject[]Rate overrides to add.
uniqueness_keystringIdempotency key preventing duplicate contract edits.
update_commitsobject[]Commit changes.
update_creditsobject[]Credit changes.
archive_commitsobject[]Commits to archive.
archive_creditsobject[]Credits to archive.
remove_overridesobject[]Rate overrides to remove.
add_subscriptionsobject[]Subscriptions to add.
add_spend_trackersobject[]Spend trackers to add.
add_stripe_metadataobjectStripe metadata to add to a contract that has none.
update_contract_namestringNew contract name; null clears the name.
update_subscriptionsobject[]Subscription changes.
add_recurring_commitsobject[]Recurring commitment terms to add.
add_recurring_creditsobject[]Recurring credit terms to add.
add_scheduled_chargesobject[]Scheduled charges to add.
add_reseller_royaltiesobject[]Reseller royalty terms to add.
archive_spend_trackersstring[]Spend tracker aliases to archive.
update_stripe_metadataobjectStripe metadata to update or remove.
update_contract_end_datestringdate-timeNew exclusive contract end timestamp; null removes the end date.
update_recurring_commitsobject[]Changes to future recurring commitments.
update_recurring_creditsobject[]Changes to future recurring credits.
update_scheduled_chargesobject[]Scheduled charge changes.
add_professional_servicesobject[]Professional service terms to add.
archive_scheduled_chargesobject[]Scheduled charges to archive.
update_net_payment_terms_daysnumberNew invoice payment terms in days; null clears them.
add_spend_threshold_configurationobjectSpend threshold configuration to add.
add_credit_type_conversion_overridesobject[]Pricing-unit conversion overrides to add.
update_spend_threshold_configurationobjectSpend threshold configuration changes.
add_revenue_system_configuration_updateobjectRevenue system configuration update to schedule.
add_billing_provider_configuration_updateobjectBilling provider configuration update to schedule.
add_prepaid_balance_threshold_configurationobjectPrepaid balance threshold configuration to add.
allow_contract_ending_before_finalized_invoicebooleanAllow the contract to end before an existing finalized invoice period.
update_prepaid_balance_threshold_configurationobjectPrepaid balance threshold configuration changes.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Edit CreditMETRONOME_EDIT_CREDITAcciónEdit a credit's metadata, access schedule, applicability, product, rate, priority, or hierarchy access.
METRONOME_EDIT_CREDITAcciónEdit a credit's metadata, access schedule, applicability, product, rate, priority, or hierarchy access.
Parámetros de entrada
namestringUpdated credit name.
prioritynumberUpdated drawdown priority.
credit_idstringObligatorioID of the credit to edit.
rate_typestringenumUpdated rate type.
LIST_RATElist_rateCOMMIT_RATEcommit_rateproduct_idstringUpdated credit product ID.
specifiersobject[]Usage filters for credit drawdown.
customer_idstringObligatorioID of the customer whose credit is edited.
descriptionstringUpdated credit description.
access_scheduleobjectAccess schedule changes.
applicable_product_idsstring[]Products whose usage can draw down the credit; null applies to all.
applicable_contract_idsstring[]Contracts to which the credit applies; null applies to all.
applicable_product_tagsstring[]Product tags whose usage can draw down the credit; null applies to all.
hierarchy_configurationobjectChild-contract access configuration.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Edit Notification ConfigMETRONOME_EDIT_NOTIFICATION_CONFIGAcciónChange an offset notification policy or enable or disable webhook publishing for a system lifecycle notification.
METRONOME_EDIT_NOTIFICATION_CONFIGAcciónChange an offset notification policy or enable or disable webhook publishing for a system lifecycle notification.
Parámetros de entrada
idstringuuidOffset notification configuration ID; omit for a system event.
policyanyObligatorioUpdated policy. Its lifecycle event type must match the existing configuration.
is_enabledbooleanEnable or disable webhook publishing for a system lifecycle event.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Audit LogsMETRONOME_GET_AUDIT_LOGSAcciónGet one page of account audit entries for security monitoring, compliance, and operational investigation.
METRONOME_GET_AUDIT_LOGSAcciónGet one page of account audit entries for security monitoring, compliance, and operational investigation.
Parámetros de entrada
sortstringenumOrder entries by timestamp in ascending or descending order.
date_ascdate_desclimitintegerMaximum audit log entries to return in this page (1-100).
next_pagestringOpaque cursor returned by a previous call; omit for the first page.
resource_idstringResource ID to filter by; resource_type is required when this is set.
starting_onstringdate-timeEarliest audit log timestamp to return, inclusive; cannot be used with next_page.
ending_beforestringdate-timeLatest audit log timestamp to return, exclusive; cannot be used with next_page.
resource_typestringResource type to filter by; resource_id is required when this is set.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Billable MetricMETRONOME_GET_BILLABLE_METRICAcciónRetrieve one Metronome billable metric by ID, including its event matching, aggregation, grouping, custom fields, SQL, and archive state.
METRONOME_GET_BILLABLE_METRICAcciónRetrieve one Metronome billable metric by ID, including its event matching, aggregation, grouping, custom fields, SQL, and archive state.
Parámetros de entrada
billable_metric_idstringObligatorioUUID of the billable metric to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ContractMETRONOME_GET_CONTRACTAcciónRetrieve the current or historical v2 configuration of a Metronome contract.
METRONOME_GET_CONTRACTAcciónRetrieve the current or historical v2 configuration of a Metronome contract.
Parámetros de entrada
as_of_datestringdate-timeReturn contract configuration as of this timestamp; cannot be combined with include_ledgers.
contract_idstringObligatoriouuidID of the contract to retrieve.
customer_idstringObligatoriouuidID of the customer that owns the contract.
include_balancebooleanInclude current credit and commit balances.
include_ledgersbooleanInclude commit and credit ledgers; cannot be combined with as_of_date.
webhook_notification_idstringWebhook notification that triggered this request, when applicable.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Contract Edit HistoryMETRONOME_GET_CONTRACT_EDIT_HISTORYAcciónList all recorded edits made to a Metronome contract over time.
METRONOME_GET_CONTRACT_EDIT_HISTORYAcciónList all recorded edits made to a Metronome contract over time.
Parámetros de entrada
contract_idstringObligatoriouuidID of the contract whose edit history is requested.
customer_idstringObligatoriouuidID of the customer that owns the contract.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Contract Named ScheduleMETRONOME_GET_CONTRACT_NAMED_SCHEDULEAcciónGet the segments of a named schedule for a customer's Metronome contract, optionally selected by date and schedule properties.
METRONOME_GET_CONTRACT_NAMED_SCHEDULEAcciónGet the segments of a named schedule for a customer's Metronome contract, optionally selected by date and schedule properties.
Parámetros de entrada
propertiesobjectKey-value qualifiers selecting the applicable schedule.
contract_idstringObligatoriouuidID of the contract whose schedule will be retrieved.
customer_idstringObligatoriouuidID of the customer that owns the contract.
covering_datestringdate-timeReturn at most the segment covering this date; omit to return every segment.
schedule_namestringObligatorioIdentifier of the named schedule to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Contract Rate ScheduleMETRONOME_GET_CONTRACT_RATE_SCHEDULEAcciónGet one page of entitled contract rates at a point in time, including contract overrides.
METRONOME_GET_CONTRACT_RATE_SCHEDULEAcciónGet one page of entitled contract rates at a point in time, including contract overrides.
Parámetros de entrada
limitintegerMaximum rate segments to return in this page.
next_pagestringCursor returned by a previous call; omit for the first page.
selectorsobject[]Selectors; rates matching any selector are returned.
contract_idstringObligatoriouuidID of the contract whose rate schedule is requested.
customer_idstringObligatoriouuidID of the customer whose rate schedule is requested.
effective_atstringdate-timeTimestamp overlapping the requested rate segments; omit to use now.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get CustomerMETRONOME_GET_CUSTOMERAcciónGet a Metronome customer by ID, including aliases, configuration, and custom fields.
METRONOME_GET_CUSTOMERAcciónGet a Metronome customer by ID, including aliases, configuration, and custom fields.
Parámetros de entrada
customer_idstringObligatorioUUID of the customer to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Customer AlertMETRONOME_GET_CUSTOMER_ALERTAcciónGet a threshold notification's configuration and current evaluation status for a specific customer.
METRONOME_GET_CUSTOMER_ALERTAcciónGet a threshold notification's configuration and current evaluation status for a specific customer.
Parámetros de entrada
alert_idstringObligatorioMetronome ID of the threshold notification.
customer_idstringObligatorioMetronome ID of the customer.
seat_filterobjectSeat group key-value pair used to select a seat notification.
group_valuesobject[]Presentation group key-value filters for a spend notification.
alert_specifiersobject[]Commit and credit custom field filters used to select the notification.
plans_or_contractsstringenumSelect plan or contract notifications during a parallel migration.
PLANSCONTRACTScustom_field_filtersobject[]Custom field filters used to select the notification.
webhook_notification_idstringWebhook notification ID that triggered this status lookup.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Customer Billing Provider ConfigurationsMETRONOME_GET_CUSTOMER_BILLING_PROVIDER_CONFIGURATIONSAcciónFetch active or archived billing provider configurations for a customer.
METRONOME_GET_CUSTOMER_BILLING_PROVIDER_CONFIGURATIONSAcciónFetch active or archived billing provider configurations for a customer.
Parámetros de entrada
customer_idstringObligatorioUUID of the customer whose configurations to retrieve.
include_archivedbooleanWhether to include archived billing provider configurations.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Customer Named ScheduleMETRONOME_GET_CUSTOMER_NAMED_SCHEDULEAcciónGet the segments of a named schedule configured for a Metronome customer, optionally restricted to the segment covering a date.
METRONOME_GET_CUSTOMER_NAMED_SCHEDULEAcciónGet the segments of a named schedule configured for a Metronome customer, optionally restricted to the segment covering a date.
Parámetros de entrada
customer_idstringObligatoriouuidID of the customer whose schedule will be retrieved.
covering_datestringdate-timeReturn at most the segment covering this date; omit to return every segment.
schedule_namestringObligatorioIdentifier of the named schedule to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Customer Revenue System ConfigurationsMETRONOME_GET_CUSTOMER_REVENUE_SYSTEM_CONFIGURATIONSAcciónFetch revenue system configurations for a Metronome customer.
METRONOME_GET_CUSTOMER_REVENUE_SYSTEM_CONFIGURATIONSAcciónFetch revenue system configurations for a Metronome customer.
Parámetros de entrada
providerstringOptional revenue system provider filter.
customer_idstringObligatorioUUID of the customer whose configurations to retrieve.
include_archivedbooleanWhether to include archived revenue system configurations.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Embeddable Dashboard URLMETRONOME_GET_EMBEDDABLE_DASHBOARD_URLAcciónCreate a secure, time-limited URL for a user-facing customer Metronome dashboard. This returns an embeddable human interface, not dashboard data the agent can inspect; use invoice, usage, commit, or credit read actions when structured data is needed.
METRONOME_GET_EMBEDDABLE_DASHBOARD_URLAcciónCreate a secure, time-limited URL for a user-facing customer Metronome dashboard. This returns an embeddable human interface, not dashboard data the agent can inspect; use invoice, usage, commit, or credit read actions when structured data is needed.
Parámetros de entrada
dashboardstringObligatorioenumType of customer dashboard to retrieve.
invoicesusagecommits_and_creditscustomer_idstringObligatorioUUID of the customer whose dashboard to embed.
color_overridesobject[]Optional dashboard color overrides.
dashboard_optionsobject[]Dashboard-specific display and filtering options.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get InvoiceMETRONOME_GET_INVOICEAcciónRetrieve one Metronome customer invoice by ID, including its line items and external billing status.
METRONOME_GET_INVOICEAcciónRetrieve one Metronome customer invoice by ID, including its line items and external billing status.
Parámetros de entrada
invoice_idstringObligatoriouuidID of the invoice to retrieve.
customer_idstringObligatoriouuidID of the customer that owns the invoice.
skip_zero_qty_line_itemsbooleanWhether to omit zero-quantity line items.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Invoice PDFMETRONOME_GET_INVOICE_PDFAcciónDownload a Metronome invoice PDF and return an offloaded file reference.
METRONOME_GET_INVOICE_PDFAcciónDownload a Metronome invoice PDF and return an offloaded file reference.
Parámetros de entrada
invoice_idstringObligatoriouuidID of the invoice whose PDF to download.
customer_idstringObligatoriouuidID of the customer that owns the invoice.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Net BalanceMETRONOME_GET_NET_BALANCEAcciónGet the combined current balance across a filtered set of customer commits and credits.
METRONOME_GET_NET_BALANCEAcciónGet the combined current balance across a filtered set of customer commits and credits.
Parámetros de entrada
filtersobject[]OR-combined balance filters; fields inside each filter are ANDed.
access_typestringenumHow matching balances are drawn down.
SPENDspendQUANTITYquantitycustomer_idstringObligatorioID of the customer.
credit_type_idstringPricing unit ID; defaults to USD cents.
invoice_inclusion_modestringenumWhether draft invoice deductions affect the balance.
FINALIZEDFINALIZED_AND_DRAFT
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Notification ConfigMETRONOME_GET_NOTIFICATION_CONFIGAcciónRetrieve an offset lifecycle-event notification configuration by ID.
METRONOME_GET_NOTIFICATION_CONFIGAcciónRetrieve an offset lifecycle-event notification configuration by ID.
Parámetros de entrada
idstringObligatoriouuidID of the offset notification configuration to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get PackageMETRONOME_GET_PACKAGEAcciónGet one package's name, alias schedule, duration, commits, credits, overrides, scheduled charges, and contract defaults.
METRONOME_GET_PACKAGEAcciónGet one package's name, alias schedule, duration, commits, credits, overrides, scheduled charges, and contract defaults.
Parámetros de entrada
package_idstringObligatoriouuidID of the package to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Grouped Usage DataMETRONOME_GET_PAGED_USAGEAcciónReturn one page of usage for one customer and billable metric, optionally grouped and filtered by a complete simple or compound metric group key.
METRONOME_GET_PAGED_USAGEAcciónReturn one page of usage for one customer and billable metric, optionally grouped and filtered by a complete simple or compound metric group key.
Parámetros de entrada
limitintegerMaximum grouped usage aggregates to return on this page (1-100).
group_byobjectDeprecated single-key grouping. Prefer group_key and group_filters.
group_keystring[]Complete simple or compound group key configured on the metric.
next_pagestringOpaque cursor returned by a previous call; omit for the first page.
customer_idstringObligatoriouuidID of the customer whose usage to retrieve.
starting_onstringdate-timeOptional inclusive start time aligned to UTC midnight.
window_sizestringObligatorioenumAggregate into hourly, daily, or one whole-period ('none') window.
hourdaynoneHOURDAYNONEHourDayNoneending_beforestringdate-timeOptional exclusive end time aligned to UTC midnight.
group_filtersobjectGroup-key values to include. Keys must occur in group_key and all value arrays together may contain at most 200 entries.
billable_metric_idstringObligatoriouuidID of the billable metric to aggregate.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ProductMETRONOME_GET_PRODUCTAcciónGet a Metronome product by ID, including its current and initial configuration, historical updates, archive state, and custom fields.
METRONOME_GET_PRODUCTAcciónGet a Metronome product by ID, including its current and initial configuration, historical updates, archive state, and custom fields.
Parámetros de entrada
idstringObligatoriouuidID of the product to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Rate CardMETRONOME_GET_RATE_CARDAcciónGet one rate card's metadata, pricing unit, conversions, aliases, and custom fields.
METRONOME_GET_RATE_CARDAcciónGet one rate card's metadata, pricing unit, conversions, aliases, and custom fields.
Parámetros de entrada
idstringObligatoriouuidID of the rate card to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Rate Card Named ScheduleMETRONOME_GET_RATE_CARD_NAMED_SCHEDULEAcciónGet the segments of a named schedule configured on a Metronome rate card, optionally restricted to the segment covering a date.
METRONOME_GET_RATE_CARD_NAMED_SCHEDULEAcciónGet the segments of a named schedule configured on a Metronome rate card, optionally restricted to the segment covering a date.
Parámetros de entrada
rate_card_idstringObligatoriouuidID of the rate card whose named schedule will be retrieved.
covering_datestringdate-timeReturn at most the segment covering this date; omit to return every segment.
schedule_namestringObligatorioIdentifier of the named schedule to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get RatesMETRONOME_GET_RATESAcciónGet one page of rate-card prices active at a specific timestamp.
METRONOME_GET_RATESAcciónGet one page of rate-card prices active at a specific timestamp.
Parámetros de entrada
limitintegerMaximum rates to return in this page.
next_pagestringCursor returned by a previous call; omit for the first page.
selectorsobject[]Selectors; rates matching any selector are returned.
effective_atstringObligatoriodate-timeTimestamp at which the requested rates must be effective.
rate_card_idstringObligatoriouuidID of the rate card to query.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Rate ScheduleMETRONOME_GET_RATE_SCHEDULEAcciónGet one page of scheduled rate-card prices over a requested time window.
METRONOME_GET_RATE_SCHEDULEAcciónGet one page of scheduled rate-card prices over a requested time window.
Parámetros de entrada
limitintegerMaximum rate segments to return in this page.
next_pagestringCursor returned by a previous call; omit for the first page.
selectorsobject[]Selectors; rates matching any selector are returned.
starting_atstringObligatoriodate-timeInclusive beginning of the schedule window.
rate_card_idstringObligatoriouuidID of the rate card to query.
ending_beforestringdate-timeExclusive end of the schedule window.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ServicesMETRONOME_GET_SERVICESAcciónGet Metronome's service registry and current IP addresses for firewall and network allowlist configuration.
METRONOME_GET_SERVICESAcciónGet Metronome's service registry and current IP addresses for firewall and network allowlist configuration.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Subscription Quantity HistoryMETRONOME_GET_SUBSCRIPTION_QUANTITY_HISTORYAcciónRetrieve historical subscription quantities and prices for a contract subscription.
METRONOME_GET_SUBSCRIPTION_QUANTITY_HISTORYAcciónRetrieve historical subscription quantities and prices for a contract subscription.
Parámetros de entrada
contract_idstringObligatoriouuidID of the contract that contains the subscription.
customer_idstringObligatoriouuidID of the customer that owns the subscription.
subscription_idstringObligatoriouuidID of the subscription whose quantity history is requested.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Subscription Seats HistoryMETRONOME_GET_SUBSCRIPTION_SEATS_HISTORYAcciónGet one page of historical seat assignments and quantities for a contract subscription.
METRONOME_GET_SUBSCRIPTION_SEATS_HISTORYAcciónGet one page of historical seat assignments and quantities for a contract subscription.
Parámetros de entrada
limitintegerMaximum seat schedule entries to return, from 1 to 10.
cursorstringCursor returned by a previous call; omit for the first page.
contract_idstringObligatoriouuidID of the contract that contains the subscription.
customer_idstringObligatoriouuidID of the customer that owns the subscription.
starting_atstringdate-timeInclude seat segments active at or after this timestamp.
covering_datestringdate-timeReturn the seat segment active at this time; cannot be combined with a range.
ending_beforestringdate-timeInclude seat segments active at or before this timestamp.
subscription_idstringObligatoriouuidID of the subscription whose seat history is requested.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Batched Usage DataMETRONOME_GET_USAGE_BATCHAcciónReturn one page of usage aggregated across customers and billable metrics for hourly, daily, or whole-period reporting.
METRONOME_GET_USAGE_BATCHAcciónReturn one page of usage aggregated across customers and billable metrics for hourly, daily, or whole-period reporting.
Parámetros de entrada
next_pagestringOpaque cursor returned by a previous call; omit for the first page.
starting_onstringObligatoriodate-timeInclusive start time aligned to UTC midnight.
window_sizestringObligatorioenumAggregate into hourly, daily, or one whole-period ('none') window.
hourdaynoneHOURDAYNONEHourDayNonecustomer_idsstring[]Customer IDs to include; omit to return usage for all customers.
ending_beforestringObligatoriodate-timeExclusive end time aligned to UTC midnight and after starting_on.
billable_metricsobject[]Billable metrics and optional groupings to include; omit for all metrics.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Webhook DeliveryMETRONOME_GET_WEBHOOK_DELIVERYAcciónRetrieve one triggered Metronome webhook notification, its exact JSON payload, and every recorded delivery attempt.
METRONOME_GET_WEBHOOK_DELIVERYAcciónRetrieve one triggered Metronome webhook notification, its exact JSON payload, and every recorded delivery attempt.
Parámetros de entrada
webhook_idstringObligatoriouuidID of the webhook destination in the current Metronome environment.
triggered_notification_idstringObligatoriouuidID of the triggered notification to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Ingest Usage EventsMETRONOME_INGEST_USAGE_EVENTSAcciónIngest one to 100 usage events that immediately affect customer usage, spend, and billing. Use globally unique transaction IDs; Metronome ignores duplicates for 34 days and accepts events backdated by at most 34 days.
METRONOME_INGEST_USAGE_EVENTSAcciónIngest one to 100 usage events that immediately affect customer usage, spend, and billing. Use globally unique transaction IDs; Metronome ignores duplicates for 34 days and accepts events backdated by at most 34 days.
Parámetros de entrada
eventsobject[]ObligatorioOne to 100 usage events to ingest as a single JSON array.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Billable MetricsMETRONOME_LIST_BILLABLE_METRICSAcciónList billable metric definitions, optionally including archived metrics, for pricing and event-matching discovery.
METRONOME_LIST_BILLABLE_METRICSAcciónList billable metric definitions, optionally including archived metrics, for pricing and event-matching discovery.
Parámetros de entrada
limitintegerMaximum billable metrics to return in this page (1-100).
next_pagestringOpaque cursor returned by a previous call; omit for the first page.
include_archivedbooleanInclude archived billable metrics in addition to active metrics.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Billing ProvidersMETRONOME_LIST_BILLING_PROVIDERSAcciónList account-level billing providers and their delivery-method configurations.
METRONOME_LIST_BILLING_PROVIDERSAcciónList account-level billing providers and their delivery-method configurations.
Parámetros de entrada
next_pagestringOpaque cursor returned by a previous call; omit for the first page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Invoice BreakdownsMETRONOME_LIST_BREAKDOWN_INVOICESAcciónList hourly or daily invoice breakdowns for a Metronome customer and time range.
METRONOME_LIST_BREAKDOWN_INVOICESAcciónList hourly or daily invoice breakdowns for a Metronome customer and time range.
Parámetros de entrada
sortstringenumInvoice issue-date sort order.
date_ascdate_desclimitintegerMaximum number of breakdowns to return (1-100).
statusstringInvoice status filter.
next_pagestringCursor returned by a previous call.
customer_idstringObligatoriouuidID of the customer whose invoice breakdowns to list.
starting_onstringObligatoriodate-timeInclusive RFC 3339 breakdown-window start.
window_sizestringenumBreakdown granularity; defaults to day.
hourdayHOURDAYHourDayending_beforestringObligatoriodate-timeRFC 3339 breakdown-window end bound.
credit_type_idstringReturn only invoices for this credit type ID.
skip_zero_qty_line_itemsbooleanWhether to omit zero-quantity line items.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ContractsMETRONOME_LIST_CONTRACTSAcciónList one page of a customer's current v2 contracts with optional balances, ledgers, and archive filters.
METRONOME_LIST_CONTRACTSAcciónList one page of a customer's current v2 contracts with optional balances, ledgers, and archive filters.
Parámetros de entrada
limitnumberMaximum contracts to return in this page, from 1 to 20.
cursorstringCursor returned by a previous call; omit for the first page.
customer_idstringObligatoriouuidID of the customer whose contracts are listed.
starting_atstringdate-timeInclude contracts starting at or after this timestamp.
covering_datestringdate-timeInclude contracts active at this timestamp.
include_balancebooleanInclude credit and commit balances.
include_ledgersbooleanInclude commit and credit ledgers in each contract.
include_archivedbooleanInclude archived contracts.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Contract Named SchedulesMETRONOME_LIST_CONTRACTS_NAMED_SCHEDULESAcciónList one page of contract-level named schedules for a Metronome customer, with optional contract, name, property, and date filters.
METRONOME_LIST_CONTRACTS_NAMED_SCHEDULESAcciónList one page of contract-level named schedules for a Metronome customer, with optional contract, name, property, and date filters.
Parámetros de entrada
limitintegerMaximum number of named schedules to return on this page.
next_pagestringOpaque cursor returned by a previous call; omit for the first page.
propertiesobjectKey-value subset that each returned schedule must contain.
contract_idstringuuidContract ID used to restrict results to one contract.
customer_idstringObligatoriouuidID of the customer whose schedules will be listed.
covering_datestringdate-timeReturn at most one segment covering this date for each schedule.
schedule_namestringSchedule name used to restrict the results.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Contracts On PackageMETRONOME_LIST_CONTRACTS_ON_PACKAGEAcciónList one page of customer contracts provisioned from a package over a selected time period.
METRONOME_LIST_CONTRACTS_ON_PACKAGEAcciónList one page of customer contracts provisioned from a package over a selected time period.
Parámetros de entrada
limitintegerMaximum contracts to return in this page.
next_pagestringCursor returned by a previous call; omit for the first page.
package_idstringObligatoriouuidID of the package whose contracts are listed.
starting_atstringdate-timeInclude contracts starting at or after this timestamp.
covering_datestringdate-timeInclude contracts active at this timestamp.
include_archivedbooleanInclude archived contracts in the results.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Customer AlertsMETRONOME_LIST_CUSTOMER_ALERTSAcciónList one page of threshold notifications and their current evaluation statuses for a customer.
METRONOME_LIST_CUSTOMER_ALERTSAcciónList one page of threshold notifications and their current evaluation statuses for a customer.
Parámetros de entrada
next_pagestringOpaque cursor returned by a previous call; omit for the first page.
customer_idstringObligatorioMetronome ID of the customer.
alert_statusesstring[]Notification statuses to include; omit to return only enabled alerts.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Customer BalancesMETRONOME_LIST_CUSTOMER_BALANCESAcciónList one page of a customer's current commit and credit balances.
METRONOME_LIST_CUSTOMER_BALANCESAcciónList one page of a customer's current commit and credit balances.
Parámetros de entrada
idstringReturn only this commit or credit ID.
limitintegerMaximum balances to return; defaults to 25.
next_pagestringCursor returned by a previous call.
access_typestringenumFilter by balance drawdown method.
SPENDspendQUANTITYquantitycustomer_idstringObligatorioID of the customer whose balances are listed.
starting_atstringdate-timeReturn balances with access on or after this time.
covering_datestringdate-timeReturn balances whose access schedule covers this time.
include_balancebooleanInclude calculated balance amounts.
include_ledgersbooleanInclude transaction ledgers.
effective_beforestringdate-timeReturn balances with access before this time.
include_archivedbooleanInclude archived balances.
exclude_zero_balancesbooleanExclude balances with zero amounts.
webhook_notification_idstringWebhook notification that triggered this query.
include_contract_balancesbooleanInclude contract-level balances.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Customer Billable MetricsMETRONOME_LIST_CUSTOMER_BILLABLE_METRICSAcciónList billable metrics available for a Metronome customer, optionally filtering to the current plan or including archived metrics.
METRONOME_LIST_CUSTOMER_BILLABLE_METRICSAcciónList billable metrics available for a Metronome customer, optionally filtering to the current plan or including archived metrics.
Parámetros de entrada
limitintegerMaximum number of billable metrics to return (1-100).
next_pagestringOpaque cursor returned by a previous call; omit for the first page.
customer_idstringObligatorioUUID of the customer whose available billable metrics to list.
on_current_planbooleanWhen true, return only metrics on the customer's current plan.
include_archivedbooleanWhen true, include archived billable metrics.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Customer CommitsMETRONOME_LIST_CUSTOMER_COMMITSAcciónList one page of customer-level and optionally contract-level commits.
METRONOME_LIST_CUSTOMER_COMMITSAcciónList one page of customer-level and optionally contract-level commits.
Parámetros de entrada
limitintegerMaximum commits to return.
commit_idstringReturn only this commit.
next_pagestringCursor returned by a previous call.
access_typestringenumFilter by drawdown method.
SPENDspendQUANTITYquantitycustomer_idstringObligatorioID of the customer whose commits are listed.
starting_atstringdate-timeReturn commits with access on or after this time.
covering_datestringdate-timeReturn commits whose access covers this time.
include_balancebooleanInclude calculated balances.
include_ledgersbooleanInclude commit ledgers.
effective_beforestringdate-timeReturn commits with access before this time.
include_archivedbooleanInclude archived commits.
include_contract_commitsbooleanInclude contract-level commits.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Customer CreditsMETRONOME_LIST_CUSTOMER_CREDITSAcciónList one page of customer-level and optionally contract-level credits.
METRONOME_LIST_CUSTOMER_CREDITSAcciónList one page of customer-level and optionally contract-level credits.
Parámetros de entrada
limitintegerMaximum credits to return.
credit_idstringReturn only this credit.
next_pagestringCursor returned by a previous call.
customer_idstringObligatorioID of the customer whose credits are listed.
starting_atstringdate-timeReturn credits with access on or after this time.
covering_datestringdate-timeReturn credits whose access covers this time.
include_balancebooleanInclude calculated balances.
include_ledgersbooleanInclude credit ledgers.
effective_beforestringdate-timeReturn credits with access before this time.
include_archivedbooleanInclude archived credits.
include_contract_creditsbooleanInclude contract-level credits.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List CustomersMETRONOME_LIST_CUSTOMERSAcciónList active or archived Metronome customers, optionally filtering by customer, ingest, Salesforce, or Stripe identifiers.
METRONOME_LIST_CUSTOMERSAcciónList active or archived Metronome customers, optionally filtering by customer, ingest, Salesforce, or Stripe identifiers.
Parámetros de entrada
limitintegerMaximum customers to return in this page (1-100).
next_pagestringOpaque cursor returned by a previous call; omit for the first page.
customer_idsstring[]Return customers whose Metronome IDs are in this list (up to 100).
ingest_aliasstringReturn customers matching this event-ingestion alias.
only_archivedbooleanReturn only archived customers instead of the default active customers.
stripe_customer_idstringReturn active customers linked to this Stripe customer ID.
salesforce_account_idsstring[]Return customers linked to any of these Salesforce account IDs (up to 100).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Custom Field KeysMETRONOME_LIST_CUSTOM_FIELD_KEYSAcciónList active Metronome custom field keys, optionally filtered to selected entity types.
METRONOME_LIST_CUSTOM_FIELD_KEYSAcciónList active Metronome custom field keys, optionally filtered to selected entity types.
Parámetros de entrada
entitiesstring[]Optional entity types whose active custom field keys should be returned.
next_pagestringOpaque cursor returned by a previous call; omit for the first page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Historical BalancesMETRONOME_LIST_HISTORICAL_BALANCESAcciónList one page of commits and credits moved to historical storage.
METRONOME_LIST_HISTORICAL_BALANCESAcciónList one page of commits and credits moved to historical storage.
Parámetros de entrada
idstringReturn only this historical balance.
limitintegerMaximum historical balances to return.
next_pagestringCursor returned by a previous call.
contract_idstringReturn balances from this contract.
customer_idstringObligatorioID of the customer whose historical balances are listed.
starting_atstringdate-timeReturn balances with access on or after this time.
covering_datestringdate-timeReturn balances whose access covered this time.
include_ledgersbooleanInclude transaction ledgers.
effective_beforestringdate-timeReturn balances with access before this time.
moved_to_history_afterstringdate-timeReturn balances moved to history at or after this time.
moved_to_history_beforestringdate-timeReturn balances moved to history before this time.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List InvoicesMETRONOME_LIST_INVOICESAcciónList one page of invoices for a Metronome customer with optional status, type, contract, credit type, and billing-period filters.
METRONOME_LIST_INVOICESAcciónList one page of invoices for a Metronome customer with optional status, type, contract, credit type, and billing-period filters.
Parámetros de entrada
sortstringenumSort order by invoice issue date.
date_ascdate_desctypestringenumInvoice type to return; omit to return all types.
USAGEUSAGE_CONSOLIDATEDSCHEDULEDlimitintegerMaximum number of invoices to return (1-100).
statusstringInvoice status, such as DRAFT, FINALIZED, or VOID.
next_pagestringCursor returned by a previous call; omit for the first page.
contract_idstringuuidReturn only invoices for this contract ID.
customer_idstringObligatoriouuidID of the customer whose invoices to list.
starting_onstringdate-timeInclusive RFC 3339 lower bound for invoice billing-period starts.
ending_beforestringdate-timeExclusive RFC 3339 upper bound for invoice billing-period ends.
credit_type_idstringReturn only invoices using this credit type ID.
webhook_notification_idstringWebhook notification ID that triggered this request.
skip_zero_qty_line_itemsbooleanWhether to omit line items whose quantity is zero.
include_historical_commit_invoicesbooleanWhether to include historical commit invoices.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Offset Notification ConfigsMETRONOME_LIST_OFFSET_NOTIFICATION_CONFIGSAcciónList one page of user-created lifecycle-event notifications that publish webhooks before or after their base events.
METRONOME_LIST_OFFSET_NOTIFICATION_CONFIGSAcciónList one page of user-created lifecycle-event notifications that publish webhooks before or after their base events.
Parámetros de entrada
limitnumberMaximum notification configurations to return, up to 400.
cursorstringCursor returned by a previous call; omit for the first page.
archive_filterstringenumArchive state to include; Metronome defaults to NOT_ARCHIVED.
ARCHIVEDNOT_ARCHIVEDALL
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List PackagesMETRONOME_LIST_PACKAGESAcciónList contract packages with their terms, commits, overrides, scheduled charges, and archive state.
METRONOME_LIST_PACKAGESAcciónList contract packages with their terms, commits, overrides, scheduled charges, and archive state.
Parámetros de entrada
limitintegerMaximum packages to return in this page (1-100).
next_pagestringOpaque cursor returned by a previous call; omit for the first page.
archive_filterstringenumChoose whether to return archived packages, active packages, or all packages.
ARCHIVEDNOT_ARCHIVEDALLarchivednot_archivedall
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Pricing UnitsMETRONOME_LIST_PRICING_UNITSAcciónList fiat and custom pricing units available for rates, credits, and commits.
METRONOME_LIST_PRICING_UNITSAcciónList fiat and custom pricing units available for rates, credits, and commits.
Parámetros de entrada
limitintegerMaximum pricing units to return in this page (1-100).
next_pagestringOpaque cursor returned by a previous call; omit for the first page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ProductsMETRONOME_LIST_PRODUCTSAcciónList Metronome products and their current configuration, version history, metadata, and archive state.
METRONOME_LIST_PRODUCTSAcciónList Metronome products and their current configuration, version history, metadata, and archive state.
Parámetros de entrada
limitintegerMaximum products to return in this page (1-100).
next_pagestringOpaque cursor returned by a previous call; omit for the first page.
archive_filterstringenumChoose whether to return archived products, active products, or all products.
ARCHIVEDNOT_ARCHIVEDALL
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Rate CardsMETRONOME_LIST_RATE_CARDSAcciónList rate cards with their IDs, names, descriptions, aliases, pricing units, and metadata.
METRONOME_LIST_RATE_CARDSAcciónList rate cards with their IDs, names, descriptions, aliases, pricing units, and metadata.
Parámetros de entrada
limitintegerMaximum rate cards to return in this page (1-100).
next_pagestringOpaque cursor returned by a previous call; omit for the first page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Seat BalancesMETRONOME_LIST_SEAT_BALANCESAcciónList one page of seat-level commit and credit balances for a contract.
METRONOME_LIST_SEAT_BALANCESAcciónList one page of seat-level commit and credit balances for a contract.
Parámetros de entrada
limitintegerMaximum seats to return; defaults to 25.
cursorstringCursor returned by a previous call.
seat_idsstring[]Only these seat identifiers.
contract_idstringObligatorioID of the contract whose seat balances are listed.
customer_idstringObligatorioID of the customer whose seat balances are listed.
starting_atstringdate-timeInclude balances effective on or after this time.
covering_datestringdate-timeInclude balances covering this time.
include_ledgersbooleanInclude ledgers; requires include_credits_and_commits.
effective_beforestringdate-timeInclude balances effective on or before this time.
subscription_idsstring[]Only seats from these seat-based subscriptions.
skip_missing_seat_idsbooleanOmit unknown seat IDs instead of returning an error.
include_credits_and_commitsbooleanInclude per-seat credit and commit records.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Spend Invoice BreakdownsMETRONOME_LIST_SPEND_BREAKDOWN_INVOICESAcciónList one page of customer invoice spend breakdowns by time window and optional presentation groups.
METRONOME_LIST_SPEND_BREAKDOWN_INVOICESAcciónList one page of customer invoice spend breakdowns by time window and optional presentation groups.
Parámetros de entrada
sortstringenumInvoice issue-date sort order.
date_ascdate_desclimitintegerMaximum number of breakdowns to return (1-100).
next_pagestringCursor returned by a previous call.
group_keysstring[]Presentation keys by which to break down spend.
customer_idstringObligatoriouuidID of the customer whose spend to break down.
starting_onstringObligatoriodate-timeInclusive RFC 3339 breakdown-window start.
window_sizestringenumBreakdown granularity; day or one window per billing period.
daynoneDAYNONEDayNoneending_beforestringObligatoriodate-timeExclusive RFC 3339 breakdown-window end.
group_filtersobjectAllowed values for each requested group key.
credit_type_idstringuuidReturn only invoices for this credit type ID.
include_list_pricesbooleanWhether to include list prices for usage and subscription items.
skip_zero_qty_line_itemsbooleanWhether to omit zero-quantity line items.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List System Notification ConfigsMETRONOME_LIST_SYSTEM_NOTIFICATION_CONFIGSAcciónList one page of Metronome system lifecycle notification types and whether their webhook publishing is enabled.
METRONOME_LIST_SYSTEM_NOTIFICATION_CONFIGSAcciónList one page of Metronome system lifecycle notification types and whether their webhook publishing is enabled.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Webhook DeliveriesMETRONOME_LIST_WEBHOOK_DELIVERIESAcciónList one page of triggered notifications and delivery summaries for a Metronome webhook destination from the last 30 days.
METRONOME_LIST_WEBHOOK_DELIVERIESAcciónList one page of triggered notifications and delivery summaries for a Metronome webhook destination from the last 30 days.
Parámetros de entrada
limitintegerMaximum triggered notifications to return in this page (1-100).
filtersobjectOptional customer, notification type, and notification ID filters.
end_datestringdate-timeExclusive latest first-attempt timestamp; defaults to the current time.
next_pagestringCursor returned by a previous call with the same path and filters.
start_datestringObligatoriodate-timeInclusive earliest first-attempt timestamp; must be within the last 30 days.
webhook_idstringObligatoriouuidID of the webhook destination in the current Metronome environment.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Move Rate Card ProductsMETRONOME_MOVE_RATE_CARD_PRODUCTSAcciónMove selected products to new invoice-order positions on a rate card.
METRONOME_MOVE_RATE_CARD_PRODUCTSAcciónMove selected products to new invoice-order positions on a rate card.
Parámetros de entrada
rate_card_idstringObligatoriouuidID of the rate card to reorder.
product_movesobject[]ObligatorioProducts and their new positions.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Preview Customer EventsMETRONOME_PREVIEW_CUSTOMER_EVENTSAcciónCalculate customer invoice previews from supplied usage events without ingesting the events.
METRONOME_PREVIEW_CUSTOMER_EVENTSAcciónCalculate customer invoice previews from supplied usage events without ingesting the events.
Parámetros de entrada
modestringenumReplace historical usage or merge these events with existing usage; defaults to replace.
replacemergeeventsobject[]ObligatorioUsage events to include in the preview.
customer_idstringObligatoriouuidID of the customer whose invoices to preview.
skip_zero_qty_line_itemsbooleanWhether to omit zero-quantity line items from preview invoices.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Regenerate InvoiceMETRONOME_REGENERATE_INVOICEAcciónRegenerate a previously voided Metronome invoice using current rates, balances, and fees, distribute the replacement through the configured billing provider, and return its new invoice ID. This is a billing-impacting operation.
METRONOME_REGENERATE_INVOICEAcciónRegenerate a previously voided Metronome invoice using current rates, balances, and fees, distribute the replacement through the configured billing provider, and return its new invoice ID. This is a billing-impacting operation.
Parámetros de entrada
idstringObligatoriouuidID of the previously voided invoice to regenerate.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Release External Payment Gate Threshold CommitMETRONOME_RELEASE_EXTERNAL_PAYMENT_GATE_THRESHOLD_COMMITAcciónComplete or cancel a threshold commit after an external payment attempt.
METRONOME_RELEASE_EXTERNAL_PAYMENT_GATE_THRESHOLD_COMMITAcciónComplete or cancel a threshold commit after an external payment attempt.
Parámetros de entrada
outcomestringObligatorioenumOutcome of the external payment attempt.
paidPAIDfailedFAILEDworkflow_idstringObligatorioWorkflow ID from the payment_gate.external_initiate webhook.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Reset Customer AlertsMETRONOME_RESET_CUSTOMER_ALERTSAcciónClear a threshold notification's cached state for a customer and trigger an asynchronous re-evaluation.
METRONOME_RESET_CUSTOMER_ALERTSAcciónClear a threshold notification's cached state for a customer and trigger an asynchronous re-evaluation.
Parámetros de entrada
alert_idstringObligatorioMetronome ID of the threshold notification to reset.
customer_idstringObligatorioMetronome ID of the customer.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Schedule Pro Services InvoiceMETRONOME_SCHEDULE_PRO_SERVICES_INVOICEAcciónSchedule an invoice for professional service terms on a contract.
METRONOME_SCHEDULE_PRO_SERVICES_INVOICEAcciónSchedule an invoice for professional service terms on a contract.
Parámetros de entrada
issued_atstringObligatoriodate-timeTimestamp when the invoice is issued.
line_itemsobject[]ObligatorioProfessional service terms and amounts to invoice.
contract_idstringObligatoriouuidID of the contract containing the professional services.
customer_idstringObligatoriouuidID of the customer receiving the invoice.
netsuite_invoice_header_endstringdate-timeNetSuite invoice-header end timestamp.
netsuite_invoice_header_startstringdate-timeNetSuite invoice-header start timestamp.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search EventsMETRONOME_SEARCH_EVENTSAcciónRetrieve recent usage events by transaction ID to sample ingestion, customer matching, metric matching, and duplicate handling. Metronome heavily rate limits this endpoint; use targeted samples rather than broad or repeated polling.
METRONOME_SEARCH_EVENTSAcciónRetrieve recent usage events by transaction ID to sample ingestion, customer matching, metric matching, and duplicate handling. Metronome heavily rate limits this endpoint; use targeted samples rather than broad or repeated polling.
Parámetros de entrada
transaction_idsstring[]ObligatorioTransaction IDs for events ingested within the last 34 days. This endpoint is heavily rate limited, so use only targeted samples and avoid broad or repeated polling.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set Customer Billable StatusMETRONOME_SET_CUSTOMER_BILLABLE_STATUSAcciónSet whether a Metronome customer is billable from a specified effective time.
METRONOME_SET_CUSTOMER_BILLABLE_STATUSAcciónSet whether a Metronome customer is billable from a specified effective time.
Parámetros de entrada
customer_idstringObligatorioUUID of the customer whose status to set.
effective_atstringObligatorioRFC 3339 timestamp at which the billable state becomes effective.
billable_statusstringObligatorioenumNew billable state for the customer.
billableunbillable
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set Customer Billing Provider ConfigurationsMETRONOME_SET_CUSTOMER_BILLING_PROVIDER_CONFIGURATIONSAcciónCreate one or more billing provider configurations for Metronome customers.
METRONOME_SET_CUSTOMER_BILLING_PROVIDER_CONFIGURATIONSAcciónCreate one or more billing provider configurations for Metronome customers.
Parámetros de entrada
dataobject[]ObligatorioBilling provider configurations to create.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set Customer NameMETRONOME_SET_CUSTOMER_NAMEAcciónUpdate the display name of a Metronome customer.
METRONOME_SET_CUSTOMER_NAMEAcciónUpdate the display name of a Metronome customer.
Parámetros de entrada
namestringObligatorioNew customer name; Metronome truncates it to 160 characters.
customer_idstringObligatorioUUID of the customer to rename.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set Customer Revenue System ConfigurationsMETRONOME_SET_CUSTOMER_REVENUE_SYSTEM_CONFIGURATIONSAcciónCreate one or more revenue system configurations for Metronome customers.
METRONOME_SET_CUSTOMER_REVENUE_SYSTEM_CONFIGURATIONSAcciónCreate one or more revenue system configurations for Metronome customers.
Parámetros de entrada
dataobject[]ObligatorioRevenue system configurations to create.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set Custom FieldsMETRONOME_SET_CUSTOM_FIELDSAcciónTransactionally set or overwrite custom field values on one Metronome entity instance while preserving unspecified fields.
METRONOME_SET_CUSTOM_FIELDSAcciónTransactionally set or overwrite custom field values on one Metronome entity instance while preserving unspecified fields.
Parámetros de entrada
entitystringObligatorioenumMetronome entity type whose custom field values will be set.
alertbillable_metricchargecommitcontract_creditcontract_productcontractcustomerdiscountinvoiceprofessional_serviceproduct+7entity_idstringObligatoriouuidMetronome UUID of the specific entity whose fields will be set.
custom_fieldsobjectObligatorioCustom field key-value pairs to set transactionally. Values may contain at most 200 characters. Existing matching keys are overwritten.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set Customer Ingest AliasesMETRONOME_SET_INGEST_ALIASESAcciónReplace the complete set of usage ingest aliases for a Metronome customer.
METRONOME_SET_INGEST_ALIASESAcciónReplace the complete set of usage ingest aliases for a Metronome customer.
Parámetros de entrada
customer_idstringObligatorioUUID of the customer to update.
ingest_aliasesstring[]ObligatorioComplete replacement set of aliases accepted in usage events.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set Rate Card Products OrderMETRONOME_SET_RATE_CARD_PRODUCTS_ORDERAcciónReplace the complete invoice display order of products on a rate card.
METRONOME_SET_RATE_CARD_PRODUCTS_ORDERAcciónReplace the complete invoice display order of products on a rate card.
Parámetros de entrada
rate_card_idstringObligatoriouuidID of the rate card to reorder.
product_orderstring[]ObligatorioProduct IDs in the complete desired invoice order.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set Up Billing ProviderMETRONOME_SET_UP_BILLING_PROVIDERAcciónSet up account-level Metronome configuration for a marketplace billing provider.
METRONOME_SET_UP_BILLING_PROVIDERAcciónSet up account-level Metronome configuration for a marketplace billing provider.
Parámetros de entrada
configurationobjectObligatorioProvider- and delivery-method-specific account configuration.
delivery_methodstringObligatorioenumMethod used to deliver invoices for this configuration.
direct_to_billing_provideraws_sqsaws_snsbilling_providerstringObligatorioenumMarketplace billing provider to configure.
aws_marketplaceazure_marketplacegcp_marketplace
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set Usage FilterMETRONOME_SET_USAGE_FILTERAcciónRoute a customer's grouped usage to a contract starting at a specified time.
METRONOME_SET_USAGE_FILTERAcciónRoute a customer's grouped usage to a contract starting at a specified time.
Parámetros de entrada
group_keystringObligatorioBillable-metric group key used to route usage.
contract_idstringObligatoriouuidID of the contract receiving the usage filter.
customer_idstringObligatoriouuidID of the customer that owns the contract.
starting_atstringObligatoriodate-timeTimestamp when the usage filter becomes active.
group_valuesstring[]ObligatorioGroup values routed to this contract.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Billable MetricMETRONOME_UPDATE_BILLABLE_METRICAcciónRename an existing Metronome billable metric. Metronome does not allow this endpoint to change the metric's filtering or aggregation configuration.
METRONOME_UPDATE_BILLABLE_METRICAcciónRename an existing Metronome billable metric. Metronome does not allow this endpoint to change the metric's filtering or aggregation configuration.
Parámetros de entrada
namestringObligatorioNew display name for the billable metric.
billable_metric_idstringObligatorioUUID of the billable metric to rename.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Commit End DateMETRONOME_UPDATE_COMMIT_END_DATEAcciónUpdate the access or invoice end date of a prepaid customer commit.
METRONOME_UPDATE_COMMIT_END_DATEAcciónUpdate the access or invoice end date of a prepaid customer commit.
Parámetros de entrada
commit_idstringObligatorioID of the prepaid commit.
customer_idstringObligatorioID of the customer whose commit is updated.
access_ending_beforestringdate-timeNew exclusive end of commit access.
invoices_ending_beforestringdate-timeNew exclusive end of commit invoicing.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Contract End DateMETRONOME_UPDATE_CONTRACT_END_DATEAcciónSet, move, or remove a contract's exclusive end timestamp.
METRONOME_UPDATE_CONTRACT_END_DATEAcciónSet, move, or remove a contract's exclusive end timestamp.
Parámetros de entrada
contract_idstringObligatoriouuidID of the contract to update.
customer_idstringObligatoriouuidID of the customer whose contract will be updated.
ending_beforestringdate-timeExclusive contract end timestamp; omit to make the contract open-ended.
allow_ending_before_finalized_invoicebooleanAllow the contract to end before an existing finalized invoice period.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Contract Named ScheduleMETRONOME_UPDATE_CONTRACT_NAMED_SCHEDULEAcciónSet a dated segment on a named schedule for a customer's Metronome contract.
METRONOME_UPDATE_CONTRACT_NAMED_SCHEDULEAcciónSet a dated segment on a named schedule for a customer's Metronome contract.
Parámetros de entrada
valueobject | array | string | number | integer | boolean | nullObligatorioValue to set; its structure is specific to the named schedule.
propertiesobjectKey-value qualifiers selecting the schedule to update.
contract_idstringObligatoriouuidID of the contract whose schedule will be updated.
customer_idstringObligatoriouuidID of the customer that owns the contract.
starting_atstringObligatoriodate-timeInclusive start time of the schedule segment.
ending_beforestringdate-timeExclusive end time of the segment; omit when it has no fixed end.
schedule_namestringObligatorioIdentifier of the named schedule to update.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Credit End DateMETRONOME_UPDATE_CREDIT_END_DATEAcciónUpdate the access end date of a customer credit.
METRONOME_UPDATE_CREDIT_END_DATEAcciónUpdate the access end date of a customer credit.
Parámetros de entrada
credit_idstringObligatorioID of the credit to update.
customer_idstringObligatorioID of the customer whose credit is updated.
access_ending_beforestringObligatoriodate-timeNew exclusive end of credit access.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Customer ConfigurationMETRONOME_UPDATE_CUSTOMER_CONFIGAcciónUpdate the Salesforce account configuration for a Metronome customer.
METRONOME_UPDATE_CUSTOMER_CONFIGAcciónUpdate the Salesforce account configuration for a Metronome customer.
Parámetros de entrada
customer_idstringObligatorioUUID of the customer to update.
salesforce_account_idstringSalesforce account ID to link, or null to remove the existing link.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Customer Named ScheduleMETRONOME_UPDATE_CUSTOMER_NAMED_SCHEDULEAcciónSet a dated segment on a named schedule configured for a Metronome customer.
METRONOME_UPDATE_CUSTOMER_NAMED_SCHEDULEAcciónSet a dated segment on a named schedule configured for a Metronome customer.
Parámetros de entrada
valueobject | array | string | number | integer | boolean | nullObligatorioValue to set; its structure is specific to the named schedule.
customer_idstringObligatoriouuidID of the customer whose schedule will be updated.
starting_atstringObligatoriodate-timeInclusive start time of the schedule segment.
ending_beforestringdate-timeExclusive end time of the segment; omit when it has no fixed end.
schedule_namestringObligatorioIdentifier of the named schedule to update.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Invoice Issue DateMETRONOME_UPDATE_INVOICE_ISSUE_DATEAcciónReschedule the issue date of one draft contract invoice without changing future billing cycles.
METRONOME_UPDATE_INVOICE_ISSUE_DATEAcciónReschedule the issue date of one draft contract invoice without changing future billing cycles.
Parámetros de entrada
invoice_idstringObligatoriouuidID of the draft invoice to update.
issue_datestringObligatoriodate-timeNew invoice issue timestamp; it cannot be after the contract end date.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update ProductMETRONOME_UPDATE_PRODUCTAcciónSchedule a configuration update for a Metronome product without changing its type. The effective timestamp must be on an hour boundary.
METRONOME_UPDATE_PRODUCTAcciónSchedule a configuration update for a Metronome product without changing its type. The effective timestamp must be on an hour boundary.
Parámetros de entrada
namestringUpdated invoice display name; omit to retain the current name.
tagsstring[]Updated product tags.
product_idstringObligatoriouuidID of the product to update.
starting_atstringObligatoriodate-timeHour-boundary timestamp when the update takes effect.
is_refundablebooleanUpdated refundability setting.
composite_tagsstring[]Updated tags selecting composite component products.
pricing_group_keystring[]Updated group keys that determine separate prices.
quantity_roundingobjectUpdated usage quantity rounding configuration.
billable_metric_idstringuuidUpdated billable metric ID for a usage product.
exclude_free_usagebooleanWhether zero-cost products are excluded from composite usage.
quantity_conversionobjectUpdated usage quantity conversion configuration.
composite_product_idsstring[]Updated component product IDs for a composite product.
presentation_group_keystring[]Updated group keys used to group invoice line items.
include_composite_spendbooleanWhether spend from other composite products contributes to this product.
netsuite_overage_item_idstringUpdated NetSuite overage item ID, when enabled.
netsuite_internal_item_idstringUpdated NetSuite item ID, when enabled.
sql_breakdown_granularitystringenumWhether SQL billable metric usage is evaluated hourly or per service period.
HOURhourSERVICE_PERIODservice_period
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Rate CardMETRONOME_UPDATE_RATE_CARDAcciónUpdate a rate card's metadata, alias schedule, or pricing-unit conversions.
METRONOME_UPDATE_RATE_CARDAcciónUpdate a rate card's metadata, alias schedule, or pricing-unit conversions.
Parámetros de entrada
namestringNew internal rate card name.
aliasesobject[]Replacement alias schedule.
descriptionstringNew rate card description.
rate_card_idstringObligatoriouuidID of the rate card to update.
add_credit_type_conversionsobject[]New pricing-unit conversions to add.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Rate Card Named ScheduleMETRONOME_UPDATE_RATE_CARD_NAMED_SCHEDULEAcciónSet a dated segment on a named schedule configured for a Metronome rate card.
METRONOME_UPDATE_RATE_CARD_NAMED_SCHEDULEAcciónSet a dated segment on a named schedule configured for a Metronome rate card.
Parámetros de entrada
valueobject | array | string | number | integer | boolean | nullObligatorioValue to set; its structure is specific to the named schedule.
starting_atstringObligatoriodate-timeInclusive start time of the schedule segment.
rate_card_idstringObligatoriouuidID of the rate card whose named schedule will be updated.
ending_beforestringdate-timeExclusive end time of the segment; omit when it has no fixed end.
schedule_namestringObligatorioIdentifier of the named schedule to update.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upsert Anrok API TokenMETRONOME_UPSERT_ANROK_API_TOKENAcciónSet the Anrok API token used by specified Metronome billing delivery methods.
METRONOME_UPSERT_ANROK_API_TOKENAcciónSet the Anrok API token used by specified Metronome billing delivery methods.
Parámetros de entrada
anrok_api_tokenstringObligatorioOpaque Anrok API token to store for the specified delivery methods.
delivery_method_idsstring[]ObligatorioBilling provider delivery method IDs to associate with the Anrok token.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upsert Avalara CredentialsMETRONOME_UPSERT_AVALARA_CREDENTIALSAcciónSet Avalara credentials for specified Metronome billing delivery methods.
METRONOME_UPSERT_AVALARA_CREDENTIALSAcciónSet Avalara credentials for specified Metronome billing delivery methods.
Parámetros de entrada
avalara_passwordstringObligatorioPassword for the Avalara account.
avalara_usernamestringObligatorioUsername for the Avalara account.
avalara_environmentstringObligatorioenumAvalara environment in which the credentials are valid.
PRODUCTIONSANDBOXcommit_transactionsbooleanWhether Avalara should commit transactions for reporting and tax filing.
delivery_method_idsstring[]ObligatorioBilling provider delivery method IDs to associate with the credentials.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Void InvoiceMETRONOME_VOID_INVOICEAcciónPermanently void a Metronome invoice. This destructive billing operation cannot be undone.
METRONOME_VOID_INVOICEAcciónPermanently void a Metronome invoice. This destructive billing operation cannot be undone.
Parámetros de entrada
idstringObligatoriouuidID of the invoice to void.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not