Get Vehicle List
curl --location --request GET '{{url}}/order/client/tieup/subscription/vehicle-list?clientId={{client_id}}' \
--header 'key-id: {{client_secret_code}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: {{auth_token}}'Name
Value
Name
Type
Description
{
"success": true,
"message": "list fetched successfully!",
"data": [
{
"vehcileId": 3, // Vehicle ID required for creating the subscription
"vehcileName": "RoyalEnfield Classic 350",
"vehcileType": "BIKE" // or CAR
}
]
}{
"success": false,
"message": "Unauthorised",
"data": null
}{
"success": false,
"message": "No Vehicles added",
"data": []
}Last updated