Dimensional Price Group
Create dimensional price group
A dimensional price group is used to partition the result of a billable metric by a set of dimensions. Prices in a price group must specify the partition used to derive their usage.
For example, suppose we have a billable metric that measures the number of widgets used and we want to charge differently depending on the color of the widget. We can create a price group with a dimension "color" and two prices: one that charges $10 per red widget and one that charges $20 per blue widget.
post/dimensional_price_groups
Request body
Example request
{
"dimensions": [
"region",
"instance_type"
]
}Response
Created
Example response
{
"external_dimensional_price_group_id": "my_dimensional_price_group_id",
"dimensions": [
"region",
"instance_type"
]
}