Categories

catalog Category Repository V1Get Get

get

Get info about category by category id

Path parameters
categoryIdstringRequired

(Required)

Example: <integer>
Query parameters
storeIdstringOptionalExample: <integer>
Responses
200

OK

application/json
Responseobject
get
/V1/categories/{categoryId}

catalog Category Repository V1Delete By Identifier Delete

delete

Delete category by identifier

Path parameters
categoryIdstringRequired

(Required)

Example: <integer>
Responses
200

OK

application/json
Responseobject
delete
/V1/categories/{categoryId}

catalog Category Management V1Get Tree Get

get

Retrieve list of categories

Query parameters
rootCategoryIdstringOptionalExample: <integer>
depthstringOptionalExample: <integer>
Responses
200

OK

application/json
Responseobject
get
/V1/categories

catalog Category Repository V1Save Post

post

Create category service

Header parameters
Content-TypestringOptionalExample: application/json
Body
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
post
/V1/categories

catalog Category Repository V1Save Put

put

Create category service

Path parameters
idstringRequired

(Required)

Example: <string>
Header parameters
Content-TypestringOptionalExample: application/json
Body
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
put
/V1/categories/{id}