Fetch the customer attached to a given Contract

Time Status User Agent
Make a request to see history.

URL Expired

The URL for this request expired after 30 days.

id

integer

required

The id of the contract

api-version

integer

required

Target API version

``200 Success

object

id integer

Customer ID

first_name string

First name

last_name string

Last name

phone_number string

Customer phone number, stripped to digits only

email string

Customer email

links object

contract object

contract object

``401 Unauthorized

``403 Forbidden

``404 Not found

``406 Not Acceptable


ShellNodeRubyPHPPython
Bearer

Base URL

https://api.dealerware.com/admin/contracts/{id}/customer

xxxxxxxxxx

curl --request GET \

--url https://api.dealerware.com/admin/contracts/id/customer \

--header 'accept: application/json'


xxxxxxxxxx

{ "id": 42, "first_name": "Leslie", "last_name": "Knope", "phone_number": "15554447275", "email": "leslie.knope@parks.test", "links": { "contract": { "id": 2, "href": "https://api.dw-tst.com/admin/some_resources/2" } } }