sites
POST /v2/sites/{site_id}/webviews/sessions
Changed onRequest
- Base URLhttps://api.loyaltylion.com
- URLhttps://api.loyaltylion.com/v2/sites/{site_id}/webviews/sessions
- Auth
- HTTP bearer
- or HTTP basic
Path parameters
site_idnumber required
Request body
Example request
{
"language": "en",
"currency": "usd",
"customer": {
"merchant_id": "1000001",
"email": "alice@example.com"
}
}Response
201
Example response
{
"webview_session": {
"url": "https://platform.loyaltylion.com/webview/f7bd16c",
"expires_at": "2025-03-03T00:00:00Z"
}
}Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info