Skip to content

Sign in with email and password

POST/store/v1/customers/sessions
  • Idempotency-Key supported

Sign in with email and password. Returns the session token.

Headers

  • Idempotency-Keystring

    Send the same key to retry safely: the first answer is replayed for 24 hours.

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • emailstringrequired
  • passwordstringrequired

Returns

200 Signed in.

Errors

  • 401unauthenticatedInvalid credentials.
  • 429rate_limitedToo many attempts.