-
Notifications
You must be signed in to change notification settings - Fork 0
Authenticate Contact
Andrew Jones edited this page Feb 12, 2021
·
2 revisions
Request Url: /apis/contact/authenticate
-
Method
POST
-
Content-Type
application/x-www-form-urlencoded
-
Payload
- Specify "Email" in request payload to provide email address
- Specify "Password" in request payload to provide password
This API endpoint is used to validate a guest using your own checkout pages, the guest can provide their email and password and the API will validate that they have an account and the details match. You can then process the booking against an existing contactID to keep everything in sync.
Success response:
{
Success: true,
Contact: contact_object,
Message: ""
}
Contact object
{
"Id": 68,
"CompanyId": 1,
"FullName": "Ipro Software",
"Country": "United Kingdom",
"Title": "",
"FirstName": "Ipro",
"LastName": "Software",
"Language": null,
"Email": "info@ipro-software.com",
"EmailAlt": "",
"EmailAlt1": "",
"Telephone": "",
"TelephoneAlt": "",
"Mobile": "",
"Postcode": ".123",
"Address": "17 Bolts Croft",
"StreetName": "",
"TownCity": ".test",
"CountyArea": "Wiltshire",
"CountryCode": "GB",
"CompanyName": "iPro Holidays",
}
Error response:
{
Success: false,
Contact: null,
Message: "Error description"
}
- Get Started
- Settings
- Contacts
- Properties
- Properties
- Property Detail
- Property Images
- Property Extras
- Property Reference Lookup
- Property Rates
- Push Property Rates
- Property Custom Rates
- Property Availabilities
- Property Day Availabilities
- Property Rooms
- Property Distances
- Property All
- Property Search
- Property Search Lite
- Property Search Lite v2
- Property Enquiries
- Property Welcome Pack
- Push Property
- Properties Last Updated
- Property Day Availability Check
- Property Reviews
- Property Blockouts
- Property Detail Events
- Property Search Events
- Property Management
- Enquries
- Bookings
- Reviews
- Payments
- Offers & Deals
- Reports
- Communications