Install app
POST
/ admin/ v1/ stores/ {store_id}/ apps/ installations- apps:manage
- Idempotency-Key supported
Install an app after reviewing its permissions. Its webhooks are created in the background. , a staff session, and every permission the app asks for.
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
handlestringrequiredaccepted_scopesarray of stringsrequiredExactly the scopes shown on the listing's version; a mismatch (the app changed in the meantime) is refused with
scopes_changed.plan_idstring · or nullFor a paid app: the plan the merchant chose and approved the price of.
sourceenum · or nullWhere the merchant found the listing, for the developer's funnel.
- home
- search
- category
- browse
- link
Returns
201 Installed.
Errors
- 403
forbiddenMissingapps:manage, not staff, or a scope you do not hold. - 404
not_foundNo such app, or not available to this store. - 409Already installed, or the app's scopes changed (
scopes_changed).