Material Subcategories
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/v1/public/material-categories/{id}/subcategories
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
idstring · uuidRequiredExample:
Unique identifier of the subcategory
b86fa12a-76fc-46f5-8a3e-bf39e7be4c4enamestringRequiredExample:
Subcategory name
Organic Cottoncreated_atstring · date-timeRequiredExample:
Time when the subcategory was created
2023-12-01T10:30:00.000Zupdated_atobject · nullableOptionalExample:
Time when the subcategory was last updated, null if never updated
2023-12-15T14:45:30.000Zmaterial_category_idstring · uuidRequiredExample:
Identifier of the parent material category this subcategory belongs to
a75eb02c-65dc-35e4-9b2f-ce28d6ad3d3c429
Returned when the rate limit is exceeded
post/api/v1/public/material-categories/{id}/subcategories
Authorizations
x-api-keystringRequired
Path parameters
subcategory_idstringRequired
Material subcategory id
idanyRequired
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}/subcategories/{subcategory_id}
Authorizations
x-api-keystringRequired
Path parameters
subcategory_idstringRequired
Material subcategory id
idanyRequired
Material category id
Header parameters
x-tenant-idstring · uuidOptional
Tenant id (uuid v4)
Body
namestringRequiredExample:
Subcategory name
Organic 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}/subcategories/{subcategory_id}
Last updated

