Authorization
How to access ArtCart API
Last updated
How to access ArtCart API
Last updated
To access ArtCart API following steps need to be completed:
Create an API key in seller dashboard
Request authorization token via API using API key created in step 1
Make a call to ArtCart API endpoint
API key generation is a very straightforward process:
Go to your ArtCart Seller Portal.
Click on Credentials in the top Navigation bar.
Click on "Create Credentials" button.
Enter key name.
Click create and wait for API key to be generated.
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.
To get authentication token, you well have to make a post call to Auth0 API.
POST
https://login.artcart.cloud/oauth
Request temporary oauth token that you can use to access ArtCart API.
You have obtained an authorization token that you can use to make API calls to the ArtCart 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.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Content-Type*
application/json
audience*
platform.artcart.app/api/transactional/
grant_type*
client_credentials
client_id*
String
Your client id (Public API key)
client_secret*
String
Your client secret (Private API key)