• Fiori
  • GET Categories

See all Categories

This method allows you to see the categories with the associated products, it can be useful to better organize your front-end of a possible site.


Production environment:

  • https://fiori.altravia.com/categories
  • https://fiori.altravia.com/categories/"idTipo"
  • https://fiori.altravia.com/categories/composizione/"idComposizione"

Testing environment

  • https://test.fiori.altravia.com/categories
  • https://test.fiori.altravia.com/categories/"idTipo"
  • https://test.fiori.altravia.com/categories/composizione/"idComposizione"


Request Example


Response Format

If successful, the response header HTTP status code will be 200 OK and the request will be answered.

If you try to get a request without authorization, you will receive an error 401 Unauthorized.

Additionally you should also handle the 400 Bad request status. For more info on HTTP status handling see dedicated section in Integration best practices page.

Request Response

Parameter Type Description
data DataResponseDetails Present only if the API call goes to good end, it will contain the answer data.
success boolean True or false.
message string It contains a message that can be shown by the user.
error int Present only if the API call fails, it contains an error code.

Data Response Details

Parameter Type Description
idTipo int Unique id of the category.
parentMenu int Id of the category to which it is a child.
Nome string Name of the category.
elenco_idProdotti array List of products contained in the category; each number represents the product's idComposizione.
isEnabled string True or False; indicates whether the category is currently active or not.

Additional examples

Request of a specific category:


Additional examples

Request for all categories related to a product: