Sitecore API catalog///
- Add product resources to a context
List available products
Add product resources to...
Adds product-based resources to a specific context.
Security
BearerAuth
- https://edge-platform-context-api.sitecorecloud.iohttps://edge-platform-context-api.sitecorecloud.io/api/context/user/v1/contexts/{sitecoreContextId}/products
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://edge-platform-context-api.sitecorecloud.io/api/context/user/v1/contexts/f9c3b17d181640efbbf3ae670311452d/products \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"productCode": "XMCloud",
"tenantId": "g6c3b17d-1816-40ef-bbf3-ae670311452c",
"environment": "Live"
}'Response
[ { "id": "SitecoreSearchResource", "name": "My Sitecore search resource", "type": "search", "tenantId": "g6c3b17d-1816-40ef-bbf3-ae670311452c", "properties": [ … ] } ]