Rates
Base path:/api/v1/accounts/{account_id}/planning/rates
List / show
Create a rate
Creating a rate also ensures a default pricing-plan rule so it can appear in calculations.
Update / delete
Pricing plans and rules
A plan groups rules that point at rates. Assign a plan on the event with
pricing_plan_id, then preview or lock pricing.
Create a pricing plan
Create a discount code
discount_code_ids when creating a quote.
Preview / lock pricing on an event
preview returns a breakdown without persisting. lock stores the priced state on the event metadata. When the planning_quotes feature is enabled on the account, prefer creating a quote instead of locking — lock returns an error in that case.
After pricing looks right, create a quote from the event.