put https://api.finexio-stage.com/v2/counterparties/suppliers//contacts/
Update Supplier's exsiting Contact
Suppliers' Contacts can be updated via a PUT operation through the Suppliers Contacts endpoint, using the supplier's id and contact's external_reference_id: /counterparties/suppliers/{id}/contacts/{external_reference_id}
For a full definition of the Supplier Contact object and its attributes, please refer to this page. Mandatory attributes will also be indicated.
Example Request
{
"name": "updated contact name",
"phone": "111-222-3333",
"primary": false,
"payment_notification": true
}
Example Response
{
"payment_notification": true,
"id": "644ad10d-5d1b-49b1-88b7-c42c5347d8b6",
"external_reference_id": "TESTdev3",
"name": "updated contact name",
"email": null,
"phone": "111-222-3333",
"primary": false
}