Skip to main content
query

Returns the customer privacy consent policies of a shop.

•Boolean

Return policies where consent is required or not.

•PrivacyCountryCode

Return policies with the provided country code.

Anchor to dataSaleOptOutRequireddataSaleOptOutRequired
•Boolean

Return policies where data sale opt out is required or not.

•ID

Return the policy with the provided ID.

•String

Return policies with the provided region code.


Was this section helpful?

•[ConsentPolicy!]!

A consent policy describes the level of consent that the merchant requires from the user before actually collecting and processing the data.

•Boolean

Whether consent is required for the region.

•PrivacyCountryCode

The ISO 3166 country code for which the policy applies.

Anchor to dataSaleOptOutRequireddataSaleOptOutRequired
•Boolean

Whether data sale opt-out is required for the region.

•ID!
non-null

The global ID of the consent policy. IDs prefixed with SD- are system default policies.

•String

The ISO 3166 region code for which the policy applies.

•ID!
non-null

The global ID of the shop that owns the policy.


Was this section helpful?