Menu
Search Content
Search for content assets.
GET
/organizations/{organizationId}/content-searchUse it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Search Content action (under Shopper Experience).
- Fill in the fields below, then reference the result from later steps as
{{searchContent.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{searchContent.response.data.<field>}}.
{
"hits": [
{
"id": null,
"name": "Homepage Banner",
"description": "Main banner displayed on the homepage",
"pageDescription": "Discover our latest products and offers",
"pageKeywords": "products, offers, sale, fashion",
"pageTitle": "Shop Now - Best Deals"
}
],
"query": "banner",
"selectedRefinements": {
"fdid": "homepage-folder",
"c_contentType": "banner"
},
"refinements": [
{
"attributeId": "c_contentType",
"label": "Content Type",
"values": [
{
"value": "banner",
"label": "Banner",
"hitCount": 5
}
]
}
]
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?