Menu
Get Categories
Get Categories
GET
/organizations/{organizationId}/categoriesUse it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Get Categories action (under Shopper Products).
- Fill in the fields below, then reference the result from later steps as
{{getCategories.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getCategories.response.data.<field>}}.
{
"data": [
{
"id": "mens",
"categories": [
{}
],
"description": "Category description for Men's Category",
"image": "https://example.com/images/large/mens-category.jpg",
"name": "Mens",
"onlineSubCategoriesCount": 20,
"pageDescription": "This category ahs all men's clothing",
"pageKeywords": "Mens, shirts",
"pageTitle": "Men's Category",
"parentCategoryId": "apparel",
"parentCategoryTree": [
{
"id": "mens",
"name": "mens"
}
],
"thumbnail": "https://www.exampleimage.com/images/categoryImage.jpg"
}
]
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?