listProductTypes

get

/ccstore/v1/productTypes

List Product Types. List the product types. Returns all the product types when id is not specified.

Request

There are no request parameters for this operation.

Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : listProductTypes_response
Type: object
Show Source
Example Response (application/json)
[
    {
        "displayName":"Men - Apparel",
        "id":"MensApparel"
    },
    {
        "displayName":"Men - Shoes",
        "id":"MensShoes"
    },
    {
        "displayName":"Tables",
        "id":"Tables"
    },
    {
        "displayName":"Women - Apparel",
        "id":"WomensApparel"
    },
    {
        "displayName":"Women - Shoes",
        "id":"WomensShoes"
    }
]

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top