Elastic Path Commerce Development

Request Entry Points

Request Entry Points

Cortex entry point resources are the starting points for retrieving links to other resources. Entry point resources are similar to a website's landing page, which provides links to the other pages on the site. Entry point resource URLs are the only URLs that you need to create manually, all other resources can be retrieved by following the links from these entry points.

Shopper Entry Points

Following are the entry point resources for retrieving information about the shopper and their shopping cart:

Entry Point Description Resource URL
Default Profile The shopper's default profile resource has links to:
  • The shopper's addresses
  • The shopper's email
  • The shopper's saved payment methods
  • The shopper's previous purchases
/profiles/{scope}/default
Default Cart The shopper's default cart resource has links to:
  • The cart's line items
  • The cart's discounts
  • The cart's order, which has links to purchase a cart
  • The cart total
/carts/{scope}/default

Item Discovery Entry Points

Following are the entry point resources for discovering the items for sale:

Entry Point Description Resource URL
Searches The searches resource has links to perform a keyword search and offer search for items and retrieve the results. /searches/{scope}
Navigations The navigations resource has links to categories of items and offers for sale. /navigations/{scope}

Store Entry Points

Following are the entry point resources for retrieving scope specific information:

Entry Point Description Resource URL
Geographies The geographies resource family has links to the countries and regions supported by a particular scope. /geographies/{scope}/countries
Account Registration The registrations resource family has links to register a new account for a shopper. /registrations/{scope}/newaccount/form

Authentication Entry Points

Cortex has an OAuth2.0 reference implementation of OAuth2. The endpoint for this non-Cortex resource is:

Entry Point Description Resource URL
Authentication An end point for authenticating users with the OAuth2 protocol. /oauth2/tokens