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:
Default Profile
Resource URL: /profiles/{scope}/default
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
Default Cart
Resource URL: /carts/{scope}/default
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
Item Discovery Entry Points
Following are the entry point resources for discovering the items for sale:
Searches
Resource URL: /searches/{scope}
The searches resource has links to perform a keyword search and offer search for items and retrieve the results.
Navigations
Resource URL: /navigations/{scope}
The navigations resource has links to categories of items and offers for sale.
Store Entry Points
Following are the entry point resources for retrieving scope specific information:
Geographies
Resource URL: /geographies/{scope}/countries
The geographies resource family has links to the countries and regions supported by a particular scope.
Account Registration
Resource URL: /registrations/{scope}/newaccount/form
The registrations resource family has links to register a new account for a shopper.
Authentication Entry Points
Cortex has an OAuth2.0 reference implementation of OAuth2. The endpoint for this non-Cortex resource is:
Authentication
Resource URL: /oauth2/tokens
An end point for authenticating users with the OAuth2 protocol.