Skip to content

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-status

Authentication

Public — send the storefront key. No customer token is needed. See the Authentication page.

Response Fields

FieldTypeDescription
idstringChannel code.
channelstringChannel the setting was read for.
enabledbooleantrue when customers can raise GDPR data requests. When false, every GDPR request endpoint answers 400.

Status Codes

StatusMeaning
200 OKThe GDPR setting of the current channel.
401 UnauthorizedMissing or invalid storefront key.

Released under the MIT License.