GET 3dCartWebAPI/v1/Products/{catalogid}/Categories
Get the categories from a specific Product
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
catalogid |
Catalog ID |
integer |
Default value is 0 |
limit |
Maximum number of items that can be returned |
integer |
Default value is 0 |
offset |
Starting point for the return data |
integer |
Default value is 0 |
Body Parameters
None.
Sample Request |
|
Response Information
Resource Description
Collection of ProductCategoryName | Description | Type | Additional information |
---|---|---|---|
CategoryID | integer |
None. |
|
CategoryName |
database reference = category.category_name |
string |
String length: inclusive between 0 and 150 |
Response Formats
application/json, text/json
Sample:
[ { "CategoryID": 1, "CategoryName": "sample string 1" }, { "CategoryID": 1, "CategoryName": "sample string 1" } ]
application/xml, text/xml
Sample:
<ArrayOfProductCategory xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ProductCategory> <CategoryID>1</CategoryID> <CategoryName>sample string 1</CategoryName> </ProductCategory> <ProductCategory> <CategoryID>1</CategoryID> <CategoryName>sample string 1</CategoryName> </ProductCategory> </ArrayOfProductCategory>