Update Price
Update Price
Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left unchanged.
POST
Update Price
Documentation Index
Fetch the complete documentation index at: https://docs.withflex.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Use a Bearer token to access this API.
Path Parameters
Example:
"obj_01EXAMPLE00000000000000000"
Body
application/json
Example:
{ "description": "string", "active": false }Response
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.
Example:
{
"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
}