🔨 In Development — This section is still being developed and may change.
PATCH/v1/pricing-tiers/{tier_id}
Update a pricing tier.
Admin only - Requires admin privileges.
tier_id string required
The unique identifier of the pricing tier to update.
name string optional
The display name of the pricing tier.
description string optional
A description of the pricing tier.
discount_percentage number optional
The discount percentage for this tier (0-100).
is_active boolean optional
Whether the pricing tier is active and available for use.
Returns the updated pricing tier object.
cURL
- Bash
- Python
- JavaScript
curl -X PATCH https://api.aitronos.com/v1/pricing-tiers/tier_enterprise \
-H "X-API-Key: $FREDDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"discount_percentage": 20.0,
"description": "Enterprise tier with enhanced discounts"
}'{
"id": "tier_enterprise",
"name": "Enterprise",
"description": "Enterprise tier with enhanced discounts",
"discount_percentage": 20.0,
"is_active": true
}