Categories
This page includes all endpoints available for the categories of Logiciel Actif.
List all categories
GET
https://app.gem-books.com/api/categories
This endpoint allows you to get the list of your categories.
Headers
Authentication*
string
Bearer Token
Accept
string
Should be application/json
Retrieve a specific sale product
GET
https://app.gem-books.com/api/categories/:id
This endpoint allows you to get one specific category.
Path Parameters
id
integer
The ID of the category to retrieve.
Headers
Authentication*
string
Bearer Token
Accept
string
Should be application/json
Create a category
POST
https://app.gem-books.com/api/categories
Headers
Authentication
string
Bearer Token
Content-type
string
Should be application/json
Accept
string
Should be application/json
Request Body
code
string
Code
name_fr
string
Category name in French
name_en
string
Category name in English
Body Example
Update a category
PUT
https://app.gem-books.com/api/categories/:id
This endpoint allows you to update a specific category. Returns the updated category.
Path Parameters
id
integer
Category ID to update.
Headers
Authentication
string
Bearer Token
Content-Type
string
Should be application/json
Accept
string
Should be application/json
Body Example
Last updated