UPDATE Customer Account Vehicle
Endpoint will update customer account vehicle
Path Parameters
- Type: stringFormat: uuidcustomer
_account _id requiredCustomer account UUID
- Type: stringvehicle
_id requiredVehicle UUID
Headers
- Type: stringAcceptrequired
Type of content accepted by the API (application/json in most cases)
- Type: stringAuthorization
Authorization header
- Type: stringContent
- Type requiredContent-Type header
- Type: stringA
P I - V E R S I O N requiredVersion of the API to be used
- Type: stringApplicationrequired
Application key for specific client app
- Type: stringX
- Request - I D requiredUnique request identifier
Body
application/json
- Type: stringbrand
_and _model - Type: stringcolor
- Type: stringlicense
_plate _number
Responses
- application/json
Request Example for put/customer-accounts/{customer_account_id}/vehicles/{vehicle_id}
curl https://api-public-demo.menu.app/api/customer-accounts/4e42c2a6-3f23-11ed-936c-1a67b454859d/vehicles/4c8a6770-99c4-4f08-9d91-26152dcb0c89 \
--request PUT \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'API-VERSION: ' \
--header 'Application: application-key' \
--header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937' \
--data '{
"brand_and_model": "Fiat Bravo",
"color": "Gray",
"license_plate_number": "CA102FX"
}'
{
"status": "OK",
"code": 200,
"data": [
{
"id": "7dada664-6074-4c3d-ba75-250b142b6913",
"customer_account_id": "69f8ad44-3f23-11ed-936c-1a67b454859d",
"brand_and_model": "Fiat bravo",
"color": "Gray",
"license_plate_number": "CA102FX"
}
]
}