Menu
Get Category
Get Category
GET
/organizations/{organizationId}/categories/{id}Use it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Get Category action (under Shopper Products).
- Fill in the fields below, then reference the result from later steps as
{{getCategory.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getCategory.response.data.<field>}}.
{
"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?