OpenMeter Subscriptions
Update subscription addon
Changed onUpdate a subscription add-on. Only the quantity is mutable; the timing controls when the new quantity takes effect. A new entry is appended to the add-on's timeline.
patch/openmeter/subscriptions/{subscriptionId}/addons/{subscriptionAddonId}
Request
- Base URL: http://localhost:8888/api/v3
- URL: http://localhost:8888/api/v3/openmeter/subscriptions/{subscriptionId}/addons/{subscriptionAddonId}
- Auth: none declared
Path parameters
subscriptionIdstring required
ULID (Universally Unique Lexicographically Sortable Identifier).
Example:01G65Z755AFWAKHE12NY0CQ9FH
subscriptionAddonIdstring required
ULID (Universally Unique Lexicographically Sortable Identifier).
Example:01G65Z755AFWAKHE12NY0CQ9FH
Request body
Example request
{
"timing": "2023-01-01T01:01:01.001Z"
}Response
SubscriptionAddon updated response.
Changes
- ○
added to the
///////response propertyallOflist for the response status - ○
removed from the
///////response propertyallOflist for the response status
- ○
- ○
endpoint added
- ○