Update an accounting supplier
curl --request PATCH \
--url https://api.chift.eu/consumers/{consumer_id}/accounting/suppliers/{supplier_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"external_reference": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"name": "<string>",
"function": "<string>",
"is_company": true,
"company_id": "<string>",
"phone": "<string>",
"mobile": "<string>",
"email": "<string>",
"language": "<string>",
"internal_notes": "<string>",
"website": "<string>",
"vat": "<string>",
"iban": "<string>",
"bank_account": "<string>",
"currency": "<string>",
"active": true,
"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>",
"first_name": "<string>",
"last_name": "<string>",
"name": "<string>",
"function": "<string>",
"is_company": true,
"company_id": "<string>",
"phone": "<string>",
"mobile": "<string>",
"email": "<string>",
"language": "<string>",
"internal_notes": "<string>",
"website": "<string>",
"vat": "<string>",
"iban": "<string>",
"bank_account": "<string>",
"currency": "<string>",
"active": true,
"account_number": "<string>",
"company_number": "<string>",
"id": "<string>",
"last_updated_on": "2023-11-07T05:31:56Z",
"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>"
}
]
}
This access token needs to be included in each of your request to the Chift API.
Successful Response
The response is of type object
.
curl --request PATCH \
--url https://api.chift.eu/consumers/{consumer_id}/accounting/suppliers/{supplier_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"external_reference": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"name": "<string>",
"function": "<string>",
"is_company": true,
"company_id": "<string>",
"phone": "<string>",
"mobile": "<string>",
"email": "<string>",
"language": "<string>",
"internal_notes": "<string>",
"website": "<string>",
"vat": "<string>",
"iban": "<string>",
"bank_account": "<string>",
"currency": "<string>",
"active": true,
"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>",
"first_name": "<string>",
"last_name": "<string>",
"name": "<string>",
"function": "<string>",
"is_company": true,
"company_id": "<string>",
"phone": "<string>",
"mobile": "<string>",
"email": "<string>",
"language": "<string>",
"internal_notes": "<string>",
"website": "<string>",
"vat": "<string>",
"iban": "<string>",
"bank_account": "<string>",
"currency": "<string>",
"active": true,
"account_number": "<string>",
"company_number": "<string>",
"id": "<string>",
"last_updated_on": "2023-11-07T05:31:56Z",
"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>"
}
]
}
Update an accounting supplier
curl --request PATCH \
--url https://api.chift.eu/consumers/{consumer_id}/accounting/suppliers/{supplier_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"external_reference": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"name": "<string>",
"function": "<string>",
"is_company": true,
"company_id": "<string>",
"phone": "<string>",
"mobile": "<string>",
"email": "<string>",
"language": "<string>",
"internal_notes": "<string>",
"website": "<string>",
"vat": "<string>",
"iban": "<string>",
"bank_account": "<string>",
"currency": "<string>",
"active": true,
"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>",
"first_name": "<string>",
"last_name": "<string>",
"name": "<string>",
"function": "<string>",
"is_company": true,
"company_id": "<string>",
"phone": "<string>",
"mobile": "<string>",
"email": "<string>",
"language": "<string>",
"internal_notes": "<string>",
"website": "<string>",
"vat": "<string>",
"iban": "<string>",
"bank_account": "<string>",
"currency": "<string>",
"active": true,
"account_number": "<string>",
"company_number": "<string>",
"id": "<string>",
"last_updated_on": "2023-11-07T05:31:56Z",
"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>"
}
]
}
This access token needs to be included in each of your request to the Chift API.
Successful Response
The response is of type object
.
curl --request PATCH \
--url https://api.chift.eu/consumers/{consumer_id}/accounting/suppliers/{supplier_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"external_reference": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"name": "<string>",
"function": "<string>",
"is_company": true,
"company_id": "<string>",
"phone": "<string>",
"mobile": "<string>",
"email": "<string>",
"language": "<string>",
"internal_notes": "<string>",
"website": "<string>",
"vat": "<string>",
"iban": "<string>",
"bank_account": "<string>",
"currency": "<string>",
"active": true,
"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>",
"first_name": "<string>",
"last_name": "<string>",
"name": "<string>",
"function": "<string>",
"is_company": true,
"company_id": "<string>",
"phone": "<string>",
"mobile": "<string>",
"email": "<string>",
"language": "<string>",
"internal_notes": "<string>",
"website": "<string>",
"vat": "<string>",
"iban": "<string>",
"bank_account": "<string>",
"currency": "<string>",
"active": true,
"account_number": "<string>",
"company_number": "<string>",
"id": "<string>",
"last_updated_on": "2023-11-07T05:31:56Z",
"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>"
}
]
}