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.

object

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

Whether consent is required for the region.

The ISO 3166 country code for which the policy applies.

Anchor to dataSaleOptOutRequireddataSaleOptOutRequired

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.

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?

query

Returns the customer privacy consent policies of a shop.


Was this section helpful?

mutation

Update or create consent policies in bulk.


Was this section helpful?

interface

Was this section helpful?