Purchase theme
POST
/ admin/ v1/ stores/ {store_id}/ online-store/ theme-store/ {handle}/ purchase- themes:manage
- Idempotency-Key supported
Buy a paid theme: a one-time charge on the store's next platform invoice. The store owns it from then on (adding and duplicating it again is free). ; staff only.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.handlestringrequiredTheme handle
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
priceobjectrequiredThe price the buyer saw: a different current price is refused (
price_changed).
Returns
200 Bought.
Errors
- 404
not_foundNo such theme in the Theme Store. - 409Free (
theme_free), owned already (theme_owned), or its price changed (price_changed).