Anonymous Bearer Token
This section outlines the process of creating an Anonymous Bearer Token to easily access and engage with NoChannel Commerce Consumer APIs. This will help you to access the API without having to log in or register. Follow these steps to establish an anonymous token through our APIs.
For authorization, you will require two parameters Tenant ID and Site ID. If your organization has a development instance, get the Tenant ID and Site ID from the admin of your environment. If not, you can create a Sandbox environment to explore our APIs by visiting this link.
For authorization, you will require an Access Token. Copy the Curl below to obtain an Access Token. Replace and with the specific values obtained from the response in step 1.
Request:
For more information, go to the obtain an Access Token endpoint example request.
After executing the Curl above, you have successfully obtained a valid response for "accessToken". Copy this Access Token and paste it in the authorization field.
Response:
Token Validity: The Anonymous Bearer Token, once established, does not have an expiry, providing flexibility for customers during the exploration of NoChannel Commerce APIs.
To make your first call by using an Anonymous Bearer Token, you need to replace your "Anonymous Bearer Token" (obtained above) in the request authorization header by using the Curlbelow.
Request:
Response:
Upon receiving the successful response for the Search Items request, you have completed your first NoChannel Commerce Consumer API call, using an anonymous bearer token.