Add typed JSON output to store inspection - #8442
Merged
gonzaloriestra merged 4 commits intoSep 21, 2026
Merged
Conversation
This was referenced Aug 31, 2026
Contributor
Author
This was referenced Aug 31, 2026
gonzaloriestra
force-pushed
the
gonzalo/json-store-inspection
branch
2 times, most recently
from
August 31, 2026 13:00
030e413 to
5397b12
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-store-inspection
branch
from
August 31, 2026 13:39
5397b12 to
827e95c
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-store-inspection
branch
2 times, most recently
from
August 31, 2026 14:33
0b27fc5 to
78dbd57
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-store-inspection
branch
from
August 31, 2026 14:45
78dbd57 to
2317512
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-store-inspection
branch
from
August 31, 2026 14:57
2317512 to
4061a8a
Compare
dmerand
reviewed
Sep 9, 2026
dmerand
left a comment
Contributor
There was a problem hiding this comment.
This one is very cut + dry, just how I like it! I think we can remove this command from the linter allowlist now, as well (and should generally do that on all of these PRs).
dmerand
approved these changes
Sep 9, 2026
gonzaloriestra
force-pushed
the
gonzalo/json-store-inspection
branch
from
September 10, 2026 11:00
4061a8a to
ded6b5e
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-store-inspection
branch
from
September 10, 2026 11:13
ded6b5e to
ee54443
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-store-inspection
branch
from
September 16, 2026 11:13
20cbc88 to
95bc7e5
Compare
gonzaloriestra
removed this pull request from stack #8440
September 16, 2026 11:16
gonzaloriestra
added this pull request to stack #8564
September 16, 2026 11:17
gonzaloriestra
force-pushed
the
gonzalo/json-store-inspection
branch
from
September 16, 2026 15:02
95bc7e5 to
20cbc88
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-store-inspection
branch
2 times, most recently
from
September 17, 2026 14:19
b6b1b5c to
c3fdf53
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-store-inspection
branch
from
September 17, 2026 14:35
c3fdf53 to
affdf6a
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-store-inspection
branch
from
September 17, 2026 14:38
affdf6a to
9f3fa71
Compare
gonzaloriestra
marked this pull request as ready for review
September 17, 2026 15:03
gonzaloriestra
commented
Sep 17, 2026
gonzaloriestra
force-pushed
the
gonzalo/json-store-inspection
branch
from
September 18, 2026 11:15
9f3fa71 to
5ce89fc
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-store-inspection
branch
from
September 18, 2026 11:44
5ce89fc to
2451c40
Compare
An error occurred while trying to automatically change base from
gonzalo/json-store-creation
to
main
September 21, 2026 17:11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

WHY are these changes introduced?
Fixes shop/issues-develop#23688.
Scripts need discoverable JSON contracts for store inspection and listing.
WHAT is this pull request doing?
Defines and validates info and list results using shared store and organization schemas. Result types are inferred from the schemas while each command keeps its existing field names, optional fields, and terminal output.
The stack’s single minor changeset is included in #8585.
Example output
Illustrative sample data. Text excerpts omit terminal decoration and progress. JSON blocks show the final stdout result; progress and diagnostics go to stderr.
shopify store info --store shop.myshopify.comText
JSON (
--json){ "id": "gid://shopify/Shop/123", "displayName": "My Shop", "subdomain": "shop.myshopify.com", "organizationId": "1234", "organizationName": "Acme", "type": "dev", "plan": "plus", "adminUrl": "https://admin.shopify.com/store/shop" }shopify store list --organization-id 1234Text
JSON (
--json){ "stores": [ { "id": "gid://shopify/Shop/123", "store": "shop.myshopify.com", "primaryDomain": "shop.myshopify.com", "createdAt": "2026-09-18T10:00:00Z", "organizationId": "1234", "organizationName": "Acme", "name": "My Shop", "type": "dev", "plan": "plus" } ], "organization": { "id": "1234", "name": "Acme" } }How to manually test your changes?
Checklist