Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

query

Returns the customer privacy consent policies of a shop.

Return policies where consent is required or not.

Return policies with the provided country code.

Anchor to dataSaleOptOutRequireddataSaleOptOutRequired

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

Return the policy with the provided ID.

Return policies with the provided region code.


Was this section helpful?

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

consentRequired

Whether consent is required for the region.

countryCode

The ISO 3166 country code for which the policy applies.

dataSaleOptOutRequired

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.

regionCode

The ISO 3166 region code for which the policy applies.

shopId
non-null

The global ID of the shop that owns the policy.


Was this section helpful?