Delete location
documentedDelete a location.
DELETE /admin/api/2026-01/locations/{location_id}.jsonLocationsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$shop_domain}}/admin/api/2026-01/graphql.json" \
-X POST \
-H "Content-Type: application/json" \
-H "X-Shopify-Access-Token: {{OAUTH2_ACCESS_TOKEN}}" \
-d '{"query": "mutation { locationDelete(locationId: \"gid://shopify/Location/{{$location_id}}\") { deletedLocationId } }"}'