> For the complete documentation index, see [llms.txt](https://developer.esw.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.esw.com/light-touch-integration/features/checkout/technical-details.md).

# Technical Details

This page covers the technical details for the `ESW_LTI` browser cookie used by [Checkout](/light-touch-integration/features/checkout.md).

### What the `ESW_LTI` cookie does

The LTI script creates and manages the `ESW_LTI` cookie in the browser.

ESW configures that script as part of the LTI setup. ESW also controls values such as `PricingSyncId` and `IsEswCountry`.

This cookie stores the country, currency, and pricing context that LTI uses on the storefront and during checkout handoff.

### Cookie fields

#### `CountryIso`

The shopper delivery country.

Use a 2-letter ISO 3166 country code, such as `IE`, `US`, or `GB`.

#### `CurrencyIso`

The shopper currency.

Use a 3-letter ISO 4217 currency code, such as `EUR`, `USD`, or `GBP`.

#### `PricingSyncId`

The pricing synchronization identifier generated by ESW pricing.

It helps keep storefront pricing aligned with the pricing used in ESW checkout.

#### `IsEswCountry`

This flag determines whether the selected country uses ESW checkout or the retailer’s native checkout.

* When `IsEswCountry` is `true`, LTI can localize storefront prices to the shopper currency and route the shopper to ESW checkout.
* When `IsEswCountry` is `false`, LTI does not apply ESW price conversion and does not redirect the shopper to ESW checkout.

### How checkout uses the cookie

For checkout flows that depend on the browser context, LTI reads the selected country, shopper currency, and pricing state from `ESW_LTI`.

These values help ensure that the storefront state matches the values used when the shopper moves into checkout.

{% hint style="info" %}
Keep the selected country, currency, and pricing state aligned across the storefront and checkout flow. If those values drift, the shopper may see pricing mismatches or be sent to the wrong checkout path.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developer.esw.com/light-touch-integration/features/checkout/technical-details.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
