Updates an existing contact item specified by {itemId} with the given information.
PUT https://api.snapaddy.com/grabber/v1/contactitem/{itemId}
| Parameter name | Value | Description | Additional |
|---|---|---|---|
| itemId | string | ID of the contact item |
Required |
The request body takes a complete ContactItem resource, containing the following writable properties:
{
"attachments": [
"string"
],
"bcChecked": "boolean",
"bcImage": "string",
"bcImageBackside": "string",
"bcImageBacksideLocal": "string",
"bcImageLocal": "string",
"city": "string",
"companySize": "string",
"contactListId": "string",
"country": "string",
"customFields": {
"<key>": {}
},
"drawing": "string",
"email": "string",
"facebook": "string",
"fax": "string",
"firstName": "string",
"gender": "integer",
"image": "string",
"industry": "string",
"lastName": "string",
"linkedin": "string",
"mobile": "string",
"note": "string",
"organization": "string",
"phone": "string",
"poBox": "string",
"position": "string",
"revenue": "string",
"state": "string",
"street": "string",
"title": "string",
"twitter": "string",
"vat": "string",
"website": "string",
"xing": "string",
"zip": "string"
}
| Name | Type | Description | Additional |
|---|---|---|---|
| attachments[] | array of string | ||
| bcChecked | boolean | ||
| bcImage | string | ||
| bcImageBackside | string | ||
| bcImageBacksideLocal | string | ||
| bcImageLocal | string | ||
| city | string | ||
| companySize | string |
Possible values are:
|
|
| contactListId | string |
The id of the corresponding contact list a contact item belongs to. |
|
| country | string | ||
| customFields | object | ||
| customFields.<key> | map of object |
This might be any viable JSON value. |
Optional |
| drawing | string | ||
| string | |||
| string | |||
| fax | string | ||
| firstName | string | ||
| gender | integer |
-1 (neutral), 0 (male) or 1 (female) |
|
| image | string | ||
| industry | string |
LinkedIn industry code as defined here |
|
| lastName | string | ||
| string | |||
| mobile | string | ||
| note | string | ||
| organization | string | ||
| phone | string | ||
| poBox | string | ||
| position | string | ||
| revenue | string | ||
| state | string | ||
| street | string | ||
| title | string | ||
| string | |||
| vat | string | ||
| website | string | ||
| string | |||
| zip | string |
This request requires the use of one of following authorisation methods:
API key
.
The following HTTP status codes may be returned, optionally with a response resource.
| Status code | Description | Resource |
|---|---|---|
| 200 | OK Success |
ContactItem |
| 401 | Unauthorized Unauthorized |
Error |
| 404 | Not Found Not Found |
Error |
| 409 | Conflict Conflict |
Error |
| 500 | Internal Server Error Internal Server Error |
Error |