Start online store
POST
/ admin/ v1/ stores/ {store_id}/ online-store/ start- themes:manage
- Idempotency-Key supported
Set up a new store's Online Store on the theme its merchant chose when opening it. Does nothing to a store that's already set up.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.
Headers
Idempotency-KeystringSend the same key to retry safely: the first answer is replayed for 24 hours.
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
themestringrequiredA free theme's handle.
kindenum · or nullWhat the store sells, as its kind of shop for the Theme Store.
- fashion
- beauty
- electronics
- food_and_drink
- home_and_garden
- health_and_wellness
- sports_and_outdoors
- kids_and_toys
- jewelry
- books_and_media
- services
- general
Returns
204 Set up.
Errors
- 403
forbiddenMissing permission. - 404
not_foundNo such theme in the Theme Store. - 409A paid theme, which has to be bought first.