API endpoints and methods
Sitecore Discover exposes REST APIs that support different endpoints and methods. To view endpoints, go to the Customer Engagement Console (CEC), click Developer Resources, and then click API Access.
Most endpoints contain either your subdomain URL or your customer key. You can see these values on the API Access tab.
The following table describes the endpoint you use to authenticate with Discover:
| API | Subdomain URL | Non-subdomain URL | Methods supported |
|---|---|---|---|
| Authentication | n/a | https://api.rfksrv.com/account/1/access-token | PUT and POST |
The following table describes the endpoints you use to create Discover experiences:
| API | Subdomain URL | Non-subdomain URL | Methods supported |
|---|---|---|---|
| Search and Recommendation | https://<subdomainURL>/api/search-rec/3Example: https://shoesonline.rfk.shoesonline.com/api/search-rec/3 | https://api.rfksrv.com/search-rec/<customerKey>/3Example: https://api.rfksrv.com/search-rec/13247-121857497/3 | GET and POST |
| Events | https://<subdomainURL>/api/event/1Example: https://shoesonline.rfk.shoesonline.com/api/event/1 | https://api.rfksrv.com/feed/<customerKey>/v1/products/incremental/updateExample: https://api.rfksrv.com/feed/13247-121857497/v1/products/incremental/update | GET and POST |
The following table describes the endpoints you use to modify product data:
| API | Subdomain URL | Non-subdomain URL | Methods supported |
|---|---|---|---|
| Incremental Feed | https://<subdomainURL>/api/feed/v1/products/incremental/updateExample: https://shoesonline.rfk.shoesonline.com/api/feed/v1/products/incremental/update | https://api.rfksrv.com/feed/<customerKey>/v1/products/incremental/updateExample: https://api.rfksrv.com/feed/14251-49123957/v1/products/incremental/update | POST |
If you have suggestions for improving this article, let us know!