Authorization

How to access ArtCart API

To access ArtCart API following steps need to be completed:

  1. Create an API key in seller dashboard

  2. Request authorization token via API using API key created in step 1

  3. Make a call to ArtCart API endpoint

Create an API key

API key generation is a very straightforward process:

  1. Go to your ArtCart Seller Portal.

  2. Click on Credentials in the top Navigation bar.

  3. Click on "Create Credentials" button.

  4. Enter key name.

  5. Click create and wait for API key to be generated.

  6. Store Private Key safely as you wont be able to see it again.

You have created an API key that you will use to request authentication token through client credentials flow.

Get Authorization Token

To get authentication token, you well have to make a post call to Auth0 API.

Request oauth token

POST https://login.artcart.cloud/oauth

Request temporary oauth token that you can use to access ArtCart API.

Headers

Request Body

{
  "access_token":"eyJz93a...k4laUWw",
  "token_type":"Bearer",
  "expires_in":86400
}

You have obtained an authorization token that you can use to make API calls to the ArtCart API.

Call API

To call ArtCart API from your M2M application, the application must pass the retrieved Access Token as a Bearer token in the Authorization header of your HTTP request.

Last updated