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.

Required access
Send
  • Publishable keyX-Lynkow-Pk
  • Customer session tokenAuthorization
Site access
GET/customers/me/marketing-consent
Base URLhttps://api.lynkow.com/storefront/{siteId}
Feedback

Was this page helpful?