Details

    • Type: Sub-Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.2
    • Component/s: None
    • Labels:

      Description

      The APIs need to support the following cases:

      1. List all productGroups in a company 
        1. IN: companyId
        2. OUT listof: productGroup
      2. Add a new productGroup. 
        1. IN: name, description
        2. OUT: productGroup
      3. Edit a productGroup. (
        1. IN: productGroupId, name, description, 
        2. OUT: productGroup
      4. List all products inside the productGroup
        1. IN: productGroupId
        2. OUT listof: cpDefinition
      5. Add target product to productGroup.
        1. IN: productGroupId, cpDefinitionId
        2. OUT: ?
      6. Delete product from productGroup
        1. IN: productGroupRelId
        2. OUT:

       

      URLs and operations

      http://localhost:8080/o/headless-commerce-admin-catalog/v1.0/product-groups (GET, POST)

      http://localhost:8080/o/headless-commerce-admin-catalog/v1.0/product-groups/<id> (DELETE, GET, PATCH)

      http://localhost:8080/o/headless-commerce-admin-catalog/v1.0/product-groups/by-externalReferenceCode/<externalReferenceCode> (DELETE, GET,PATCH)

      http://localhost:8080/o/headless-commerce-admin-catalog/v1.0/product-groups/<id>/product-group-products (GET, POST)

      http://localhost:8080/o/headless-commerce-admin-catalog/v1.0/product-groups/by-externalReferenceCode/<externalReferenceCode>/product-group-products (GET, POST)

      http://localhost:8080/o/headless-commerce-admin-catalog/v1.0/product-group-products/<id> (DELETE)

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              andrea.sbarra Andrea Sbarra
              Reporter:
              riccardo.alberti Riccardo Alberti
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  2.1.2