import { ShopifyShopPolicyWithDefault } from '@daffodil/driver/shopify'
A policy for the store that comes with a default value, such as a subscription policy. If the merchant hasn't configured a policy for their store, then the policy will return the default value. Otherwise, the policy will return the merchant-configured value.
interface ShopifyShopPolicyWithDefault {
__typename: "ShopPolicyWithDefault"
body: string
handle: string
id: string
title: string
url: Scalars['URL']['output']
}
__typename "ShopPolicyWithDefault" |
|---|
body string |
|---|
The text of the policy. Maximum size: 64KB. |
handle string |
|---|
The handle of the policy. |
id string |
|---|
The unique ID of the policy. A default policy doesn't have an ID. |
title string |
|---|
The title of the policy. |
url Scalars['URL']['output'] |
|---|
Public URL to the policy. |