Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-2880

Headless APIs in catalog should return a consistent status code

    Details

      Description

      Headless API's should always return a consistent status code instead of 200 in case the request didn't get succeeded. 
      This happened so far in many POST requests to these enpoints:

      /products/{id}/productSpecifications/
      /specifications/{id}
      /productOptions/{id}/productOptionValues/

        Attachments

          Activity

            People

            Assignee:
            andrea.sbarra Andrea Sbarra
            Reporter:
            fabio.mastrorilli Fabio Mastrorilli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                2.1.0