post https://api.finexio-stage.com/v2/counterparties/suppliers//contacts
Add contacts to an existing Supplier
Suppliers' Contacts can be added with a POST operation through the Supplier Contacts endpoint, using supplier id: /counterparties/suppliers/{id}/contacts
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
[
{
"external_reference_id": "TESTdev3",
"name": "contact dev 3",
"email": "[email protected]",
"phone": "333-333-4444",
"primary": true,
"payment_notification": false
},
{
"external_reference_id": "testDev4",
"name": "contact dev 4",
"email": "[email protected]",
"phone": "333-333-4444",
"primary": false,
"payment_notification": true
}
]
Example Response
[
{
"payment_notification": false,
"id": null,
"external_reference_id": null,
"name": "Dev Contact",
"email": "[email protected]",
"phone": "000111110",
"primary": false
},
{
"payment_notification": true,
"id": null,
"external_reference_id": "",
"name": "Dev contact 2",
"email": "[email protected]",
"phone": "",
"primary": false
},
{
"payment_notification": false,
"id": "0b707add-6f3b-4c18-a775-460aca3e8c31",
"external_reference_id": "TESTdev3",
"name": "contact dev 3",
"email": "[email protected]",
"phone": "333-333-4444",
"primary": true
},
{
"payment_notification": true,
"id": "f4de0aa6-0edd-4dca-85cb-c4dfcf6df091",
"external_reference_id": "testDev4",
"name": "contact dev 4",
"email": "[email protected]",
"phone": "333-333-4444",
"primary": false
}
]