update_contact
Modify existing contact details in SendGrid, including email, name, phone, address, and custom fields to maintain accurate recipient information.
Instructions
Update existing contact information
Input Schema
Name | Required | Description | Default |
---|---|---|---|
contacts | Yes | Array of contact objects with updates |
Input Schema (JSON Schema)
{
"properties": {
"contacts": {
"description": "Array of contact objects with updates",
"items": {
"additionalProperties": false,
"properties": {
"address_line_1": {
"description": "Address line 1",
"type": "string"
},
"address_line_2": {
"description": "Address line 2",
"type": "string"
},
"city": {
"description": "City",
"type": "string"
},
"country": {
"description": "Country",
"type": "string"
},
"custom_fields": {
"additionalProperties": {},
"description": "Custom field values",
"type": "object"
},
"email": {
"description": "Email address",
"format": "email",
"type": "string"
},
"first_name": {
"description": "First name",
"type": "string"
},
"id": {
"description": "Contact ID (required for updates)",
"type": "string"
},
"last_name": {
"description": "Last name",
"type": "string"
},
"phone_number": {
"description": "Phone number",
"type": "string"
},
"postal_code": {
"description": "Postal code",
"type": "string"
},
"state_province_region": {
"description": "State/Province/Region",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"contacts"
],
"type": "object"
}