Prices
Get price by lookup key
Changed onUse when resolving a price by external id (e.g. from your catalog or CMS). Ideal for integrations.
get/prices/lookup/{lookup_key}
Request
- Base URLhttps://us.api.flexprice.io/v1
- URLhttps://us.api.flexprice.io/v1/prices/lookup/{lookup_key}
- AuthAPI key in header x-api-key
Path parameters
lookup_keystring required
Lookup key
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"
}
}
}
]
}
}Changes
- warning
added the new
configenum value to the////response property for the response status - warning
added the new
configenum value to the///response property for the response status - info
added the optional property
///to the response with the status - info
added the optional property
to the response with the status
- warning
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
added the new
too_many_requestsenum value to theresponse property for the response status - warning
added the new
too_many_requestsenum value to theresponse property for the response status
- warning