Skip to content

Add store list for organization stores#7708

Draft
dmerand wants to merge 1 commit into
mainfrom
donald/store-list-business-platform
Draft

Add store list for organization stores#7708
dmerand wants to merge 1 commit into
mainfrom
donald/store-list-business-platform

Conversation

@dmerand
Copy link
Copy Markdown
Contributor

@dmerand dmerand commented Jun 3, 2026

Summary

Add shopify store list, listing the stores in the Shopify organizations available to the current CLI account.

Builds store list out from the prototype in the shopify store create preview stack.

Scope

  • add shopify store list (organization source, backed by Business Platform internally)
  • discover organizations and list per-organization stores, keeping successful organizations with a warning when some fail
  • render Subdomain | Name | Type | Created, sorted newest first
  • cap the listing at 250 (newest first); on truncation, emit a stderr warning and a truncatedFrom count in JSON
  • add optional --organization-id to list a single organization; an unknown/inaccessible id errors with the organizations you can access
  • model retrieval as a discriminated success | unresolved-session | organization-not-found result so fallback policy can live in the service index
  • harden the CLI session read against malformed persisted JSON

Review notes

@dmerand dmerand force-pushed the donald/store-list-business-platform branch from 92fffc1 to c7e152d Compare June 5, 2026 13:41
@dmerand dmerand changed the title Add Business Platform-backed store list command Add store list for organization stores Jun 5, 2026
@dmerand dmerand force-pushed the donald/store-list-business-platform branch from 3ac3560 to 6fbe857 Compare June 5, 2026 14:24
Copy link
Copy Markdown
Contributor Author

dmerand commented Jun 5, 2026

@dmerand dmerand force-pushed the donald/store-list-business-platform branch 2 times, most recently from 87919a9 to f516bbe Compare June 5, 2026 18:31
@dmerand dmerand force-pushed the donald/store-list-business-platform branch from f516bbe to 79dbfa7 Compare June 5, 2026 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: @shopify/cli @shopify/cli package issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants