GitHub

ShopPolicyWithDefault

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.

import { ShopPolicyWithDefault } from '@daffodil/driver/shopify'
type ShopPolicyWithDefault = {
    __typename?: 'ShopPolicyWithDefault';
    body: Scalars['String']['output'];
    handle: Scalars['String']['output'];
    id?: Maybe<Scalars['ID']['output']>;
    title: Scalars['String']['output'];
    url: Scalars['URL']['output'];
}
Type Options
ShopPolicyWithDefault { __typename?: 'ShopPolicyWithDefault'; body: Scalars['String']['output']; handle: Scalars['String']['output']; id?: Maybe<Scalars['ID']['output']>; title: Scalars['String']['output']; url: Scalars['URL']['output']; }