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.
Unique identifier of the customer's session.
62528895-b561-4518-bfdc-2cbf52a07845Customer unique identifier.
Note: This field is only applicable to logged-in customers.
C87362407845Code of the site, as defined in the Site Settings Service.
Note: The default country code for anonymous sessions is based on the home base address country of the default site. In the case of a logged-in customer session, the country code is derived from the customer's shipping address, with the billing address being used as a fallback if the former is not available. If both addresses are not set, the home base address country code from the default site is used.
mainThree-letter currency code, as defined in the Currency Service.
Note: During an anonymous session, the default currency of the site serves as the initial currency. Whereas, for a user session, the customer's preferred currency is set as the initial currency.
EURUnique identifier of the active customer cart, generated when the cart is created through the Cart Service.
61079711ce0eb90861357045The country code, as defined in the country service.
Note: The default country code for anonymous sessions is based on the home base address country of the default site. In the case of a logged-in customer session, the country code is derived from the customer's shipping address, with the billing address being used as a fallback if the former is not available. If both addresses are not set, the home base address country code from the default site is used.
DEA 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.
Unique identifier of the customer's session.
62528895-b561-4518-bfdc-2cbf52a07845Customer unique identifier.
Note: This field is only applicable to logged-in customers.
C87362407845Code of the site, as defined in the Site Settings Service.
Note: The default country code for anonymous sessions is based on the home base address country of the default site. In the case of a logged-in customer session, the country code is derived from the customer's shipping address, with the billing address being used as a fallback if the former is not available. If both addresses are not set, the home base address country code from the default site is used.
mainThree-letter currency code, as defined in the Currency Service.
Note: During an anonymous session, the default currency of the site serves as the initial currency. Whereas, for a user session, the customer's preferred currency is set as the initial currency.
EURUnique identifier of the active customer cart, generated when the cart is created through the Cart Service.
61079711ce0eb90861357045The country code, as defined in the country service.
Note: The default country code for anonymous sessions is based on the home base address country of the default site. In the case of a logged-in customer session, the country code is derived from the customer's shipping address, with the billing address being used as a fallback if the former is not available. If both addresses are not set, the home base address country code from the default site is used.
DEThe 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?

