Skip to content

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_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

Headers

  • Idempotency-Keystring

    Send the same key to retry safely: the first answer is replayed for 24 hours.

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • themestringrequired

    A free theme's handle.

  • kindenum · or null

    What 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

  • 403forbiddenMissing permission.
  • 404not_foundNo such theme in the Theme Store.
  • 409A paid theme, which has to be bought first.