OpenMeter Product Catalog
Update add-on association for plan
Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Update an add-on association for a plan.
put/v3/openmeter/plans/{planId}/addons/{planAddonId}
Path parameters
planIdstring required
ULID (Universally Unique Lexicographically Sortable Identifier).
Example:01G65Z755AFWAKHE12NY0CQ9FH
planAddonIdstring required
ULID (Universally Unique Lexicographically Sortable Identifier).
Example:01G65Z755AFWAKHE12NY0CQ9FH
Request body
Example request
{
"labels": {
"env": "test"
},
"from_plan_phase": "resource_key"
}Response
PlanAddon upsert response.
Example response
{
"id": "01G65Z755AFWAKHE12NY0CQ9FH",
"labels": {
"env": "test"
},
"created_at": "2023-01-01T01:01:01.001Z",
"updated_at": "2023-01-01T01:01:01.001Z",
"deleted_at": "2023-01-01T01:01:01.001Z",
"addon": {
"id": "01G65Z755AFWAKHE12NY0CQ9FH"
},
"from_plan_phase": "resource_key",
"validation_errors": [
{
"field": "addons/pro/ratecards/token/featureKey"
}
]
}