Introduction
The LATAM Pass Member PNA API is the way through which our partners can access the data of our LATAM Pass members in accordance with the Personal Data Protection Laws of the countries in which we operate and having been considered essential for the proper operation of the partnership.
To be able to make requests to the API, you must first obtain the access token. See the Authentication documentation for full information.
Request
There are three possibilities to search for a member:
- Only by the LATAM Pass member identification code or Frequent Flyer Number (
ffn); - Only by the identification document data (
document); - First by
ffnand then bydocument.
Header
client_id: value obtained from the Dev Tools > My Apps > Client ID menu and mandatory in all requestsaccess_token: access token previously obtainedx-scope: list of scopes separated by comma (,)x-latam-test: fixedLatamPass, to be used in the test environment only, which means, it must not be used in the production environment
Scopes
Member data will be returned if, and only if, it is essential for the proper operation of the partnership. If it is considered personal or sensitive, it must be consented by the member and supported by contract and/or terms and conditions of the program or partnership, to be defined by Data Protect .
- Generics:
member-balance: redeemable points account balancemember-coalition: program coalitionmember-enrollment: date of registration in the programmember-language: member language(s)member-segment: segment(s) linked to the accountmember-status: account statusmember-tier: category in the program and its expiration date
- Personal or sensitive:
member-address: member address(es), residential and/or businessmember-birthdate: member's date of birthmember-document: document(s) linked to the accountmember-email: email address(es) linked to the accountmember-gender: member gendermember-marital: member's marital statusmember-name: member namesmember-nationality: member nationalitymember-phone: member's telephone number(s), landline and/or mobile
Response
Most common errors
Invalid scopes or not defined for client
No member was found with the information provided
Missing required fields or invalid values
Technical documentation
Click here to access it.