Session management
- : Manage session context
Your Emporix tenant name.
Note: The tenant name should always be provided in lowercase.
^[a-z][a-z0-9]+$Customer session ID. The session context (and this ID) is created when a cart is created for the user; until then, only an anonymous or customer token is returned and there is no session context resource.
The request was successful. Session context details are returned.
A session context with the provided ID was not found.
A server-side error occurred.
- : Manage session context
Your Emporix tenant name.
Note: The tenant name should always be provided in lowercase.
^[a-z][a-z0-9]+$Customer session ID. The session context (and this ID) is created when a cart is created for the user; until then, only an anonymous or customer token is returned and there is no session context resource.
- If set to
trueand the session with the specified id does not exist, the session will be created. - If set to
falseor not specified, a standard update will be performed.
Customer access token.
Note: This header is only required if the session context belongs to a logged-in customer. In that case, the value of the token and the customerId in the request body must belong to the same customer.
Request body for updating a session context (PUT).
You can send any of the session fields returned in the GET response, including context (custom attributes key-value map).
The metadata.version is required for optimistic locking.
The request was successful. The session context has been updated.
A session context with the provided ID was not found.
A server-side error occurred.
No content
Last updated
Was this helpful?

