Uploaded image for project: 'E-commerce'
  1. E-commerce
  2. ECOMMERCE-509

DOC: Add newly exposed category key to the E-commerce REST category endpoint

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Neutral
    • None
    • None
    • None
    • None
    • 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

            Activity

              People

                abrooks Adrian Brooks
                abrooks Adrian Brooks
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR