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.

ScopeGrants
read_productsRead products, variants, images and collections
write_productsCreate, update and delete products and variants
read_inventoryRead inventory levels and locations
write_inventorySet inventory quantities
read_ordersRead orders, line items and fulfillments
write_ordersMark orders as paid and create fulfillments
read_customersRead customers
read_customer_piiSee customers' names, emails, phone numbers and street addresses
read_themesRead themes and their files
write_themesCreate, edit, publish and delete themes and their files
read_discountsRead discount codes
write_discountsCreate and delete discount codes