Material categories
The API gives the ability to get all material categories.
Authorizations
x-api-keystringRequired
Header parameters
x-tenant-idstring · uuidOptional
Tenant id (uuid v4)
Responses
200Success
application/json
429
Returned when the rate limit is exceeded
get
/api/public/material-categoriesThe API gives the ability to create new category.
Authorizations
x-api-keystringRequired
Header parameters
x-tenant-idstring · uuidOptional
Tenant id (uuid v4)
Body
namestringRequiredExample:
Category name
CottonResponses
201Success
application/json
429
Returned when the rate limit is exceeded
post
/api/public/material-categoriesThe API gives the ability to delete category.
Authorizations
x-api-keystringRequired
Path parameters
idstringRequired
Material category id
Header parameters
x-tenant-idstring · uuidOptional
Tenant id (uuid v4)
Responses
200Success
application/json
429
Returned when the rate limit is exceeded
delete
/api/public/material-categories/{id}The API gives the ability to update an existing category’s name.
Authorizations
x-api-keystringRequired
Path parameters
idstringRequired
Material category id
Header parameters
x-tenant-idstring · uuidOptional
Tenant id (uuid v4)
Body
namestringRequiredExample:
Category name
CottonResponses
200Success
application/json
429
Returned when the rate limit is exceeded
patch
/api/public/material-categories/{id}Last updated