GET Customer Accounts Vehicle

​

Returns one of the customer's saved vehicles. Curbside and drive-thru orders use this to tell staff what to look for.

To attach a vehicle to an order, send its identifier as customer_account_vehicle_id in the cart's curbside order type properties — see Place order for Curbside.

Path Parameters

  • Customer account UUID

  • Vehicle UUID

Headers

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

  • Application key for specific client app

  • Version of the API to be used

  • Authorization header

  • Unique request identifier

Responses

  • application/json
  • Missing or invalid token, or the path account is not the signed-in account.

  • No such vehicle for this customer.

Request Example for get/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 \
  --header 'Accept: application/json' \
  --header 'Application: application-key' \
  --header 'API-VERSION: ' \
  --header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937'
{
  "status": "OK",
  "code": 200,
  "data": {
    "vehicle": {
      "id": 77,
      "customer_account_id": 9031,
      "brand_and_model": "Fiat Bravo 1.9 MJET",
      "color": "Gray",
      "license_plate_number": "CA102FX"
    }
  }
}