Skip to Content
Appwright
Technical Overview

Shopify Scopes

The Shopify permissions Bound requests, and what your workers can and can't query

Bound requests a deliberately limited set of Shopify permissions — wide enough for workers to manage your catalog, inventory, and discounts, narrow enough that no customer data is ever reachable. This page lists all of them: what each scope lets your workers do, and what stays out of reach by design. (Shopify’s full scope catalogue lives in its access scopes reference.)

Scopes are app-wide: every worker shares the same access through this.ctx.props.admin and this.ctx.props.storefront. They don’t vary per worker — per-worker least privilege applies to your own API keys instead (see Secrets) — and pinning an older API version doesn’t change them.

Admin API scopes

Granted on Shopify’s install screen. Every data scope here is a write_* scope, and a write scope carries its read counterpart — so each row lets workers query and mutate the resource:

ScopeWhat it grants
write_productsProducts, variants, and collections
write_locationsLocations
write_metaobjectsMetaobject entries
write_filesFiles — images, videos, 3D models, and generic files
write_inventoryInventory items and levels
write_marketsMarkets
write_translationsTranslations and translatable resources
write_publicationsPublishing products and collections to sales channels
write_discountsCode and automatic discounts
write_price_rulesPrice rules
write_app_proxyManaging the app proxy that routes /apps/bound/* to your workers. Bound uses this itself; it isn’t a data scope your workers benefit from

In practice, this.ctx.props.admin covers the full lifecycle of a store’s operational data — create a product, set its inventory per location, translate it, publish it to a channel, discount it. Read-only basics like shop, which is open to any app, work too.

Storefront API scopes

Held by the public token Bound provisions at install (see Secrets Management):

ScopeWhat it grants
unauthenticated_read_product_listingsProducts and collections
unauthenticated_read_product_tagsProduct tags
unauthenticated_read_product_inventoryAvailability — quantityAvailable on variants, totalAvailable on products
unauthenticated_read_metaobjectsMetaobjects
unauthenticated_read_checkoutsReading carts
unauthenticated_write_checkoutsCreating and updating carts

The Storefront API is shopper-facing and unauthenticated by design, and the cart scopes make it the one place workers can write through it — cartCreate, cartLinesAdd, and friends.

What’s out of bounds

Everything not listed above is unreachable — most importantly, Bound holds no customer-data scopes, deliberately:

  • Orders — no read_orders/write_orders, and with them no fulfillments, transactions, or abandoned checkouts. The Storefront API has no order access at all.
  • Customers — no read_customers or write_customers, and no unauthenticated_* customer scopes. Customer records, segments, and PII are unreachable.
  • Draft orders — read_draft_orders is not requested.
  • Store content — pages, blogs, articles, and comments (read_content / unauthenticated_read_content) are never requested.
  • Metaobject definitions — workers can create and update metaobject entries, but defining new types needs read_metaobject_definitions, which Bound doesn’t hold. Create definitions in the Shopify admin first.
  • Everything else — themes, shipping, payments, gift cards, analytics, and every other Admin API surface.

One practical consequence: a field can fail even on an object you can otherwise query, when that field is powered by a missing scope — for example Product.publications is fine (that’s write_publications), but anything order- or customer-flavoured on an in-scope object still errors.

How an out-of-scope query fails

Shopify answers a query your scopes don’t cover with an HTTP 200 whose errors array carries an ACCESS_DENIED code naming the required scope:

const { data, errors } = await this.ctx.props.admin.query(`#graphql
  query { orders(first: 1) { nodes { id } } }
`);

// No throw — the response is a 200.
// data === null
// errors[0].extensions.code === "ACCESS_DENIED"
// errors[0].message: "Access denied for orders field. Required access: read_orders ..."

That means a scope failure looks like a successful call with empty data unless you check errors yourself — GraphQL errors inside a 200 never throw. See error semantics.

Why this set

Every scope Bound requests is level-0: no Shopify approval required, no protected customer data involved. The set mirrors what Bound is for — workers that answer storefront requests and automate against your catalog, inventory, and pricing — while orders, customers, and content stay out of scope entirely, so the app can never read your customers’ data. See the privacy policy.

If a future release needs a new scope, it’s called out in the changelog and Shopify asks you to approve the widened permissions — nothing changes silently.