Skip to main content
POST
Add new vehicle

Authorizations

Authorization
string
header
required

JWT access token from /auth/verify-otp

Body

application/json
type
enum<string>
required
Available options:
two_wheeler,
three_wheeler,
four_wheeler,
commercial
make
string
required
model
string
required
year
integer
registration
string
is_default
boolean

Response

Vehicle created

id
string<uuid>
user_id
string<uuid>
type
enum<string>
Available options:
two_wheeler,
three_wheeler,
four_wheeler,
commercial
make
string
model
string
year
integer
created_at
string<date-time>
registration
string
is_default
boolean | null