Create a new category

Changed on
post/categories

Request

Request body

namestring required
descriptionstring
statusstring

Response

Created

_idstring
groupidstring
namestring
descriptionstring
statusstring
createdAtstring date-time
updatedAtstring date-time
__vnumber

Example response

{
  "status": "ACTIVE",
  "subcategories": [
    {
      "status": "ACTIVE"
    }
  ]
}

Changes

    • breaking

      the response's property type changed from integer to number for status

    • breaking

      the // response's property type changed from integer to number for status

    • info

      added the new optional request property

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the ACTIVE enum value from the response property for the response status

    • info

      removed the ACTIVE enum value from the // response property for the response status

    • info

      removed the ARCHIVED enum value from the response property for the response status

    • info

      removed the INACTIVE enum value from the // response property for the response status