Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Add a new rate
ID of the rate card to update
ID of the product to add a rate for
inclusive effective date
FLAT
, flat
, PERCENTAGE
, percentage
, TIERED
, tiered
Optional. List of pricing group key value pairs which will be used to calculate the price.
Optional. Frequency to bill subscriptions with. Required for subscription type products with Flat rate.
MONTHLY
, QUARTERLY
, ANNUAL
, WEEKLY
, monthly
, quarterly
, annual
, weekly
exclusive end date
Default price. For FLAT and SUBSCRIPTION rate_type, this must be >=0. For PERCENTAGE rate_type, this is a decimal fraction, e.g. use 0.1 for 10%; this must be >=0 and <=1.
The Metronome ID of the credit type to associate with price, defaults to USD (cents) if not passed. Used by all rate_types except type PERCENTAGE. PERCENTAGE rates use the credit type of associated rates.
"2714e483-4ff1-48e4-9e25-ac732e8f24f2"
Only set for TIERED rate_type.
A distinct rate on the rate card. You can choose to use this rate rather than list rate when consuming a credit or commit.
Response
Success