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
}
}
}Partially update a specific contact for a domain. Only provided fields will be updated.
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
}
}
}API key authentication via Bearer token
Contact updated successfully
Show child attributes