Skip to main content
PATCH
Update service category (admin)

Authorizations

Authorization
string
header
required

JWT access token from /auth/verify-otp

Path Parameters

id
string<uuid>
required

Body

application/json
name
string
slug
string
description
string
base_price
integer
vehicle_type
enum<string>
Available options:
two_wheeler,
four_wheeler,
commercial
is_active
boolean
sort_order
integer

Response

Category updated

id
string<uuid>
name
string
description
string | null
base_price
number
is_active
boolean
created_at
string<date-time>
vehicle_type
enum<string>
Available options:
two_wheeler,
three_wheeler,
four_wheeler,
commercial
sort_order
integer