Get the customer information for a reservation
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
Parameters
- dealership_id: integer (required) - the Dealership ID
- reservation_id: integer (required) - the Reservation ID
- api-version: integer (required) - Target API version
Response Format
``200 Success
object
- billing: object
- card_type: string
- last_four: string
- expiration_month: string
- expiration_year: string
- current_state: string
- customer: object
- id: integer
- email: string
- first_name: string
- last_name: string
- phone_number: string
- language: string
- deleted: boolean
- drivers_license: object
- id: integer
- number: string
- state: string
- country: string
- date_of_birth: date
- expiration: date
- name: string
- line1: string
- line2: string
- city: string
- zip: string
- insurance_expires_on: string - Policy expiration date
- sufficiency: object | null
``404 Not found
Example Request
curl --request GET \
--url https://api.dealerware.com/dealerships/{dealership_id}/reservations/{reservation_id}/customer \
--header 'accept: application/json'
Example Response
{
"billing": {
"card_type": "string",
"last_four": "string",
"expiration_month": "string",
"expiration_year": "string"
},
"current_state": "started",
"customer": {
"id": 1,
"email": "customer@example.com",
"first_name": "Harry",
"last_name": "Potter",
"phone_number": 1234567890,
"language": "English",
"deleted": true
},
"drivers_license": {
"id": 2,
"number": "TX12332",
"state": "TX",
"country": "US",
"date_of_birth": "1979-03-03",
"expiration": "2040-03-03",
"name": "Harry Potter",
"line1": "2415 Highway 71 East",
"line2": "Suite 761",
"city": "Del Valle",
"zip": 90210
},
"insurance_expires_on": "2030-01-01",
"sufficiency": {
"loaner": {
"sufficient": true,
"status": "pass",
"valid_until": "2024-12-31T23:59:59Z",
"checked_at": "2024-01-01T12:00:00Z",
"details": {
"collision_coverage_meets_requirements": "pass",
"comprehensive_coverage_meets_requirements": "fail",
"expiration_date_comparison": "pass",
"insureds_match": "unknown",
"required_policy_information_is_present": "pass"
}
},
"rental": {
"sufficient": true,
"status": "pass",
"valid_until": "2024-12-31T23:59:59Z",
"checked_at": "2024-01-01T12:00:00Z",
"details": {
"comprehensive_coverage_meets_requirements": "fail",
"expiration_date_comparison": "pass",
"insureds_match": "unknown",
"rental_covered_for_collision": "pass",
"required_policy_information_is_present": "pass"
}
}
}
}