UPDATE Customer Account Vehicle

​

Endpoint will update customer account vehicle

Path Parameters

  • Customer account UUID

  • Vehicle UUID

Headers

  • Type of content accepted by the API (application/json in most cases)

  • Authorization header

  • Content-Type header

  • Version of the API to be used

  • Application key for specific client app

  • Unique request identifier

Body

application/json

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"
    }
  ]
}