younifyd
Menu

privacySettings

Privacy related settings for a shop.

Use it in a workflow

  1. Add a step and choose the Shopify connector.
  2. Pick the privacySettings action (under Privacy).
  3. Fill in the fields below, then reference the result from later steps as {{privacysettings.response.data}}.

Query

This is the query the action sends by default. Edit it in the step's Query field to change which fields come back.

graphql
query PrivacySettings {
  privacySettings {
    banner {
      autoManaged
      enabled
    }
    dataSaleOptOutPage {
      autoManaged
    }
    privacyPolicy {
      autoManaged
      supportedLocales
    }
  }
}

Response

Read the result with {{privacysettings.response.data.data.privacySettings}}. If the API returns errors, the step fails and they are at {{privacysettings.response.data.errors}}.

bannerobject
autoManagedboolean
enabledboolean
dataSaleOptOutPageobject
autoManagedboolean
privacyPolicyobject
autoManagedboolean
supportedLocalesarray<object>

Need more? See the Shopify guide for connection setup and behaviour shared by every action.

Was this page helpful?