Anchor to ShopPolicyShop
objectShop Policy
Requires access scope.
Policy that a merchant has configured for their store, such as their refund or privacy policy.
Anchor to FieldsFields
- Anchor to bodybody•HTML!non-null
The text of the policy. The maximum size is 512kb.
- Anchor to createdAtcreated•Date!non-null
At The date and time (ISO 8601 format) when the policy was created.
- •ID!non-null
A globally-unique ID.
- Anchor to titletitle•String!non-null
The translated title of the policy. For example, Refund Policy or Politique de remboursement.
- Anchor to translationstranslations•[Translation!]!non-null
The published translations associated with the resource.
- Anchor to typetype•Shop
Policy Type!non-null The shop policy type.
- Anchor to updatedAtupdated•Date!non-null
At The date and time (ISO 8601 format) when the policy was last modified.
- •URL!non-null
The public URL of the policy.
Was this section helpful?
Anchor to MutationsMutations
- •mutation
Updates a shop policy.
- Anchor to shopPolicyshop•Shop
Policy Policy Input!required The properties to use when updating the shop policy.
Arguments
- Anchor to shopPolicyshop•Shop
Policy Policy The shop policy that has been updated.
- Anchor to userErrorsuser•[Shop
Errors Policy User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
Was this section helpful?