Edit contact
API URL
URL used to send HTTP requests:
Note
If the request does not reach its destination, repeat it on the backup server backup1.bulkgate.com.
Supported HTTP methods
POST-application/json
Parameters table
| PARAMETER NAME | VALUE | MANDATORY | DEFAULT VALUE |
|---|---|---|---|
| application_id | Application ID | Yes | - |
| application_token | Application token | Yes | - |
| phone_number | Phone number of contact to be edited. | Yes | - |
| data | Contact information | Yes | Data object |
| category | The address book to work with. Defaults to the account main one. | No | main |
Note
An omitted field is left untouched — the schema fills in -do-not-modify- for it. To clear a field, send an empty string.
Data object
| PARAMETER NAME | VALUE | MANDATORY | DEFAULT VALUE |
|---|---|---|---|
| type | Person/Company | No | - |
| phone_mobile | Main phone number | No | - |
| title_before | Title before name | No | - |
| first_name | First name | No | - |
| last_name | Last name | No | - |
| title_after | Title after name | No | - |
| gender | male / female / transgender / agender / non_binary / unknown | No | unknown |
| company_name | Name of your company | No | - |
| No | - | ||
| url | Url | No | - |
| street1 | 1. Street address | No | - |
| street2 | 2. Street address | No | - |
| city | City | No | - |
| zip | Zip code | No | - |
| state | State | No | - |
| country | Country code in ISO 3166-1 alpha-2 format. | No | null |
| company_number | Company number | No | - |
| company_vat | Company vat | No | - |
| note | Note | No | - |
| custom_field_0 | Custom field | No | - |
| custom_field_1 | Custom field | No | - |
| custom_field_2 | Custom field | No | - |
| custom_field_3 | Custom field | No | - |
| custom_field_4 | Custom field | No | - |
| custom_field_5 | Custom field | No | - |
| custom_field_6 | Custom field | No | - |
| custom_field_7 | Custom field | No | - |
| custom_field_8 | Custom field | No | - |
| custom_field_9 | Custom field | No | - |
Example request
Response
In case of success:
In case of error:
Where:
- type and error (description of the error) can be found in the error types table
- code represents http error
- detail is an additional info about the error
Was this page helpful?
Thank you for your feedback.