Get Plan List
GET /order/client/tieup/tagged/subscription-plans
curl --location --request GET '{{url}}/order/client/tieup/tagged/subscription-plans?clientId={{client_id}}' \
--header 'key-id: {{client_secret_code}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: {{auth_token}}'Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
key-id
{{client_secret_code}}
Query parameter
Name
Type
Description
clientId
string
Unique client ID
Response
{
"success": true,
"message": "list fetched successfully!",
"data": [
{
"planId": 3, // Plan ID required for creating the subscription
"planName": "Bike Pro", // Name of the Plan
"vehcileType": "BIKE" // or CAR
}
]
}{
"success": false,
"message": "Unauthorised",
"data": null
}{
"success": false,
"message": "No Subscription plan available",
"data": []
}Last updated