Details
-
Task
-
Resolution: Done
-
Neutral
-
None
-
None
-
None
-
None
-
-
Empty show more show less
-
Empty show more show less
-
AuthorX 6
-
1
Description
When all categories or a single category id is requested in postman, the category "key" is now included in the response, for example:
{
“id”: {
“definitionName”: “commercetools”,
“connectionName”: “connection”,
“itemId”: “5501f9b6-bdef-41e3-adf6-efba6710a294”
},
“name”: “Test”,
“description”: “Testing”,
“position”: null,
“level”: null,
“parentId”: “05005125-3b5b-40df-bd8f-18cf6e2aa0d4”,
“path”: “Test”,
“key”: “1234”
}
In the docs, this page:
https://docs.magnolia-cms.com/product-docs/6.2/Connector-Packs/Commerce-Connector-Pack/E-commerce-REST-endpoints/Category-endpoint-API.html
In particular the JSON responses for "Get All categories", "categoryById", "categoryByProductId", and "categoryByParentId" need to include the newly added "key".
Checklists
Acceptance criteria
Attachments
Issue Links
- documents
-
ECOMMERCE-497 Expose Category Key in request reponse for Category ID so user can render dynamic category pages
-
- Closed
-