latestOpenAPI 3.0.02026-08-2217901.1 MB

ef9153fcac7c

Vendors

Update contact

patch/vendors/{id}/contacts/{contactId}

Path parameters

idinteger required

ID of the vendor

contactIdinteger required

ID of the contact

Query parameters

skipWebhookboolean

Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks

Request body

namestring
rolestring nullable

Role/Label of the contact.

emailstring nullable

Email address of contact.

phoneNumberstring nullable

Phone number of contact

extensionstring nullable

Phone number extension

Example request

{
  "role": "Team Lead",
  "email": "john@doe.com",
  "phoneNumber": "1234567890",
  "extension": "4682"
}

Response

Successfully updated contact

Example response

{
  "contact": {
    "id": 135,
    "role": "Team Lead",
    "email": "john@doe.com",
    "phoneNumber": "1234567890",
    "extension": "4682",
    "vendorId": 432
  }
}