Get Vehicle List

GET /order/client/tieup/subscription/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}}'

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": [
        {
            "vehcileId": 3, // Vehicle ID required for creating the subscription
            "vehcileName": "RoyalEnfield Classic 350",
            "vehcileType": "BIKE" // or CAR
        }
    ]
}

Last updated