Skip to content

[Prototype] Add shopify store delete command#7471

Draft
amcaplan wants to merge 5 commits intoariel/store-create-devfrom
ariel/store-delete-dev
Draft

[Prototype] Add shopify store delete command#7471
amcaplan wants to merge 5 commits intoariel/store-create-devfrom
ariel/store-delete-dev

Conversation

@amcaplan
Copy link
Copy Markdown
Contributor

@amcaplan amcaplan commented May 5, 2026

Summary

Stacked on top of ariel/store-create-dev (#7332) to add the user-facing shopify store delete command for development stores. This is the CLI half of the prototype — see the companion world PR for the BP/Core changes.

shopify store delete --organization-id 1 --name <store>.myshopify.com
shopify store delete --organization-id 1 --name <store>.myshopify.com --json

What's here

  • New StoreDelete oclif command at packages/cli/src/cli/commands/store/delete.ts with --store, --organization, and --json flags.
  • deleteDevStore service layer (packages/store/src/cli/services/dev/delete.ts) — handles org resolution, calls the BP mutation, and maps user errors.
  • deleteAppDevelopmentStore GraphQL mutation document + generated TS bindings.
  • Schema regen for the BP organizations schema.
  • README + oclif.manifest.json regen.

Status

This is a prototype — drafting for review while we evaluate the approach end-to-end. Verified manually against local BP + Core. Tests / lint cleanup will follow.

Stack

amcaplan and others added 5 commits May 5, 2026 11:55
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…zation, --json flags

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…mmand

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Run of `dev up` regenerated CLI docs to include the new `shopify store delete`
command added in this branch.
Copy link
Copy Markdown
Contributor Author

amcaplan commented May 5, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@amcaplan amcaplan changed the title Add deleteAppDevelopmentStore GraphQL mutation + generated TS document [Prototype] Add shopify store delete command May 5, 2026
@github-actions github-actions Bot added the no-changelog This PR doesn't include a changeset entry. Is an internal only change not relevant to end users. label May 5, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 5, 2026

⚠️ Potential Breaking Changes Detected

This PR contains changes that may break the existing contract.

@shopify/dev_experience — this PR contains breaking changes that require coordination for the next major release. This check will remain failed until a member of the team approves the workflow run.

💬 Head to #help-dev-platform to discuss timing and plan the release.

📝 Removed Schema Fields

The following Zod schema fields were removed or their files deleted:

File Removed Fields Reason
packages/app/src/cli/models/extensions/specifications/type-generation.ts value Fields removed

@amcaplan amcaplan deployed to breaking-change-approval May 5, 2026 21:43 — with GitHub Actions Active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog This PR doesn't include a changeset entry. Is an internal only change not relevant to end users.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant