Categories
Get info about category by category id
Path parameters
categoryIdstringRequiredExample:
(Required)
<integer>Query parameters
storeIdstringOptionalExample:
<integer>Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
get
/V1/categories/{categoryId}Delete category by identifier
Path parameters
categoryIdstringRequiredExample:
(Required)
<integer>Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
delete
/V1/categories/{categoryId}Retrieve list of categories
Query parameters
rootCategoryIdstringOptionalExample:
<integer>depthstringOptionalExample:
<integer>Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
get
/V1/categoriesCreate category service
Header parameters
Content-TypestringOptionalExample:
application/jsonBody
objectOptionalExample:
{"category":{"id":"<integer>","parent_id":"<integer>","name":"<string>","is_active":"<boolean>","position":"<integer>","level":"<integer>","children":"<string>","created_at":"<string>","updated_at":"<string>","path":"<string>","available_sort_by":["<string>","<string>"],"include_in_menu":"<boolean>","extension_attributes":"<object>","custom_attributes":[{"attribute_code":"incididunt quis in","value":"culpa deserunt"},{"attribute_code":"dolore in dolore","value":"fugiat in sed Lorem"}]}}Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
post
/V1/categoriesCreate category service
Path parameters
idstringRequiredExample:
(Required)
<string>Header parameters
Content-TypestringOptionalExample:
application/jsonBody
objectOptionalExample:
{"category":{"id":"<integer>","parent_id":"<integer>","name":"<string>","is_active":"<boolean>","position":"<integer>","level":"<integer>","children":"<string>","created_at":"<string>","updated_at":"<string>","path":"<string>","available_sort_by":["<string>","<string>"],"include_in_menu":"<boolean>","extension_attributes":"<object>","custom_attributes":[{"attribute_code":"incididunt quis in","value":"culpa deserunt"},{"attribute_code":"dolore in dolore","value":"fugiat in sed Lorem"}]}}Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
put
/V1/categories/{id}