categories/{categoryId}/products

categories/{categoryId}/products

get/V1/categories/{categoryId}/products

Get products assigned to category

Request
path Parameters
categoryId
required
integer
Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

Response samples
[
  • {
    }
]

categories/{categoryId}/products

post/V1/categories/{categoryId}/products

Assign a product to the required category

Request
path Parameters
categoryId
required
string
Request Body schema:
required
object (catalog-data-category-product-link-interface)
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Request samples
{
  • "productLink": {
    }
}
Response samples
true

categories/{categoryId}/products

put/V1/categories/{categoryId}/products

Assign a product to the required category

Request
path Parameters
categoryId
required
string
Request Body schema:
required
object (catalog-data-category-product-link-interface)
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Request samples
{
  • "productLink": {
    }
}
Response samples
true