application/json. Path slug (the plan slug)lookup:plans cache so the change is visible immediately.price, description, features, discount_price, discounted_till, message_limit, is_active200 - updated plan403 - not an admin | 404 - plan not found | 422 - no fields to updateAuthorization: Bearer ********************{
"discount_price": 299,
"discounted_till": 1760688000000,
"price": 349
}curl --location --request PATCH 'https://uat-api.hastaai.in/api/v1/admin/subscriptions/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"discount_price": 299,
"discounted_till": 1760688000000,
"price": 349
}'{
"success": true,
"message": "Success",
"data": {
"slug": "sage-monthly",
"plan_name": "Sage",
"price": 299,
"currency": "INR",
"billing_period": "monthly",
"description": "Sage tier - monthly",
"features": {
"messages_per_day": 30,
"palm_reading": 1,
"tarot_spread": 1,
"compatibility_score": 3
},
"discount_price": 0,
"message_limit": 30,
"is_active": true,
"is_subscription_plan": true,
"is_one_time_plan": false,
"is_topup_plan": false,
"razorpay_plan_id": "plan_00000000000001"
}
}