v1

latestOpenAPI 3.0.0CoreStack Inc License2026-07-248001,5071.7 MB
Billing Metric

Update Billing Metrics

Update Billing Metrics.

post/v2/billing_metrics/item/{billing_metrics_id}

Path parameters

billing_metrics_idstring required

The Id of Billing Metrics to update.

Request body

sys_idstring

The Sys ID of the metric

source_sys_idstring

Specifies the source metrics. Only system metrics can have an empty source and cannot be removed.

created_onstring date-time

Created on

created_bystring

Username who created the Billing Metrics.

updated_onstring date-time

Updated on

updated_bystring

Username who updated the Billing Metrics.

namestring required

Name of the billing metrics

billing_metric_type'margin_savings' | 'native_cost' | 'rate' | 'system_cost' | 'true_cost' | 'usage' required

Types of Billing Metric.

category'Customer' | 'Dimension' | 'Distributor' | 'Partner'

Categories of Billing Metric.

Example request

{
  "billing_metric_type": "margin_savings",
  "category": "Customer"
}

Response

Success

sys_idstring

The Sys ID of the metric

source_sys_idstring

Specifies the source metrics. Only system metrics can have an empty source and cannot be removed.

created_onstring date-time

Created on

created_bystring

Username who created the Billing Metrics.

updated_onstring date-time

Updated on

updated_bystring

Username who updated the Billing Metrics.

namestring required

Name of the billing metrics

billing_metric_type'margin_savings' | 'native_cost' | 'rate' | 'system_cost' | 'true_cost' | 'usage' required

Types of Billing Metric.

category'Customer' | 'Dimension' | 'Distributor' | 'Partner'

Categories of Billing Metric.

Example response

{
  "billing_metric_type": "margin_savings",
  "category": "Customer"
}