Update price
This endpoint allows you to update the metadata
property on a price. If you pass null for the metadata value,
it will clear any existing metadata for that price.
Authorizations
API Keys can be issued in the Orb's web application.
Path Parameters
Body
User-specified key/value pairs for the resource. Individual keys can be removed by setting the value to null
, and the entire metadata mapping can be cleared by setting metadata
to null
.
Response
The Price resource represents a price that can be billed on a subscription, resulting in a charge on an invoice in the form of an invoice line item. Prices take a quantity and determine an amount to bill.
Orb supports a few different pricing models out of the box. Each of these models is serialized differently in a given Price object. The model_type field determines the key for the configuration object that is present.
For more on the types of prices, see the core concepts documentation
one_time
, monthly
, quarterly
, semi_annual
, annual
, custom
User specified key-value pairs for the resource. If not present, this defaults to an empty dictionary. Individual keys can be removed by setting the value to null
, and the entire metadata mapping can be cleared by setting metadata
to null
.
unit
usage_price
, fixed_price
Was this page helpful?