Create location
documentedCreate a location.
POST /admin/api/2026-01/locations.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}}.myshopify.com/admin/api/2026-01/graphql.json" \
-X POST \
-H "Content-Type: application/json" \
-H "X-Shopify-Access-Token: {{OAUTH2_ACCESS_TOKEN}}" \
-d '{"query":"mutation { locationAdd(input: {name: \"{{$name}}\", address: {address1: \"{{$address1}}\", address2: \"{{$address2}}\", city: \"{{$city}}\", provinceCode: \"{{$provinceCode}}\", countryCode: {{$countryCode}}, zip: \"{{$zip}}\"}, fulfillsOnlineOrders: {{$fulfillsOnlineOrders}}) { location { id name address { address1 city provinceCode countryCode zip } } userErrors { field message } } }"}'