shopPolicyUpdate mutation

Version unstable

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

Argument Description
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

Version 2021-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

Argument Description
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

Version 2021-07 (Latest)

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

Argument Description
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

Version 2021-04

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

Argument Description
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 bee