GDPR Status
Tells you whether the store has GDPR data requests switched on for the current channel. Check it before showing the data-request screens.
Endpoint
GET /api/shop/gdpr-statusAuthentication
Public — send the storefront key. No customer token is needed. See the Authentication page.
Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Channel code. |
channel | string | Channel the setting was read for. |
enabled | boolean | true when customers can raise GDPR data requests. When false, every GDPR request endpoint answers 400. |
Status Codes
| Status | Meaning |
|---|---|
200 OK | The GDPR setting of the current channel. |
401 Unauthorized | Missing or invalid storefront key. |

