docs
  1. Api-guides/customer-account-api
  2. Getting Started
  3. Authentication

Authentication

Customer Account API uses access token generated via Authentication API for authentication.

How to use

  1. Generate access token via the login/register endpoint of the Authentication API.
  2. Use the access token as a bearer token for authentication.
  3. Use the https://{{tenant-space}}.checkout.api.scayle.cloud/apias the base URL.

Authorization

Bearer {{accessToken}}
required

Provide the Authentication API access token.

Content-type

application/json
required

Set the content type on the expected response to JSON.

X-Shop-Id

{{shopId}} required

Use the ID for the current shop.

Requests

Base URL
https://{{tenant-space}}.checkout.api.scayle.cloud/api

All requests must be made over HTTPS.

  • Authorization Bearer Token
  • Content-Type application/json
  • X-Shop-Id shopId