merchant_id
(the ID of the customer in your store or
platform). If no matching customer exists, a 404
response will be returned.
For convenience, the full program configuration, as returned by the Get
Configuration endpoint,
is also included in the response.
Compared to the Initialize Session endpoint, this
endpoint is readonly and will never create or update a customer, or trigger any
rules.
This endpoint is useful when you know the customer will already exist, and just
want to retrieve their information quickly. For example, if the customer session
is initialized elsewhere (either by you, or the main LoyaltyLion SDK).Authorizations
An API key linked to a Program in LoyaltyLion, with a set of permissions (scopes). API keys can be created manually, or acquired through an OAuth2 flow. The API key should be provided as a Bearer
token in the Authorization
header
Path Parameters
Your LoyaltyLion Site ID
Query Parameters
The sales channel from which this request is made. Must be provided as this query parameter, or the X-LoyaltyLion-Channel
header
web
, pos
, mobile
Response
200
The sales channel for which this response was generated
web
, pos
, mobile
ISO 4217
code indicating the currency for any financial values in this response
"usd"
ISO 639-1
code indicating the language used for any text in this response
en
, de
, es
, fr
, it
, nl
, sv
The customer matched by merchant_id
. The customer's state
property indicates if the customer is a member of the program (enrolled
), not a member (guest
), or has been blocked from the program (blocked
)
- Enrolled customer
- Guest customer
- Blocked customer
The complete program configuration. This is the same configuration that is returned by the Get Configuration endpoint