API version: unstable
API version: 2021-07 Release candidate
API version: 2021-04 Latest
API version: 2021-01
API version: 2020-10
API version: 2020-07
API version: 2020-04 Unsupported
API version: 2020-01 Unsupported

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-07 (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-04 (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-01

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 2020-10

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