> For the complete Lynkow documentation index in agent-friendly format, see [llms.txt](/llms.txt).

# SDK Types: Cookies

**Published**: 2026-11-30
**Category**: Types

## `ConsentLogOptions`

*Interface*

Options of CookiesService.logConsent, on top of `locale` and `fetchOptions`.

Extends: `BaseRequestOptions`

| Property | Type | Optional | Description |
| --- | --- | --- | --- |
| `action` | `ConsentAction` | Yes | Action to record. Inferred when omitted: `accept_all`, `reject_all` or `customize`, ignoring `necessary`. Pass `'withdraw'` explicitly when revoking a consent. |
| `fallback` | `boolean` | Yes | Set `false` to refuse records served in another locale: a detail read then<br>throws `NOT_FOUND` and a list drops them. Fallback is on by default. Reads<br>without locale fallback ignore it. |
| `fetchOptions` | `RequestInit` | Yes | `fetch()` options for this request, shallow-merged over the client's<br>`fetchOptions`, such as `{ next: { revalidate: 60 } }`. |
| `locale` | `string` | Yes | Locale of this request (e.g. `'fr'`), overriding the client's `locale`.<br>Reads never reject a locale: a missing translation is served in another<br>locale and flagged `isFallback: true` (see LocaleResolution). Some<br>writes, such as `reviews.submit()`, refuse a locale the site does not enable. |
| `pageUrl` | `string` | Yes | Absolute `http` or `https` URL of the page, max 2048 characters. Defaults in a browser to the page's origin and path. |
| `visitorId` | `string` | Yes | Visitor id, 1 to 64 characters. Defaults in a browser to the id stored under `_lkw_vid` in `localStorage`. Required outside a browser. |