Material subcategories
The API gives the ability to get all subcategories of material category.
Authorizations
x-api-keystringRequired
Path parameters
idstringRequired
Material category id
Query parameters
skipnumberOptional
takenumberOptional
namestringOptional
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-categories/{id}/subcategoriesThe API gives the ability to create new subcategory within a category.
Authorizations
x-api-keystringRequired
Path parameters
idstringRequired
Material category id
Header parameters
x-tenant-idstring · uuidOptional
Tenant id (uuid v4)
Body
namestringRequiredExample:
Subcategory name
Organic CottonResponses
201Success
application/json
429
Returned when the rate limit is exceeded
post
/api/public/material-categories/{id}/subcategoriesThe API gives the ability to delete subcategory.
Authorizations
x-api-keystringRequired
Path parameters
idstringRequired
Material category id
subcategory_idanyRequired
Material subcategory 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}/subcategories/{subcategory_id}The API gives the ability to update an existing subcategory’s name.
Authorizations
x-api-keystringRequired
Path parameters
idstringRequired
Material category id
subcategory_idanyRequired
Material subcategory id
Header parameters
x-tenant-idstring · uuidOptional
Tenant id (uuid v4)
Body
namestringRequiredExample:
Subcategory name
Organic CottonResponses
200Success
application/json
429
Returned when the rate limit is exceeded
patch
/api/public/material-categories/{id}/subcategories/{subcategory_id}Last updated