GET 3dCartWebAPI/v1/Products/{catalogid}/Categories


Get the categories from a specific Product

Request Information

URI Parameters

NameDescriptionTypeAdditional 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 ProductCategory
NameDescriptionTypeAdditional 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:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ProductCategory>
    <CategoryID>1</CategoryID>
    <CategoryName>sample string 1</CategoryName>
  </ProductCategory>
  <ProductCategory>
    <CategoryID>1</CategoryID>
    <CategoryName>sample string 1</CategoryName>
  </ProductCategory>
</ArrayOfProductCategory>