Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. The Developer Center continues to support Commerce 6.13.0 through 7.4.1.Visit new site

Learning to use Cortex Studio

Learning to use Cortex Studio

Cortex Studio is a customized REST client Web Application that offers an excellent starting point for learning and testing Cortex features.

Through the tool you can easily access all Cortex features (search, add to cart, Zoom, FollowLocation, Authenticate...everything!), make requests, and examine the JSON responses to get a better understanding of Cortex. Studio also has a number of embedded developer tools to help you develop your applications even faster.

Using Cortex Studio

Cortex Studio Utilities

  • Setup - Configure Cortex server's IP Address.
  • Authentication - Generate OAuth2.0 authentication tokens.
  • Request Headers - Define the request headers to use in your requests.
  • Sample URIs - List of sample URIs to use as starting points for exploring the Cortex.
  • JSONPath Tester - Filter Cortex JSON responses using JSONPath (http://goessner.net/articles/JsonPath/).
  • Encoding Utility - Encode and decode Cortex IDs.

Browser Support

  • Firefox
  • Google Chrome
  • Safari 5.1

Authenticating

Generate an OAuth2.0 token for a registered customer:
  1. In Cortex Studio, expand the Authentication drop-down box and enter the following details:
  2. Click Authenticate to generate an OAuth2.0 token for a registered customer.
Generate an OAuth2.0 token for a public customer:
  1. In Cortex Studio, expand the Authentication drop-down box and enter the following details:
    • Role: PUBLIC
    • Scope: mobee
  2. Click the Authenticate button to generate an OAuth2.0 token for a public shopper.