Products
Get products assigned to category
Path parameters
categoryIdstringRequiredExample:
(Required)
<integer>Responses
200
OK
application/json
Responseobject
401
Unauthorized
application/json
500
Internal Server Error
application/json
get
/V1/categories/{categoryId}/productsAssign a product to the required category
Path parameters
categoryIdstringRequiredExample:
(Required)
<string>Header parameters
Content-TypestringOptionalExample:
application/jsonBody
objectOptionalExample:
{"productLink":{"category_id":"aliq","sku":"Ut","position":84191798,"extension_attributes":{}}}Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
post
/V1/categories/{categoryId}/productsAssign a product to the required category
Path parameters
categoryIdstringRequiredExample:
(Required)
<string>Header parameters
Content-TypestringOptionalExample:
application/jsonBody
objectOptionalExample:
{"productLink":{"category_id":"aliq","sku":"Ut","position":84191798,"extension_attributes":{}}}Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
put
/V1/categories/{categoryId}/productsRemove the product assignment from the category by category id and sku
Path parameters
categoryIdstringRequiredExample:
(Required)
<integer>skustringRequiredExample:
(Required)
<string>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}/products/{sku}