The ProductCategories resource allows product categories to be listed and viewed. Here are some examples URIs:
· /ProductCategories - returns product categories;
· /ProductCategories?name=ABC - returns product categories with name starting with ABC;
The full range of URIs and HTTP Verbs supported are:
Operation
|
HTTP Action
|
List of product categories
|
GET /ProductCategories |
These filters can be used with the GET ProductCategories endpoint:
Filter
|
Description
|
name
|
Only return categories which name starts with the specific name
|
Filters are used by adding the filter and value to the URI: /ProductCategories?name=ABC
Available Fields for Product Category:
Property
|
Type
|
Length
|
Required
|
Notes
|
Id
|
Guid
|
|
|
Required for PUT, Ignored for POST operations
|
Name
|
String
|
50
|
Yes
|
Category name for product
|