GET customers/{id}
GET /api/v1/customers/1 HTTP/1.1
Host: tph.io
X-Token: c9c0a840-b5f1-4e0e-84da-e8a4eedfc63b
data
: object
id
: intname
: stringtelephone_number
: stringmobile_number
: stringaddress
: stringcountry
: stringregion
: stringcity
: stringpost_code
: stringbilling_address
: stringbilling_country
: stringbilling_region
: stringbilling_city
: stringbilling_post_code
: stringbilling_vat_number
: stringbilling_company_registration_number
: stringcreated_at
: string ("2020-01-01T00:00:00+00:00"
)updated_at
: string ("2020-01-01T00:00:00+00:00"
){
"data":{
"id":1,
"name":"Example Customer",
"type":"business",
"telephone_number":"0123456789",
"mobile_number":"0987654321",
"address":"123 Example Address",
"country":"US",
"region":"Example Region",
"city":"Example City",
"post_code":"123 EXAMPLE",
"billing_address":"",
"billing_country":"",
"billing_region":"",
"billing_city":"",
"billing_post_code":"",
"billing_vat_number":"",
"billing_company_registration_number":"",
"created_at":"2020-12-31T00:00:00+00:00",
"updated_at":"2020-12-31T00:00:00+00:00"
}
}