Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 1.79 KB

CatalogCategoryLinkManagementV1Api.md

File metadata and controls

56 lines (36 loc) · 1.79 KB

swagger_client.CatalogCategoryLinkManagementV1Api

All URIs are relative to http://localhost/rest/default

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

catalog_category_link_management_v1_get_assigned_products_get

list[CatalogDataCategoryProductLinkInterface] catalog_category_link_management_v1_get_assigned_products_get(category_id)

Get products assigned to category

Example

from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CatalogCategoryLinkManagementV1Api()
category_id = 56 # int | 

try: 
    api_response = api_instance.catalog_category_link_management_v1_get_assigned_products_get(category_id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CatalogCategoryLinkManagementV1Api->catalog_category_link_management_v1_get_assigned_products_get: %s\n" % e)

Parameters

Name Type Description Notes
category_id int

Return type

list[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]