A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://shopify.dev/docs/api/admin-graphql/latest/mutations/locationActivate below:

locationActivate - GraphQL Admin

Requires write_locations access scope.

Activates a location so that you can stock inventory at the location. Refer to the isActive and activatable fields on the Location object.

The ID of a location to activate.

Was this section helpful?

The location that was activated.

The list of errors that occurred from executing the mutation.

Was this section helpful?

mutation { locationActivate(locationId: "gid://shopify/Location/658095763") { location { id isActive } } }curl -X POST \ https://your-development-store.myshopify.com/admin/api/2025-07/graphql.json \ -H 'Content-Type: application/json' \ -H 'X-Shopify-Access-Token: {access_token}' \ -d '{ "query": "mutation { locationActivate(locationId: \"gid://shopify/Location/658095763\") { location { id isActive } } }" }'const { admin } = await authenticate.admin(request); const response = await admin.graphql( `#graphql mutation { locationActivate(locationId: "gid://shopify/Location/658095763") { location { id isActive } } }`, ); const data = await response.json();const client = new shopify.clients.Graphql({session}); const data = await client.query({ data: `mutation { locationActivate(locationId: "gid://shopify/Location/658095763") { location { id isActive } } }`, });session = ShopifyAPI::Auth::Session.new( shop: "your-development-store.myshopify.com", access_token: access_token ) client = ShopifyAPI::Clients::Graphql::Admin.new( session: session ) query = <<~QUERY mutation { locationActivate(locationId: "gid://shopify/Location/658095763") { location { id isActive } } } QUERY response = client.query(query: query)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4