Get products assigned to category
Get products assigned to category
GET /V1/categories/{categoryId}/products
curl \
-X GET https://magento2.winkelstraat.mac/rest/all/V1/categories/{categoryId}/products
Response examples (200)
[
{
"sku": "string",
"position": 42,
"category_id": "string",
"extension_attributes": {}
}
]
Response examples (default)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}