Developer
- Public API (/api/v1)
Authenticate with an API key, read and write your store over HTTP, and understand the shape of every response and every error.
- Build an app (/oauth + /api/v1)
Build something other merchants can install: register an app, walk a store through OAuth, call the API with the token you get, and submit a version for review.
- Build a block
Ship a block your app owns, so merchants can drag it onto a page in the editor and it keeps rendering from your app afterwards.
- The sb CLI
Do the same work from a terminal: the sb command scaffolds an app that runs, uploads an island's code every time you save, and pushes a version without opening the browser.
- Hooking your own code into a form
The three DOM events a form fires on a published page — which you can listen to, and cancel — so code you write can add rules that belong to your shop.