Skip to main content
PATCH
/
v1
/
domains
/
{id}
/
contacts
/
{contactId}
Partially update domain contact
curl --request PATCH \
  --url https://api.shingleai.com/v1/domains/{id}/contacts/{contactId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "externalId": "<string>",
  "accountId": "<string>",
  "label": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "organizationName": "<string>",
  "jobTitle": "<string>",
  "address1": "<string>",
  "address2": "<string>",
  "city": "<string>",
  "stateProvince": "<string>",
  "postalCode": "<string>",
  "country": "<string>",
  "email": "jsmith@example.com",
  "phone": "<string>"
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "deletedAt": "2023-11-07T05:31:56Z",
    "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "externalId": "<string>",
    "accountId": "<string>",
    "label": "<string>",
    "firstName": "<string>",
    "lastName": "<string>",
    "organizationName": "<string>",
    "jobTitle": "<string>",
    "address1": "<string>",
    "address2": "<string>",
    "city": "<string>",
    "stateProvince": "<string>",
    "postalCode": "<string>",
    "country": "<string>",
    "email": "<string>",
    "phone": "<string>",
    "createdBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  },
  "meta": {
    "pagination": {
      "limit": 123,
      "offset": 123,
      "hasMore": true,
      "total": 123
    }
  }
}

Authorizations

Authorization
string
header
required

API key authentication via Bearer token

Path Parameters

id
string<uuid>
required

Domain UUID

contactId
string<uuid>
required

Contact UUID

Body

application/json
externalId
string
accountId
string
label
string | null
firstName
string
lastName
string
organizationName
string | null
jobTitle
string | null
address1
string | null
address2
string | null
city
string | null
stateProvince
string | null
postalCode
string | null
country
string | null
email
string<email>
phone
string

Response

Contact updated successfully

data
object
required
meta
object