shopPolicyUpdate mutation
Updates a shop policy.
Required access
write_legal_policies
access scope.
On this page
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
Argument | Description |
---|---|
shopPolicy
(
ShopPolicyInput!
)
required
|
The properties to use when updating the shop policy. |
ShopPolicyInput fields
-
body (
String!
) RequiredPolicy text, maximum size of 512kb.
-
type (
ShopPolicyType!
) RequiredThe shop policy type.
Return fields
-
shopPolicy (
ShopPolicy
)The shop policy that has been updated.
-
userErrors (
[ShopPolicyUserError!]!
)List of errors that occurred executing the mutation.
Updates a shop policy.
Required access
write_legal_policies
access scope.
On this page
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
Argument | Description |
---|---|
shopPolicy
(
ShopPolicyInput!
)
required
|
The properties to use when updating the shop policy. |
ShopPolicyInput fields
-
body (
String!
) RequiredPolicy text, maximum size of 512kb.
-
type (
ShopPolicyType!
) RequiredThe shop policy type.
Return fields
-
shopPolicy (
ShopPolicy
)The shop policy that has been updated.
-
userErrors (
[ShopPolicyUserError!]!
)List of errors that occurred executing the mutation.
Updates a shop policy.
Required access
write_legal_policies
access scope.
On this page
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
Argument | Description |
---|---|
shopPolicy
(
ShopPolicyInput!
)
required
|
The properties to use when updating the shop policy. |
ShopPolicyInput fields
-
body (
String!
) RequiredPolicy text, maximum size of 512kb.
-
type (
ShopPolicyType!
) RequiredThe shop policy type.
Return fields
-
shopPolicy (
ShopPolicy
)The shop policy that has been updated.
-
userErrors (
[ShopPolicyUserError!]!
)List of errors that occurred executing the mutation.
Updates a shop policy.
Required access
write_legal_policies
access scope.
On this page
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
Argument | Description |
---|---|
shopPolicy
(
ShopPolicyInput!
)
required
|
The properties to use when updating the shop policy. |
ShopPolicyInput fields
-
body (
String!
) RequiredPolicy text, maximum size of 512kb.
-
type (
ShopPolicyType!
) RequiredThe shop policy type.
Return fields
-
shopPolicy (
ShopPolicy
)The shop policy that has been updated.
-
userErrors (
[ShopPolicyUserError!]!
)List of errors that occurred executing the mutation.
Updates a shop policy.
Required access
write_legal_policies
access scope.
On this page
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
Argument | Description |
---|---|
shopPolicy
(
ShopPolicyInput!
)
required
|
The properties to use when updating the shop policy. |
ShopPolicyInput fields
-
body (
String!
) RequiredPolicy text, maximum size of 512kb.
-
type (
ShopPolicyType!
) RequiredThe shop policy type.
Return fields
-
shopPolicy (
ShopPolicy
)The shop policy that has been updated.
-
userErrors (
[ShopPolicyUserError!]!
)List of errors that occurred executing the mutation.