curl --request GET \
--url https://api.chift.eu/consumers/{consumer_id}/invoicing/contacts/{contact_id} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"source_ref": {
"id": "<string>",
"model": "<string>"
},
"is_prospect": true,
"is_customer": true,
"is_supplier": true,
"is_company": true,
"company_name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "<string>",
"phone": "<string>",
"mobile": "<string>",
"company_id": "<string>",
"vat": "<string>",
"company_number": "<string>",
"currency": "<string>",
"language": "<string>",
"comment": "<string>",
"customer_account_number": "<string>",
"supplier_account_number": "<string>",
"birthdate": "2023-12-25",
"gender": "H",
"addresses": [
{
"address_type": "main",
"name": "<string>",
"number": "<string>",
"box": "<string>",
"phone": "<string>",
"mobile": "<string>",
"email": "<string>",
"street": "<string>",
"city": "<string>",
"postal_code": "<string>",
"country": "<string>"
}
],
"external_reference": "<string>"
}
Returns a contact
curl --request GET \
--url https://api.chift.eu/consumers/{consumer_id}/invoicing/contacts/{contact_id} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"source_ref": {
"id": "<string>",
"model": "<string>"
},
"is_prospect": true,
"is_customer": true,
"is_supplier": true,
"is_company": true,
"company_name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "<string>",
"phone": "<string>",
"mobile": "<string>",
"company_id": "<string>",
"vat": "<string>",
"company_number": "<string>",
"currency": "<string>",
"language": "<string>",
"comment": "<string>",
"customer_account_number": "<string>",
"supplier_account_number": "<string>",
"birthdate": "2023-12-25",
"gender": "H",
"addresses": [
{
"address_type": "main",
"name": "<string>",
"number": "<string>",
"box": "<string>",
"phone": "<string>",
"mobile": "<string>",
"email": "<string>",
"street": "<string>",
"city": "<string>",
"postal_code": "<string>",
"country": "<string>"
}
],
"external_reference": "<string>"
}
This access token needs to be included in each of your request to the Chift API.
Successful Response
The response is of type object
.