OAuth & scopes
Apps authenticate with authorization-code OAuth. Access tokens are hashed at rest. Scope expansion always requires merchant re-consent.
Common scopes
read_products/write_productsread_orders/write_ordersread_customerswrite_shipping
Token exchange
POST https://api…/api/oauth/token
grant_type=authorization_code
code=…
redirect_uri=…
client_id=…
Embedded apps may also validate session tokens via POST /api/apps/session/validate.