Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

Admin console API tester

Describes how to validate the success and operation of the Optimizely Configured Commerce Admin API endpoints.

The API Tester can be used to validate the success and operation of the Optimizely Configured Commerce Admin API endpoints. It provides a quick way to confirm the Admin API; however, it is a primitive tool when compared to other built in products such as Google Developer Tools. The Debug button is only accessible to users assigned the role of ISC_System and/or ISC_Implementer.

After selecting Api Tester, the Url test field, a Run button and a Decode button are provided.

Url

Enter the actual API test Url.

Run

Selecting Run uses the Angular $http service as a core Angular service to facilitate communication with the Configured Commerce API using the browser's XMLHttpRequest object or via JSONP.

In this example, /api/v1/admin/products has been entered into the Url field and Run has been clicked:

The result shows a successful response of the Product endpoints.

Decode

The decodeURIComponent() function decodes a URI component.

For information on decoding, see: http://www.w3schools.com/jsref/jsref_decodeuricomponent.asp