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

# List the customer's marketing consent

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

## `GET /customers/me/marketing-consent`

**List the customer's marketing consent**

Returns the signed-in customer's marketing consent: one entry per channel with its
current opted-in state. A channel with no recorded choice reads as opted out, and
every channel reads as opted out until the email is verified.

Returns 200 with `{ channels }`. Without a valid session token, returns 401
`CUSTOMER_AUTH_REQUIRED`.

> **Note:** Available only on sites with e-commerce enabled.

### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `401` | Missing or invalid storefront publishable key or customer session token |
| `402` | The site subscription does not currently permit this operation |
| `403` | The storefront key origin is not allowed |
| `404` | Site, resource, or commerce feature not found |


### SDK

```typescript
import { createClient } from 'lynkow'

const lynkow = createClient({
  siteId: process.env.LYNKOW_SITE_ID!,
  publishableKey: process.env.LYNKOW_PK,
})

const { channels } = await lynkow.customers.marketingConsent.list()
const emailOptIn = channels.find((c) => c.channel === 'email')?.optedIn ?? false
```

---