## Update contact card `client.contactCard.update(ContactCardUpdateParamsparams, RequestOptionsoptions?): SetContactCard` **patch** `/v3/contact_card` Partially updates an existing active contact card for a phone number. Fetches the current active contact card and merges the provided fields. Only fields present in the request body are updated; omitted fields retain their existing values. Requires an active contact card to exist for the phone number. ### Parameters - `params: ContactCardUpdateParams` - `phone_number: string` Query param: E.164 phone number of the contact card to update - `first_name?: string` Body param: Updated first name. If omitted, the existing value is kept. - `image_url?: string` Body param: Updated profile image URL. If omitted, the existing image is kept. - `last_name?: string` Body param: Updated last name. If omitted, the existing value is kept. ### Returns - `SetContactCard` - `first_name: string` First name on the contact card - `is_active: boolean` Whether the contact card was successfully applied to the device - `phone_number: string` The phone number the contact card is associated with - `image_url?: string` Image URL on the contact card - `last_name?: string` Last name on the contact card ### Example ```typescript import LinqAPIV3 from '@linqapp/sdk'; const client = new LinqAPIV3({ apiKey: process.env['LINQ_API_V3_API_KEY'], // This is the default and can be omitted }); const setContactCard = await client.contactCard.update({ phone_number: '+15551234567', first_name: 'John', image_url: 'https://cdn.linqapp.com/contact-card/example.jpg', last_name: 'Doe', }); console.log(setContactCard.first_name); ``` #### Response ```json { "phone_number": "+15551234567", "first_name": "John", "last_name": "Doe", "image_url": "https://cdn.linqapp.com/contact-card/example.jpg", "is_active": true } ```