Skip to main content
POST
Customer sign in with credentials

Authorizations

x-api-key
string
header
default:sfk_your_api_key
required

Storefront API key (sfk_...)

Body

application/json
email
string
required

Customer email

password
string
required

Customer password (min 8 chars)

tokenName
string
default:default

Unique key identifier for this authentication session (e.g., frontend identifier)

Example:

"web_app"

storeId
string

Preferred store ID to scope the JWT to

Example:

"store-uuid"

storeDomain
string

Preferred store domain to resolve store and scope the JWT to

Example:

"my-store.myshopify.com"

Response

200 - application/json
accessToken
string
required

JWT access token for authenticating API requests

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

refreshToken
string
required

JWT refresh token for obtaining new access tokens

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

Last modified on July 26, 2026