docs
  1. SCAYLE Resource Center
  2. Customer Account API
  3. Getting Started
  4. Authentication

Authentication

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

How to use

  1. Generate access token via the login/register endpoint of the Checkout 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 Checkout 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