Skip to main content

Get product by code (matrix style)

GET 

/products/:productCode

Schema:

productCode:
in: path
required: true
schema:
type: object
properties:
category:
type: string
id:
type: integer
style: matrix
explode: true

Example:

{productCode} = {"category": "electronics", "id": 123}
Result: /products;category=electronics;id=123

Request

Responses

Successful response