Material categories
Authorizations
x-api-keystringRequired
Header parameters
x-tenant-idstring · uuidOptional
Tenant id (uuid v4)
Responses
200Success
application/json
idstringRequiredExample:
Unique identifier of the category
b86fa12a-76fc-46f5-8a3e-bf39e7be4c4enamestringRequiredExample:
Category name
Cottoncreated_atstring · date-timeRequiredExample:
Time when the category was created
2023-12-01T10:30:00.000Zupdated_atobject · nullableRequiredExample:
Time when the category was last updated, null if never updated
2023-12-15T14:45:30.000Z429
Returned when the rate limit is exceeded
get
/api/v1/public/material-categoriesAuthorizations
x-api-keystringRequired
Path parameters
idstringRequired
Material category id
Header parameters
x-tenant-idstring · uuidOptional
Tenant id (uuid v4)
Responses
200Success
application/json
messagestringRequiredExample:
Message returned from API confirming the operation
The operation was done successfully429
Returned when the rate limit is exceeded
delete
/api/v1/public/material-categories/{id}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
messagestringRequiredExample:
Message returned from API confirming the operation
The operation was done successfully429
Returned when the rate limit is exceeded
patch
/api/v1/public/material-categories/{id}Last updated

