Policy
A store policy with its type, title, content, and URL.
Type Definition
type Policy {
type: String!
title: String!
body: String!
url: String!
}Fields
| Field | Type | Description |
|---|---|---|
| type | String! | The type of the policy (e.g., terms_and_conditions, privacy_policy). |
| title | String! | The localized title of the policy. |
| body | String! | The HTML content of the policy. |
| url | String! | The URL where the policy can be viewed. |
Relationships
The Policy type is used within the StorePolicies object to represent individual store policies. It contains references to different policy types including terms and conditions, privacy policy, shipping policy, and refund policy. Each policy instance encapsulates the complete information needed to display policy content to customers.
Example
{
type
title
body
url
}Implements
This type does not implement any interfaces.
Related Types
- String