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

# List the customer's marketing consent

**Publié le** : 2026-08-19
**Catégorie** : Commerce

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

**List the customer's marketing consent**

Returns one entry per channel in the marketing allowlist with its EFFECTIVE
opted-in boolean (opt-out always wins; a channel with no row reads opted-out),
scoped to the authenticated buyer only (tenant-scoped, no other customer, no
internal id). A buyer who has not proven inbox control reads the closed default
(every channel opted-out) instead of the row owner's stored preferences, mirroring
how `me` withholds the stored profile. Behind the publishable key, the
`customer_accounts` flag, and the customer-auth middleware. Returns 200 with
`{ channels }`.

> **Note:** This endpoint requires the e-commerce feature to be enabled on your site.

### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `401` | Missing or invalid storefront publishable key |
| `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 |


---