Prices
Get price
Use when you need to load a single price (e.g. for display or editing). Response includes expanded meter and price unit when applicable.
get/prices/{id}
Path parameters
idstring required
Price ID
Response
OK
Example response
{
"addon": {
"entitlements": [
{
"feature": {
"meter": {
"created_at": "2024-03-20T15:04:05Z",
"event_name": "api_request",
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "API Usage Meter",
"status": "published",
"tenant_id": "tenant123",
"updated_at": "2024-03-20T15:04:05Z"
}
}
}
]
},
"meter": {
"created_at": "2024-03-20T15:04:05Z",
"event_name": "api_request",
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "API Usage Meter",
"status": "published",
"tenant_id": "tenant123",
"updated_at": "2024-03-20T15:04:05Z"
},
"plan": {
"entitlements": [
{
"feature": {
"meter": {
"created_at": "2024-03-20T15:04:05Z",
"event_name": "api_request",
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "API Usage Meter",
"status": "published",
"tenant_id": "tenant123",
"updated_at": "2024-03-20T15:04:05Z"
}
}
}
]
}
}