Inventory API
Categories
List all Categories
This API endpoint (GET) retrieves all your categories. The response is paginated; therefore, you should use the 'page' parameter for navigating through the results in subsequent requests. On successful completion, it returns an array of Category Objects the number of available results and the flags used for filtering.
page * Fetch the results from a specific page. It defaults to 1.
per_page * The number of results to fetch per page. The maximum is 50 and if it defaults to 10.
category_id An optional identifier used for filtering results. If provided, it will return the subcategories that are located in this category.
product_id An optional identifier used for filtering results. If provided, it will return the categories that are associated with the product.
filter Optional text used for filtering products by title.
order Determines in which order the results are returned. The available options are asc (ascending) and desc (descending). The default value is desc.