All URIs are relative to http://t213.vg/rest/default
Method | HTTP request | Description |
---|---|---|
catalogCategoryLinkManagementV1GetAssignedProductsGet | GET /V1/categories/{categoryId}/products |
\SpringImport\Swagger\Magento2\Client\Model\CatalogDataCategoryProductLinkInterface[] catalogCategoryLinkManagementV1GetAssignedProductsGet($categoryId)
Get products assigned to category
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new SpringImport\Swagger\Magento2\Client\Api\CatalogCategoryLinkManagementV1Api();
$categoryId = 56; // int |
try {
$result = $api_instance->catalogCategoryLinkManagementV1GetAssignedProductsGet($categoryId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CatalogCategoryLinkManagementV1Api->catalogCategoryLinkManagementV1GetAssignedProductsGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
categoryId | int |
\SpringImport\Swagger\Magento2\Client\Model\CatalogDataCategoryProductLinkInterface[]
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]