pr_update_contact
Description
Updates the details of the specified contact. Returns true on success otherwise an error with details of the failure.
Version
Available from 7.14.0.
Access
Update, master access required, available to internal users with update access to the Contacts function.
Parameters
Number | Name | O/R | Version | Usage | ||
---|---|---|---|---|---|---|
1 | Auth | Required | 7.14.0+ | Authentication structure.* | ||
2 | Contact ID | Required | 7.14.0+ | The ID of the contact to update. | ||
3 | Changes | Required | 7.14.0+ | The first name of the user to be created. | ||
4 | Last name | Required | 7.14.0+ | A structure consisting of field name as the key and the new value of the field as the value. All fields are optional and only those included will be updated. | Field first_name last_name title_id suffix_id post_addr_line1 post_addr_line2 post_addr_line3 post_city post_post_code post_country_id phys_addr_line1 phys_addr_line2 phys_addr_line3 phys_city phys_post_code phys_country_id |
Description First name Surname Reference to the title (eg. Mrs or Dr) Reference to the suffix (eg. Snr or Jnr) Email address Postal address line 1 Postal address line 2 Postal address line 3 Postal address city Postal address postal code Reference to postal address country Physical address line 1 Physical address line 2 Physical address line 3 Physical address city Physical address postal code Reference to physical address country |
Example
Requests
{ "method": "pr_update_contact", "params": [ { "bridge_username": "username", "bridge_password": "password", "link_id": 1 }, "PA7502", { "email": "[email protected]", "post_country_id": "RS191" } ], "id": 1 }
Response
{ "id": 1, "error": null, "result": true }
Keep up to date with us
Menu
Visit our website
ResRequest Modules
- Business Intelligence
- Central Reservations
- Channel Management
- Customer Relationship Management
- Developer
- Email Series 2022
- Email Series 2023
- Financial Management
- Marketing tools
- Payment Gateways
- Point of sale
- Product
- Professional Services
- Property Management
- ResConnect
- ResInsite
- ResNova
- System Setup
- Technical Alerts
- Technical Tips
- Telephone Management
- Webinars Index