--- title: marketUpdate - GraphQL Admin description: Updates the properties of a market. api_version: 2024-10 api_name: admin type: mutation api_type: graphql source_url: html: 'https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/marketUpdate' md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/marketUpdate.txt --- # market​Update mutation Requires `read_markets` for queries and both `read_markets` as well as `write_markets` for mutations. Updates the properties of a market. ## Arguments * id [ID!](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/ID) required The ID of the market to update. * input [Market​Update​Input!](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/MarketUpdateInput) required The properties to update. *** ## Market​Update​Payload returns * market [Market](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/Market) The market object. * user​Errors [\[Market​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/MarketUserError) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### marketUpdate reference ## Mutation Reference ```graphql mutation marketUpdate($id: ID!, $input: MarketUpdateInput!) { marketUpdate(id: $id, input: $input) { market { # Market fields } userErrors { field message } } } ``` ## Input ```json { "id": "gid://shopify//10079785100", "input": { "name": "", "handle": "", "enabled": true } } ```