--- title: marketUpdate - GraphQL Admin description: Updates the properties of a market. api_version: 2025-01 api_name: admin type: mutation api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/marketupdate md: https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/marketupdate.md --- # 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/2025-01/scalars/ID) required The ID of the market to update. * input [Market​Update​Input!](https://shopify.dev/docs/api/admin-graphql/2025-01/input-objects/MarketUpdateInput) required The properties to update. *** ## Market​Update​Payload returns * market [Market](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/Market) The market object. * user​Errors [\[Market​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/2025-01/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 ##### Variables ```json { "id": "gid://shopify//10079785100", "input": { "name": "", "handle": "", "enabled": true } } ``` ##### Schema ```graphql input MarketUpdateInput { name: String handle: String enabled: Boolean } ```