Skip to Content

Policy

A store policy with its type, title, content, and URL.

Type Definition

type Policy { type: String! title: String! body: String! url: String! }

Fields

FieldTypeDescription
typeString!The type of the policy (e.g., terms_and_conditions, privacy_policy).
titleString!The localized title of the policy.
bodyString!The HTML content of the policy.
urlString!The URL where the policy can be viewed.

Relationships

The Policy type is used by the StorePolicies object to provide access to different store policies. Specific policy instances are accessed through the termsAndConditions, privacyPolicy, shippingPolicy, and refundPolicy fields on StorePolicies.

Example

query { storePolicies { termsAndConditions { type title body url } } }

Implements

This type does not implement any interfaces.

  • StorePolicies