Gets the information of a Consumer with given number.
PUT /v1/clients/{clientId}/customers/{customerNumber}
application/json
Person
Company
{
"type": "Person",
"person": {
"ssn": "02016126007",
"firstName": "Tom",
"lastName": "Customer"
},
"phoneNumber": "+4712345678",
"email": "tom.customer@mail.com",
"address": {
"addressLine": "Customer Street 1",
"postalCode": "0002",
"postalPlace": "CSTM",
"countryCode": "NO"
}
}
{
"_links": [
{
"href": "https://api.horizonafs.io/customer/v1/client/1234/customers/customer-person-1",
"rel": "_self",
"method": "GET"
},
{
"href": "https://api.horizonafs.io/customer/v1/client/1234/customers/customer-person-1",
"rel": "check_customer",
"method": "HEAD"
},
{
"href": "https://api.horizonafs.io/customer/v1/client/1234/customers/customer-person-1",
"rel": "update_customer",
"method": "PUT"
},
{
"href": "https://api.horizonafs.io/customer/v1/client/1234/customers/search?page={Page}&perPage={PerPage}&sort={byFieldName}&order={ASC/DESC}",
"rel": "search_customer_by_field",
"method": "POST"
}
],
"customerNumber": "customer-person-1",
"type": "Person",
"person": {
"firstName": "Tom",
"lastName": "Customer"
},
"phoneNumber": "+4712345678",
"email": "tom.customer@mail.com",
"paymentMeans": {
"paymentId": "291069002072200000004"
},
"address": {
"addressLine": "Person Street 1",
"postalCode": "0002",
"postalPlace": "PRSN",
"countryCode": "NO"
}
}