Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 1.78 KB

CatalogCategoryLinkManagementV1Api.md

File metadata and controls

54 lines (34 loc) · 1.78 KB

SpringImport\Swagger\Magento2\Client\CatalogCategoryLinkManagementV1Api

All URIs are relative to http://t213.vg/rest/default

Method HTTP request Description
catalogCategoryLinkManagementV1GetAssignedProductsGet GET /V1/categories/{categoryId}/products

catalogCategoryLinkManagementV1GetAssignedProductsGet

\SpringImport\Swagger\Magento2\Client\Model\CatalogDataCategoryProductLinkInterface[] catalogCategoryLinkManagementV1GetAssignedProductsGet($categoryId)

Get products assigned to category

Example

<?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;
}
?>

Parameters

Name Type Description Notes
categoryId int

Return type

\SpringImport\Swagger\Magento2\Client\Model\CatalogDataCategoryProductLinkInterface[]

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]