Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left unchanged.
Use a Bearer token to access this API.
"obj_01EXAMPLE00000000000000000"
{ "description": "string", "active": false }Success
Prices define the unit cost and (optional) billing cycle for both recurring and one-time purchases of products. Prices belong to a given product. Different physical goods or levels of service should be represented by products, and pricing options should be represented by prices.
{
"price_id": "obj_01EXAMPLE00000000000000000",
"description": "string",
"trial_period_days": 0,
"unit_amount": 0,
"recurring": {
"interval": "daily",
"interval_count": 0,
"trial_period_days": 0
},
"active": false,
"product": "string",
"created_at": "2024-01-01T00:00:00Z",
"type": "one_time",
"metadata": {},
"hsa_fsa_eligibility": "not_eligible",
"test_mode": false
}