HTTP APIs
You can call Alhena's APIs for cart and checkout events directly from your server, rather than using the JS APIs.
Obtaining Fingerprints
const fp = window.gleenWidget.getFingerprint();
const faqFp = window.gleenWidget.getFAQFingerprint();Base URL
1. Record a Cart Event
Endpoint
Payload
Field
Type
Required
Description
Success Response
Error Codes
Example (CURL)
2. Record a Checkout Event
Endpoint
Payload
Field
Type
Required
Description
Field
Type
Required
Description
Success Response
Error Codes
Example (CURL)
Notes & Troubleshooting
Last updated