Update Contact by Locator
Provide exactly one contact locator:
external_idsecondary_external_idemail_addresssms_phone_numberwhatsapp_phone_numberfacebook_user_idinstagram_user_idpostal_address
Custom fields can be written as additional top-level properties using each custom field key. Values are validated against the field definitions returned by List Custom Fields.
Authorization
bearerAuth In: header
Query Parameters
Identifier assigned by an external system.
Secondary identifier assigned by an external system.
Filters resources by email address.
Filters resources by sms phone number.
Filters resources by whatsapp phone number.
Unique identifier of the related facebook user.
Unique identifier of the related instagram user.
Filters resources by postal address.
Dynamic detail fields to include. Use repeated query syntax: include_details=foo&include_details=bar.
items <= 10Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Full Name value for this resource.
Salutation value for this resource.
Birthday value for this resource.
Human-readable description of the resource.
Identifier assigned by an external system.
Secondary identifier assigned by an external system.
Address Line1 value for this resource.
Address Line2 value for this resource.
City value for this resource.
Zipcode value for this resource.
Country value for this resource.
Response Body
application/json
curl -X PATCH "https://api.getmateo.com/v1/contacts/by" \ -H "Content-Type: application/json" \ -d '{ "property1": null, "property2": null }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "display_name": "string", "full_name": "string", "salutation": "string", "birthday": "2019-08-24T14:15:22Z", "description": "string", "external_id": "string", "secondary_external_id": "string", "address_line1": "string", "address_line2": "string", "city": "string", "zipcode": "string", "country": "string", "is_blocked": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "property1": null, "property2": null}