SalesChannelCategoryNodes

Move a category node in the tree structure

post

Moves a category node to a new position in the tree structure for the specified sales channel.

Authorizations
AuthorizationstringRequired
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
Body
nodeintegerRequired

ID of the node to move (must have depth greater than 1)

targetintegerRequired

ID of the target node to move to (must have depth greater than 1)

posstring · enumRequired

Position relative to the target node

Possible values:
Responses
chevron-right
200

Category node moved successfully

application/json
post
/api/v1/channel/{channel_id}/category_nodes/move/

Retrieve a category node

get

Retrieves details of a specific category node for the specified sales channel.

Authorizations
AuthorizationstringRequired
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Responses
chevron-right
200

Category node retrieved successfully

application/json
get
/api/v1/channel/{channel_id}/category_nodes/{id}/

Update a category node

put

Updates a specific category node for the specified sales channel.

Authorizations
AuthorizationstringRequired
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body
namestring · max: 64Optional

Name of the category node

orderintegerOptional

Order of the category node

sort_optioninteger | nullableOptional

ID of the sort option for the category node

attributesobjectOptional

Dynamic attributes for the category node

Responses
chevron-right
200

Category node updated successfully

application/json
put
/api/v1/channel/{channel_id}/category_nodes/{id}/

Delete a category node

delete

Deletes a specific category node for the specified sales channel.

Authorizations
AuthorizationstringRequired
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Responses
delete
/api/v1/channel/{channel_id}/category_nodes/{id}/

No content

Partially update a category node

patch

Partially updates a specific category node for the specified sales channel.

Authorizations
AuthorizationstringRequired
Path parameters
channel_idintegerRequired

ID of the sales channel

idintegerRequired

ID of the category node

Body
namestring · max: 64Optional

Name of the category node

orderintegerOptional

Order of the category node

sort_optioninteger | nullableOptional

ID of the sort option for the category node

attributesobjectOptional

Dynamic attributes for the category node

Responses
chevron-right
200

Category node partially updated successfully

application/json
patch
/api/v1/channel/{channel_id}/category_nodes/{id}/

Retrieve detailed information about a category node

get

Retrieves detailed information about a specific category node for the specified sales channel.

Authorizations
AuthorizationstringRequired
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Responses
chevron-right
200

Detailed category node information retrieved successfully

application/json
get
/api/v1/channel/{channel_id}/category_nodes/{id}/detailed/

List all category nodes

get

Retrieves a list of all category nodes for the specified sales channel.

Authorizations
AuthorizationstringRequired
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
Query parameters
namestringOptional

Filter by name.

is_activebooleanOptional

Filter by active status (True or False)

parentintegerOptional

Filter by parent category node ID

Responses
chevron-right
200

List of category nodes retrieved successfully

application/json
get
/api/v1/channel/{channel_id}/category_nodes/

Create a category node

post

Creates a new category node for the specified sales channel.

Authorizations
AuthorizationstringRequired
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
Body
namestring · max: 64Required

Name of the category node

orderintegerOptional

Order of the category node within its level

nodestringRequired

Parent node information for creating child category node

sort_optioninteger | nullableOptional

ID of the sort option for the category node

attributesobject | nullableOptional

Dynamic attributes for the category node

Responses
post
/api/v1/channel/{channel_id}/category_nodes/

List all category nodes with detailed information

get

Retrieves a list of all category nodes for the specified sales channel with detailed information.

Authorizations
AuthorizationstringRequired
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
Query parameters
namestringOptional

Filter by name.

is_activebooleanOptional

Filter by active status (True or False)

parentintegerOptional

Filter by parent category node ID

Responses
chevron-right
200

List of category nodes with detailed information retrieved successfully

application/json
get
/api/v1/channel/{channel_id}/category_nodes/detailed/

Last updated

Was this helpful?