Page tree
Skip to end of metadata
Go to start of metadata

This page describes the category endpoint, which can be used to interact with your external e-commerce solution's REST service.

With this endpoint, you can:

GET 

Get all categories

Returns a list of all categories for a given connection.

Request URL

/.rest/ecommerce/v1/categories/list

Parameters

Parameter

Description

Parameter type

Data type

Connector

definitionName

required

The definition name.

query

string

commercetools

Magento

connectionName

required

The connection name.

query

string

commercetools

Magento

Magento example

Gets a list of all the categories.

curl --user 'superuser:superuser' --request GET "http://localhost:8080/magnoliaAuthor/.rest/ecommerce/v1/categories/list?definitionName=magento&connectionName=connection"
Response
JSON
[
    {
        "id": {
            "definitionName": "magento",
            "connectionName": "connection",
            "itemId": "1"
        },
        "name": "Root Catalog",
        "position": 0,
        "level": 0,
        "description": "",
        "parentId": null,
        "path": "1",
        "is_active": null,
        "created_at": "2018-08-07 12:46:57",
        "updated_at": "2019-03-22 12:48:42",
        "available_sort_by": [],
        "include_in_menu": "true",
        "extension_attributes": null,
        "custom_attributes": [
            {
                "value": [
                    "1"
                ],
                "attribute_code": "path"
            },
            {
                "value": [
                    "39"
                ],
                "attribute_code": "children_count"
            }
        ],
        "product_count": null
    },
    {
        "id": {
            "definitionName": "magento",
            "connectionName": "connection",
            "itemId": "2"
        },
        "name": "Default Category",
        "position": 1,
        "level": 1,
        "description": "",
        "parentId": "1",
        "path": "1/2",
        "is_active": "true",
        "created_at": "2018-08-07 12:46:57",
        "updated_at": "2019-03-22 12:48:42",
        "available_sort_by": [],
        "include_in_menu": "true",
        "extension_attributes": null,
        "custom_attributes": [
            {
                "value": [
                    "PRODUCTS"
                ],
                "attribute_code": "display_mode"
            },
            {
                "value": [
                    "1/2"
                ],
                "attribute_code": "path"
            },
            {
                "value": [
                    "38"
                ],
                "attribute_code": "children_count"
            }
        ],
        "product_count": null
    },
    {
        "id": {
            "definitionName": "magento",
            "connectionName": "connection",
            "itemId": "3"
        },
        "name": "Gear",
        "position": 4,
        "level": 2,
        "description": "",
        "parentId": "2",
        "path": "1/2/3",
        "is_active": "true",
        "created_at": "2018-08-07 12:47:02",
        "updated_at": "2019-03-22 12:48:42",
        "available_sort_by": [],
        "include_in_menu": "true",
        "extension_attributes": null,
        "custom_attributes": [
            {
                "value": [
                    "PAGE"
                ],
                "attribute_code": "display_mode"
            },
            {
                "value": [
                    "0"
                ],
                "attribute_code": "is_anchor"
            },
            {
                "value": [
                    "1/2/3"
                ],
                "attribute_code": "path"
            },
            {
                "value": [
                    "<referenceContainer name=\"catalog.leftnav\" remove=\"true\"/>"
                ],
                "attribute_code": "custom_layout_update"
            },
            {
                "value": [
                    "3"
                ],
                "attribute_code": "children_count"
            },
            {
                "value": [
                    "gear"
                ],
                "attribute_code": "url_key"
            },
            {
                "value": [
                    "gear"
                ],
                "attribute_code": "url_path"
            }
        ],
        "product_count": null
    },
...

commercetools example

Gets a list of all the categories.

curl --user 'superuser:superuser' --request GET "http://localhost:8080/magnoliaAuthor/.rest/ecommerce/v1/categories/list?definitionName=commercetools&connectionName=connection"
Response
JSON
[
    {
        "id": {
            "definitionName": "commercetools",
            "connectionName": "connection",
            "itemId": "77a188b9-9c85-4aff-ae4d-9a8fc22f19cf"
        },
        "name": "test",
        "description": null,
        "position": null,
        "level": null,
        "parentId": "cf94acbc-bf7c-4b45-8679-77284c5b76f9",
        "path": "test",
        "referencedCategory": {
            "ancestors": [
                {
                    "typeId": "category",
                    "id": "cf94acbc-bf7c-4b45-8679-77284c5b76f9",
                    "key": null
                }
            ],
            "assets": [],
            "createdAt": {
                "offset": {
                    "totalSeconds": 0,
                    "id": "Z",
                    "rules": {
                        "fixedOffset": true,
                        "transitions": [],
                        "transitionRules": []
                    }
                },
                "zone": {
                    "totalSeconds": 0,
                    "id": "Z",
                    "rules": {
                        "fixedOffset": true,
                        "transitions": [],
                        "transitionRules": []
                    }
                },
                "dayOfWeek": "TUESDAY",
                "dayOfYear": 22,
                "year": 2019,
                "month": "JANUARY",
                "monthValue": 1,
                "dayOfMonth": 22,
                "hour": 8,
                "minute": 12,
                "second": 4,
                "nano": 662000000,
                "chronology": {
                    "id": "ISO",
                    "calendarType": "iso8601"
                }
            },
            "custom": null,
            "description": null,
            "externalId": null,
            "id": "77a188b9-9c85-4aff-ae4d-9a8fc22f19cf",
            "key": null,
            "lastModifiedAt": {
                "offset": {
                    "totalSeconds": 0,
                    "id": "Z",
                    "rules": {
                        "fixedOffset": true,
                        "transitions": [],
                        "transitionRules": []
                    }
                },
                "zone": {
                    "totalSeconds": 0,
                    "id": "Z",
                    "rules": {
                        "fixedOffset": true,
                        "transitions": [],
                        "transitionRules": []
                    }
                },
                "dayOfWeek": "TUESDAY",
                "dayOfYear": 22,
                "year": 2019,
                "month": "JANUARY",
                "monthValue": 1,
                "dayOfMonth": 22,
                "hour": 8,
                "minute": 25,
                "second": 5,
                "nano": 198000000,
                "chronology": {
                    "id": "ISO",
                    "calendarType": "iso8601"
                }
            },
            "metaDescription": null,
            "metaKeywords": null,
            "metaTitle": null,
            "name": {
                "en": "test"
            },
            "orderHint": "0",
            "parent": {
                "typeId": "category",
                "id": "cf94acbc-bf7c-4b45-8679-77284c5b76f9",
                "key": null
            },
            "slug": {
                "en": "test"
            },
            "version": 2
        }
    },
    {
        "id": {
            "definitionName": "commercetools",
            "connectionName": "connection",
            "itemId": "195e56a9-692f-4957-a923-959ec656fb03"
        },
        "name": "test",
        "description": null,
        "position": null,
        "level": null,
        "parentId": "77a188b9-9c85-4aff-ae4d-9a8fc22f19cf",
        "path": "test",
        "referencedCategory": {
            "ancestors": [
                {
                    "typeId": "category",
                    "id": "cf94acbc-bf7c-4b45-8679-77284c5b76f9",
                    "key": null
                },
                {
                    "typeId": "category",
                    "id": "77a188b9-9c85-4aff-ae4d-9a8fc22f19cf",
                    "key": null
                }
            ],
            "assets": [],
            "createdAt": {
                "offset": {
                    "totalSeconds": 0,
                    "id": "Z",
                    "rules": {
                        "fixedOffset": true,
                        "transitions": [],
                        "transitionRules": []
                    }
                },
                "zone": {
                    "totalSeconds": 0,
                    "id": "Z",
                    "rules": {
                        "fixedOffset": true,
                        "transitions": [],
                        "transitionRules": []
                    }
                },
                "dayOfWeek": "TUESDAY",
                "dayOfYear": 22,
                "year": 2019,
                "month": "JANUARY",
                "monthValue": 1,
                "dayOfMonth": 22,
                "hour": 8,
                "minute": 13,
                "second": 20,
                "nano": 766000000,
                "chronology": {
                    "id": "ISO",
                    "calendarType": "iso8601"
                }
            },
            "custom": null,
            "description": null,
            "externalId": null,
            "id": "195e56a9-692f-4957-a923-959ec656fb03",
            "key": null,
            "lastModifiedAt": {
                "offset": {
                    "totalSeconds": 0,
                    "id": "Z",
                    "rules": {
                        "fixedOffset": true,
                        "transitions": [],
                        "transitionRules": []
                    }
                },
                "zone": {
                    "totalSeconds": 0,
                    "id": "Z",
                    "rules": {
                        "fixedOffset": true,
                        "transitions": [],
                        "transitionRules": []
                    }
                },
                "dayOfWeek": "TUESDAY",
                "dayOfYear": 22,
                "year": 2019,
                "month": "JANUARY",
                "monthValue": 1,
                "dayOfMonth": 22,
                "hour": 8,
                "minute": 13,
                "second": 20,
                "nano": 766000000,
                "chronology": {
                    "id": "ISO",
                    "calendarType": "iso8601"
                }
            },
            "metaDescription": null,
            "metaKeywords": null,
            "metaTitle": null,
            "name": {
                "en": "test"
            },
            "orderHint": "0",
            "parent": {
                "typeId": "category",
                "id": "77a188b9-9c85-4aff-ae4d-9a8fc22f19cf",
                "key": null
            },
            "slug": {
                "en": "new_test"
            },
            "version": 1
        }
    },

Get category by ID

Returns a category based on its ID.

Request URL

/.rest/ecommerce/v1/categories/{categoryId}

Parameters

Parameter

Description

Parameter type

Data type

Connector

definitionName

required

The definition name.

query

string

commercetools

Magento

connectionName

required

The connection name.

query

string

commercetools

Magento

categoryId

required

The ID of the category. 

path

string

commercetools

Magento

Magento example

Gets the category with an ID of 2.

curl --user 'superuser:superuser' --request GET "http://localhost:8080/magnoliaAuthor/.rest/ecommerce/v1/categories/2?definitionName=magento&connectionName=connection"
Response
JSON
{
    "id": {
        "definitionName": "magento",
        "connectionName": "connection",
        "itemId": "2"
    },
    "name": "Default Category",
    "position": 1,
    "level": 1,
    "description": "",
    "parentId": "1",
    "path": "1/2",
    "is_active": "true",
    "created_at": "2018-08-07 12:46:57",
    "updated_at": "2019-03-22 12:48:42",
    "available_sort_by": [],
    "include_in_menu": "true",
    "extension_attributes": null,
    "custom_attributes": [
        {
            "value": [
                "PRODUCTS"
            ],
            "attribute_code": "display_mode"
        },
        {
            "value": [
                "1/2"
            ],
            "attribute_code": "path"
        },
        {
            "value": [
                "38"
            ],
            "attribute_code": "children_count"
        }
    ],
    "product_count": null
}

commercetools example

Gets the category with an ID of 77a188b9-9c85-4aff-ae4d-9a8fc22f19cf.

curl --user 'superuser:superuser' --request GET "http://localhost:8080/magnoliaAuthor/.rest/ecommerce/v1/categories/77a188b9-9c85-4aff-ae4d-9a8fc22f19cf?definitionName=commercetools&connectionName=connection"
Response
JSON
{
    "id": {
        "definitionName": "commercetools",
        "connectionName": "connection",
        "itemId": "77a188b9-9c85-4aff-ae4d-9a8fc22f19cf"
    },
    "name": "test",
    "description": null,
    "position": null,
    "level": null,
    "parentId": "cf94acbc-bf7c-4b45-8679-77284c5b76f9",
    "path": "test",
    "referencedCategory": {
        "ancestors": [
            {
                "typeId": "category",
                "id": "cf94acbc-bf7c-4b45-8679-77284c5b76f9",
                "key": null
            }
        ],
        "assets": [],
        "createdAt": {
            "offset": {
                "totalSeconds": 0,
                "id": "Z",
                "rules": {
                    "fixedOffset": true,
                    "transitions": [],
                    "transitionRules": []
                }
            },
            "zone": {
                "totalSeconds": 0,
                "id": "Z",
                "rules": {
                    "fixedOffset": true,
                    "transitions": [],
                    "transitionRules": []
                }
            },
            "dayOfWeek": "TUESDAY",
            "dayOfYear": 22,
            "year": 2019,
            "month": "JANUARY",
            "monthValue": 1,
            "dayOfMonth": 22,
            "hour": 8,
            "minute": 12,
            "second": 4,
            "nano": 662000000,
            "chronology": {
                "id": "ISO",
                "calendarType": "iso8601"
            }
        },
        "custom": null,
        "description": null,
        "externalId": null,
        "id": "77a188b9-9c85-4aff-ae4d-9a8fc22f19cf",
        "key": null,
        "lastModifiedAt": {
            "offset": {
                "totalSeconds": 0,
                "id": "Z",
                "rules": {
                    "fixedOffset": true,
                    "transitions": [],
                    "transitionRules": []
                }
            },
            "zone": {
                "totalSeconds": 0,
                "id": "Z",
                "rules": {
                    "fixedOffset": true,
                    "transitions": [],
                    "transitionRules": []
                }
            },
            "dayOfWeek": "TUESDAY",
            "dayOfYear": 22,
            "year": 2019,
            "month": "JANUARY",
            "monthValue": 1,
            "dayOfMonth": 22,
            "hour": 8,
            "minute": 25,
            "second": 5,
            "nano": 198000000,
            "chronology": {
                "id": "ISO",
                "calendarType": "iso8601"
            }
        },
        "metaDescription": null,
        "metaKeywords": null,
        "metaTitle": null,
        "name": {
            "en": "test"
        },
        "orderHint": "0",
        "parent": {
            "typeId": "category",
            "id": "cf94acbc-bf7c-4b45-8679-77284c5b76f9",
            "key": null
        },
        "slug": {
            "en": "test"
        },
        "version": 2
    }
}


Get category by product ID

Returns a category based on the ID of a product.

Request URL

/.rest/ecommerce/v1/categories/product/{productId}

Parameters

Parameter

Description

Parameter type

Data type

Connector

definitionName

required

The definition name.

query

string

commercetools

Magento

connectionName

required

The connection name.

query

string

commercetools

Magento

productId

required

commercetools: the unique ID of the product.

Magento: SKU of the product.

path

string

commercetools

Magento

Magento example

Gets the category corresponding to the product with an ID (SKU) of 24-MB01.

curl --user 'superuser:superuser' --request GET "http://localhost:8080/magnoliaAuthor/.rest/ecommerce/v1/categories/product/24-MB01?definitionName=magento&connectionName=connection"
Response
JSON
[
    {
        "id": {
            "definitionName": "magento",
            "connectionName": "connection",
            "itemId": "3"
        },
        "name": "Gear",
        "position": 4,
        "level": 2,
        "description": "",
        "parentId": "2",
        "path": "1/2/3",
        "is_active": "true",
        "created_at": "2018-08-07 12:47:02",
        "updated_at": "2019-03-22 12:48:42",
        "available_sort_by": [],
        "include_in_menu": "true",
        "extension_attributes": null,
        "custom_attributes": [
            {
                "value": [
                    "PAGE"
                ],
                "attribute_code": "display_mode"
            },
            {
                "value": [
                    "0"
                ],
                "attribute_code": "is_anchor"
            },
            {
                "value": [
                    "1/2/3"
                ],
                "attribute_code": "path"
            },
            {
                "value": [
                    "<referenceContainer name=\"catalog.leftnav\" remove=\"true\"/>"
                ],
                "attribute_code": "custom_layout_update"
            },
            {
                "value": [
                    "3"
                ],
                "attribute_code": "children_count"
            },
            {
                "value": [
                    "gear"
                ],
                "attribute_code": "url_key"
            },
            {
                "value": [
                    "gear"
                ],
                "attribute_code": "url_path"
            }
        ],
        "product_count": null
    },
    {
        "id": {
            "definitionName": "magento",
            "connectionName": "connection",
            "itemId": "4"
        },
        "name": "Bags",
        "position": 1,
        "level": 3,
        "description": "",
        "parentId": "3",
        "path": "1/2/3/4",
        "is_active": "true",
        "created_at": "2018-08-07 12:47:02",
        "updated_at": "2018-08-07 12:47:02",
        "available_sort_by": [],
        "include_in_menu": "true",
        "extension_attributes": null,
        "custom_attributes": [
            {
                "value": [
                    "1"
                ],
                "attribute_code": "is_anchor"
            },
            {
                "value": [
                    "1/2/3/4"
                ],
                "attribute_code": "path"
            },
            {
                "value": [
                    "0"
                ],
                "attribute_code": "children_count"
            },
            {
                "value": [
                    "bags"
                ],
                "attribute_code": "url_key"
            },
            {
                "value": [
                    "gear/bags"
                ],
                "attribute_code": "url_path"
            }
        ],
        "product_count": null
    }
]

commercetools example

Gets the category corresponding to the product with an ID of cb292097-a8cf-4b51-8258-879d3e85036a.

curl --user 'superuser:superuser' --request GET "http://localhost:8080/magnoliaAuthor/.rest/ecommerce/v1/categories/product/cb292097-a8cf-4b51-8258-879d3e85036a?definitionName=commercetools&connectionName=connection"
Response
JSON
[
    {
        "id": {
            "definitionName": "commercetools",
            "connectionName": "connection",
            "itemId": "05005125-3b5b-40df-bd8f-18cf6e2aa0d4"
        },
        "name": "New",
        "description": null,
        "position": null,
        "level": null,
        "parentId": null,
        "path": "New",
        "referencedCategory": {
            "ancestors": [],
            "assets": [],
            "createdAt": {
                "offset": {
                    "totalSeconds": 0,
                    "id": "Z",
                    "rules": {
                        "fixedOffset": true,
                        "transitions": [],
                        "transitionRules": []
                    }
                },
                "zone": {
                    "totalSeconds": 0,
                    "id": "Z",
                    "rules": {
                        "fixedOffset": true,
                        "transitions": [],
                        "transitionRules": []
                    }
                },
                "dayOfWeek": "TUESDAY",
                "dayOfYear": 241,
                "year": 2017,
                "month": "AUGUST",
                "monthValue": 8,
                "dayOfMonth": 29,
                "hour": 16,
                "minute": 46,
                "second": 19,
                "nano": 43000000,
                "chronology": {
                    "id": "ISO",
                    "calendarType": "iso8601"
                }
            },
            "custom": null,
            "description": null,
            "externalId": "1",
            "id": "05005125-3b5b-40df-bd8f-18cf6e2aa0d4",
            "key": null,
            "lastModifiedAt": {
                "offset": {
                    "totalSeconds": 0,
                    "id": "Z",
                    "rules": {
                        "fixedOffset": true,
                        "transitions": [],
                        "transitionRules": []
                    }
                },
                "zone": {
                    "totalSeconds": 0,
                    "id": "Z",
                    "rules": {
                        "fixedOffset": true,
                        "transitions": [],
                        "transitionRules": []
                    }
                },
                "dayOfWeek": "TUESDAY",
                "dayOfYear": 241,
                "year": 2017,
                "month": "AUGUST",
                "monthValue": 8,
                "dayOfMonth": 29,
                "hour": 16,
                "minute": 46,
                "second": 19,
                "nano": 43000000,
                "chronology": {
                    "id": "ISO",
                    "calendarType": "iso8601"
                }
            },
            "metaDescription": null,
            "metaKeywords": null,
            "metaTitle": null,
            "name": {
                "de": "New",
                "en": "New",
                "it": "New"
            },
            "orderHint": "0.00001504025179042916603292",
            "parent": null,
            "slug": {
                "de": "new",
                "en": "new",
                "it": "new"
            },
            "version": 1
        }
    }
]

Get category by parent ID

Returns a category based on the ID of the parent category.

Request URL

/.rest/ecommerce/v1/categories/?parentId

Parameters

Parameter

Description

Parameter type

Data type

Connector

definitionName

required

The definition name.

query

string

commercetools

Magento

connectionName

required

The connection name.

query

string

commercetools

Magento

parentId

required

The ID of the parent category.

Default is 3 for Magento.

path

string

commercetools

Magento

Magento example

Gets the child category of the parent category with an ID of 3.

curl --user 'superuser:superuser' --request GET "http://localhost:8080/magnoliaAuthor/.rest/ecommerce/v1/categories/?parentId=3&definitionName=magento&connectionName=connection"
Response
JSON
[
    {
        "id": {
            "definitionName": "magento",
            "connectionName": "connection",
            "itemId": "4"
        },
        "name": "Bags",
        "position": 1,
        "level": 3,
        "description": "",
        "parentId": "3",
        "path": "1/2/3/4",
        "is_active": "true",
        "created_at": "2018-08-07 12:47:02",
        "updated_at": "2018-08-07 12:47:02",
        "available_sort_by": [],
        "include_in_menu": "true",
        "extension_attributes": null,
        "custom_attributes": [
            {
                "value": [
                    "1"
                ],
                "attribute_code": "is_anchor"
            },
            {
                "value": [
                    "1/2/3/4"
                ],
                "attribute_code": "path"
            },
            {
                "value": [
                    "0"
                ],
                "attribute_code": "children_count"
            },
            {
                "value": [
                    "bags"
                ],
                "attribute_code": "url_key"
            },
            {
                "value": [
                    "gear/bags"
                ],
                "attribute_code": "url_path"
            }
        ],
        "product_count": null
    },
    {
        "id": {
            "definitionName": "magento",
            "connectionName": "connection",
            "itemId": "5"
        },
        "name": "Fitness Equipment",
        "position": 2,
        "level": 3,
        "description": "",
        "parentId": "3",
        "path": "1/2/3/5",
        "is_active": "true",
        "created_at": "2018-08-07 12:47:02",
        "updated_at": "2018-08-07 12:47:02",
        "available_sort_by": [],
        "include_in_menu": "true",
        "extension_attributes": null,
        "custom_attributes": [
            {
                "value": [
                    "1"
                ],
                "attribute_code": "is_anchor"
            },
            {
                "value": [
                    "1/2/3/5"
                ],
                "attribute_code": "path"
            },
            {
                "value": [
                    "0"
                ],
                "attribute_code": "children_count"
            },
            {
                "value": [
                    "fitness-equipment"
                ],
                "attribute_code": "url_key"
            },
            {
                "value": [
                    "gear/fitness-equipment"
                ],
                "attribute_code": "url_path"
            }
        ],
        "product_count": null
    },
    {
        "id": {
            "definitionName": "magento",
            "connectionName": "connection",
            "itemId": "6"
        },
        "name": "Watches",
        "position": 3,
        "level": 3,
        "description": "",
        "parentId": "3",
        "path": "1/2/3/6",
        "is_active": "true",
        "created_at": "2018-08-07 12:47:02",
        "updated_at": "2018-08-07 12:47:02",
        "available_sort_by": [],
        "include_in_menu": "true",
        "extension_attributes": null,
        "custom_attributes": [
            {
                "value": [
                    "1"
                ],
                "attribute_code": "is_anchor"
            },
            {
                "value": [
                    "1/2/3/6"
                ],
                "attribute_code": "path"
            },
            {
                "value": [
                    "0"
                ],
                "attribute_code": "children_count"
            },
            {
                "value": [
                    "watches"
                ],
                "attribute_code": "url_key"
            },
            {
                "value": [
                    "gear/watches"
                ],
                "attribute_code": "url_path"
            }
        ],
        "product_count": null
    }
]

commercetools example

Gets the child category of the parent category with an ID of cf94acbc-bf7c-4b45-8679-77284c5b76f9.

curl --user 'superuser:superuser' --request GET "http://localhost:8080/magnoliaAuthor/.rest/ecommerce/v1/categories/?parentId=cf94acbc-bf7c-4b45-8679-77284c5b76f9&definitionName=commercetools&connectionName=connection"
Response
JSON
[
    {
        "id": {
            "definitionName": "commercetools",
            "connectionName": "connection",
            "itemId": "77a188b9-9c85-4aff-ae4d-9a8fc22f19cf"
        },
        "name": "test",
        "description": null,
        "position": null,
        "level": null,
        "parentId": "cf94acbc-bf7c-4b45-8679-77284c5b76f9",
        "path": "test",
        "referencedCategory": {
            "ancestors": [
                {
                    "typeId": "category",
                    "id": "cf94acbc-bf7c-4b45-8679-77284c5b76f9",
                    "key": null
                }
            ],
            "assets": [],
            "createdAt": {
                "offset": {
                    "totalSeconds": 0,
                    "id": "Z",
                    "rules": {
                        "fixedOffset": true,
                        "transitions": [],
                        "transitionRules": []
                    }
                },
                "zone": {
                    "totalSeconds": 0,
                    "id": "Z",
                    "rules": {
                        "fixedOffset": true,
                        "transitions": [],
                        "transitionRules": []
                    }
                },
                "dayOfWeek": "TUESDAY",
                "dayOfYear": 22,
                "year": 2019,
                "month": "JANUARY",
                "monthValue": 1,
                "dayOfMonth": 22,
                "hour": 8,
                "minute": 12,
                "second": 4,
                "nano": 662000000,
                "chronology": {
                    "id": "ISO",
                    "calendarType": "iso8601"
                }
            },
            "custom": null,
            "description": null,
            "externalId": null,
            "id": "77a188b9-9c85-4aff-ae4d-9a8fc22f19cf",
            "key": null,
            "lastModifiedAt": {
                "offset": {
                    "totalSeconds": 0,
                    "id": "Z",
                    "rules": {
                        "fixedOffset": true,
                        "transitions": [],
                        "transitionRules": []
                    }
                },
                "zone": {
                    "totalSeconds": 0,
                    "id": "Z",
                    "rules": {
                        "fixedOffset": true,
                        "transitions": [],
                        "transitionRules": []
                    }
                },
                "dayOfWeek": "TUESDAY",
                "dayOfYear": 22,
                "year": 2019,
                "month": "JANUARY",
                "monthValue": 1,
                "dayOfMonth": 22,
                "hour": 8,
                "minute": 25,
                "second": 5,
                "nano": 198000000,
                "chronology": {
                    "id": "ISO",
                    "calendarType": "iso8601"
                }
            },
            "metaDescription": null,
            "metaKeywords": null,
            "metaTitle": null,
            "name": {
                "en": "test"
            },
            "orderHint": "0",
            "parent": {
                "typeId": "category",
                "id": "cf94acbc-bf7c-4b45-8679-77284c5b76f9",
                "key": null
            },
            "slug": {
                "en": "test"
            },
            "version": 2
        }
    }
]