Menu
Product Search
Search Products
GET
/organizations/{organizationId}/product-searchUse it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Product Search action (under Shopper Search).
- Fill in the fields below, then reference the result from later steps as
{{productSearch.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{productSearch.response.data.<field>}}.
{
"hits": [
{
"productId": "74974310",
"currency": "USD",
"hitType": "product",
"image": null,
"orderable": true,
"price": 135,
"priceMax": 150,
"productName": "Modern Dress Shirt",
"productType": null,
"representedProduct": null,
"representedProducts": [
{
"id": "74974310"
}
],
"variationAttributes": [
{
"id": "size",
"name": "size",
"values": [
{
"value": null,
"description": null,
"image": null,
"imageSwatch": null,
"name": null,
"orderable": null
}
]
}
]
}
],
"query": "dresses",
"refinements": [
{
"attributeId": "refinementColor",
"label": "Color",
"values": [
{
"hitCount": 3,
"label": "Beige",
"value": "Beige",
"description": "The Beige objects",
"presentationId": "beige",
"values": [
{}
]
}
]
}
],
"searchPhraseSuggestions": null,
"sortingOptions": [
{
"id": "best-matches",
"label": "Best Matches"
}
],
"pageMetaTags": [
{
"id": "title",
"value": "Buy the Long Sleeve Covered Placket Blouse for USD 61.99.",
"type": "name"
}
],
"processedQuery": null,
"selectedRefinements": {},
"selectedSortingOption": "best-matches"
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?