Admin API
Access scopes
Each field and mutation requires a scope. A write_* scope implies the matching read_* scope. Calling a field without its scope returns an error with extensions.code = "ACCESS_DENIED" and requiredAccess.
| Scope | Grants |
|---|---|
read_products | Read products, variants, images and collections |
write_products | Create, update and delete products and variants |
read_inventory | Read inventory levels and locations |
write_inventory | Set inventory quantities |
read_orders | Read orders, line items and fulfillments |
write_orders | Mark orders as paid and create fulfillments |
read_customers | Read customers |
read_customer_pii | See customers' names, emails, phone numbers and street addresses |
read_themes | Read themes and their files |
write_themes | Create, edit, publish and delete themes and their files |
read_discounts | Read discount codes |
write_discounts | Create and delete discount codes |