shopPolicyUpdate mutation

Version 2020-10 (Release candidate)

Updates a shop policy.

Required access

write_legal_policies access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

shopPolicy ( ShopPolicyInput! ) required

The properties to use when updating the shop policy.

ShopPolicyInput fields

body (String!) Required

Policy text, maximum size of 512kb.

type (ShopPolicyType!) Required

The shop policy type.

Return fields

shopPolicy (ShopPolicy)

The shop policy that has been updated.

userErrors ([ShopPolicyUserError!]!)

List of errors that occurred executing the mutation.