Actions30
- Accommodations API Actions
- Administrations API Actions
- Contacts API Actions
- Invoices API Actions
- Price Calculation API Actions
- Rates API Actions
- Reservations API Actions
- Timezones API Actions
Overview
This node integrates with the Starfish API for CampingCare and HotelCare, specifically supporting the Contacts API to add new contacts. It allows users to input detailed contact information such as name, gender, birthday, email, phone numbers, address, identification details, company info, and additional metadata fields. This node is useful for automating the process of adding contacts to the CampingCare system, which can be beneficial for customer management, marketing, and personalized communication.
Use Case Examples
- Adding a new customer contact with full details including name, email, phone, and address.
- Adding a business contact with company and VAT number information.
- Adding extra metadata fields to a contact for custom data tracking.
Properties
| Name | Meaning |
|---|---|
| First Name | First name of the contact (optional). Used to identify the contact by their given name. |
| Last Name | Last name of the contact (required). Used to identify the contact by their family name. |
| Gender | Gender of the contact, used for personalization and reporting. Options include None, Male, Female, Family. |
| Birthday | Birthday of the contact in YYYY-MM-DD format (optional). Used for age-related personalization or reporting. |
| Email address of the contact (required). Used for communication and identification. | |
| Phone | Primary phone number of the contact (optional). Used for contact via phone. |
| Mobile Phone | Mobile phone number of the contact (optional). Used for mobile contact. |
| Address | Street name of the contact's address (optional). Used for location and mailing purposes. |
| Address Number | House number of the contact's address (optional). Used for precise location. |
| City | City where the contact resides (optional). Used for location and demographic data. |
| State | State or province of the contact (optional). Used for location and demographic data. |
| Zipcode | Postal code of the contact's address (optional). Used for location and mailing. |
| Country | Country where the contact resides (optional). Used for location and compliance. |
| ID Type | Type of identification document (optional), e.g., Passport or ID Card. Used for identity verification. |
| ID Number | Identification number of the document (optional). Used for identity verification. |
| Country of Origin | Country of origin of the contact (optional). Used for demographic and compliance purposes. |
| Company | Company name if the contact represents a business (optional). Used for business contacts. |
| VAT Number | VAT number associated with the company (optional). Used for tax and billing purposes. |
| Type | Type of contact (optional). Options include None, Main Traveler, Co Traveler, Booker. Used to categorize contact roles. |
| Extra Fields | Additional metadata fields as key/value pairs (optional). Used to store custom data about the contact. |
Output
JSON
id- Unique identifier of the newly added contact.first_name- First name of the contact.last_name- Last name of the contact.gender- Gender of the contact.birthday- Birthday of the contact.email- Email address of the contact.phone- Primary phone number of the contact.phone_mobile- Mobile phone number of the contact.address- Street name of the contact's address.address_number- House number of the contact's address.city- City where the contact resides.state- State or province of the contact.zipcode- Postal code of the contact's address.country- Country where the contact resides.id_type- Type of identification document.id_nr- Identification number of the document.country_origin- Country of origin of the contact.company- Company name if the contact represents a business.vat_number- VAT number associated with the company.type- Type of contact.extraFields- Additional metadata fields as key/value pairs.
Dependencies
- An API key credential for authenticating with the Starfish API
Troubleshooting
- Ensure required fields like 'Last Name' and 'Email' are provided to avoid validation errors.
- Check API key credentials if authentication errors occur.
- Verify the birthday field format matches YYYY-MM-DD to prevent validation errors.
- If the API returns errors related to country or other options, ensure the values conform to the expected lists loaded dynamically.
Links
- CampingCare Contacts API Documentation - Official API documentation for managing contacts in CampingCare.