updated
field in the response will be false
, and the
birthday will remain at its previous value.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
The ID of the customer in your platform or ecommerce store.
For Shopify stores, you can pass either a GID or a regular numeric ID. If you do pass a GID you must encode it as a URL parameter, e.g. gid%3A%2F%2Fshopify%2FCustomer%2F1001
This must be a customer whose state is enrolled
1
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
Body
Body
The birthday to set for the customer
Response
200
A boolean indicating whether the birthday was updated. If the customer already had a birthday set, it will not have been updated and this will be false
The customer's birthday, which will be the provided birthday, or an existing birthday if one was already set. The year
may not be present if the program has been configured to only save the month and day
The customer object, updated with the new birthday property if it was changed