Skip to main content
POST
Create cost record

Authorizations

Authorization
string
header
required

API key prefixed with cr_ (e.g. cr_a1b2c3...)

Body

application/json
entity_id
string<uuid>
required
name
string
required
category
string
required
amount_cents
integer
required
frequency
enum<string>
required
Available options:
monthly,
quarterly,
annual,
one_time
website_id
string<uuid>
is_shared
boolean
default:false
product_line_id
string<uuid>

Response

Created cost record

success
boolean
required
data
object