---
title: shopPolicyUpdate - GraphQL Admin
description: Updates a shop policy.
api_version: 2026-10
source_url:
  html: https://shopify.dev/docs/api/admin-graphql/latest/mutations/shoppolicyupdate
  md: https://shopify.dev/docs/api/admin-graphql/latest/mutations/shoppolicyupdate.md
---

# shopPolicyUpdate

mutation

Requires `write_legal_policies` access scope.

Updates a shop policy.

## Arguments

* shopPolicy

  [ShopPolicyInput!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ShopPolicyInput)

  required

  The properties to use when updating the shop policy.

***

## ShopPolicyUpdatePayload returns

* shopPolicy

  [ShopPolicy](https://shopify.dev/docs/api/admin-graphql/latest/objects/ShopPolicy)

  The shop policy that has been updated.

* userErrors

  [\[ShopPolicyUserError!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/ShopPolicyUserError)

  non-null

  The list of errors that occurred from executing the mutation.

***

## Examples

* ### shopPolicyUpdate reference