getCategory.v1
This pipeline will retrieve one specific category and, if “includeChildren” is set to true, it’s child categories. If it’s set to false, the “children” property will be set to an empty array. It will also add a property “parent”, which holds the id and name of the parent category, of the retrieved one.
Request Body
Section titled “Request Body”object
The categoryId of the category you want to retrieve
If children are included, they will be sorted by this. If relevance is selected, the merchants shop system or import decides the order
Responses
Section titled “Responses”Successful response.
object
object
The category-number or unique id inside this specific shop
The display-name of this category
Combined number of prodcts in the current and all subcategories
The category-image
It is the number of direct sub categories
If the retrieved parent is not the root/default one, this will hold basic information about the parent category, of the retrieved one.
object
The id of the parent category
The name of the parent category
If includeChildren is true, this property will hold the child categories of the retrieved one
Describes a category
object
The category-number or unique id inside this specific shop
The display-name of this category
Combined number of prodcts in the current and all subcategories
The category-image
It is the number of direct sub categories
Example
{ "category": { "id": "cat41", "name": "Category 41", "productCount": 229, "imageUrl": "http://shopgate.cdn/category41.png", "parent": { "id": "cat40", "name": "Category 40" }, "children": [ { "id": "cat42", "name": "Category 42", "productCount": 23, "imageUrl": "http://shopgate.cdn/category42.png" } ] }}EUNKNOWN
Section titled “EUNKNOWN”An internal error occurred.

