POST
/
consumers
/
{consumer_id}
/
invoicing
/
contacts
curl --request POST \
  --url https://api.chift.eu/consumers/{consumer_id}/invoicing/contacts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "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>"
    }
  ]
}'
{
  "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>"
}

Authorizations

Authorization
string
header
required

This access token needs to be included in each of your request to the Chift API.

Path Parameters

consumer_id
string
required

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.