Skip to main content
PATCH
/
contact
/
{contactId}
cURL
curl --request PATCH \
  --url https://api.slash.com/contact/{contactId} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "recipientType": "contact",
  "recipientLegalName": "<string>",
  "recipientEmail": "<string>",
  "address": {
    "addressLine": "<string>",
    "addressCity": "<string>",
    "addressState": "<string>",
    "addressZip": "<string>",
    "addressLine2": "<string>",
    "addressCountry": "<string>"
  }
}
'
{
  "contact": {
    "id": "<string>",
    "name": "<string>",
    "recipientType": "contact",
    "recipientLegalName": "<string>",
    "recipientEmail": "<string>",
    "address": {},
    "data": {}
  }
}

Authorizations

X-API-Key
string
header
required

Authentication from public API requests

Path Parameters

contactId
string
required

Query Parameters

The legal entity ID. Required if authenticating with access to multiple legal entities.

Body

application/json
name
string
required

Updated display name.

recipientType
enum<string>
required

The relationship type of the contact.

Available options:
contact,
vendor

Updated legal name.

recipientEmail
string
required

Updated email address.

address
IAddressModel · object
required

Response

OK

contact
Contact · object
required

A contact represents a counterparty (customer, vendor, etc.) associated with a legal entity.