cURL
curl --request GET \ --url https://api.mageloyalty.com/v1/customers/{identifier}/anniversary \ --header 'Authorization: <api-key>'
Get a customer’s loyalty anniversary date.
identifier
{ "data": { "type": "customer_anniversary", "id": "6789012345", "attributes": { "shopify_customer_id": "6789012345", "email": "jane@example.com", "anniversary_date": "2023-03-10T09:00:00.000Z" } } }
anniversary_date
null
404