ShopPolicy object
Policy that a merchant has configured for their store, such as their refund or privacy policy.
Required access
read_legal_policies
access scope.
Fields
-
body (
HTML!
)The text of the policy. The maximum size is 512kb.
-
id (
ID!
)Globally unique identifier.
-
translations (
[PublishedTranslation!]!
)The translations associated with the resource.
Argument Description locale
(String!
) requiredFilters translations locale.
-
type (
ShopPolicyType!
)The shop policy type.
-
url (
URL!
)The public URL of the policy.
Types that return ShopPolicy
Mutations for ShopPolicy
-
Updates a shop policy.
Implements
Policy that a merchant has configured for their store, such as their refund or privacy policy.
Required access
read_legal_policies
access scope.
Fields
-
body (
HTML!
)The text of the policy. The maximum size is 512kb.
-
id (
ID!
)Globally unique identifier.
-
translations (
[PublishedTranslation!]!
)The translations associated with the resource.
Argument Description locale
(String!
) requiredFilters translations locale.
-
type (
ShopPolicyType!
)The shop policy type.
-
url (
URL!
)The public URL of the policy.
Types that return ShopPolicy
Mutations for ShopPolicy
-
Updates a shop policy.
Implements
Policy that a merchant has configured for their store, such as their refund or privacy policy.
Required access
read_legal_policies
access scope.
Fields
-
body (
HTML!
)The text of the policy. The maximum size is 512kb.
-
id (
ID!
)Globally unique identifier.
-
translations (
[PublishedTranslation!]!
)The translations associated with the resource.
Argument Description locale
(String!
) requiredFilters translations locale.
-
type (
ShopPolicyType!
)The shop policy type.
-
url (
URL!
)The public URL of the policy.
Types that return ShopPolicy
Mutations for ShopPolicy
-
Updates a shop policy.
Implements
Policy that a merchant has configured for their store, such as their refund or privacy policy.
Required access
read_legal_policies
access scope.
Fields
-
body (
HTML!
)The text of the policy. The maximum size is 512kb.
-
id (
ID!
)Globally unique identifier.
-
translations (
[PublishedTranslation!]!
)The translations associated with the resource.
Argument Description locale
(String!
) requiredFilters translations locale.
-
type (
ShopPolicyType!
)The shop policy type.
-
url (
URL!
)The public URL of the policy.
Types that return ShopPolicy
Mutations for ShopPolicy
-
Updates a shop policy.