Skip to content

End Notification

To end a visitor session, an end notification is to be sent to Apptus eSales. The level of personalisation affects the actions performed when a session ends.

Method

POST

URL format

/api/v2/notifications/end?esales.market={market}&esales.customerKey={customerKey}&esales.sessionKey={sessionKey}

Parameters

Name Type Description Example
esales.sessionKey string A unique id. UUID / GUID 2F75A...EAFA6
esales.customerKey string Visitor id. UUID / GUID. 5G7HJ...R77T1
esales.market string Visitor Market Sweden

Request content-type

N/A

Response content-type

HTTP response code

Responses

Response Description
204 Notifications was received successfully.
400 Invalid or missing required arguments
5xx Server error such as cluster unavailable or busy. The response body may contain more information about the error.

Examples

Try out the API at the Apptus API Playground with your eSales Playground and API credentials.

Request

cURL

#!/bin/bash
curl -i \
-X POST \
-H "Content-Type: application/json" \
 "https://{cluster-id}.api.esales.apptus.cloud/api/v2/notifications/end?esales.market=UK&esales.sessionKey=b106299c-eac0-4f6f-96d2-93e57c255784&esales.customerKey=d9528030-509c-4e0f-b585-7168f1e9feca"

Response

HTTP/1.1 204 No Content
×