product

Find product by ID

Returns a single product

get/products/{id}

Request

  • Base URL
    http://localhost:8443
  • URL
    http://localhost:8443/products/{id}
  • Auth
    none declared

Path parameters

idinteger required
Example:3

ID of product to return

Response

successful operation

idinteger
namestring required
categorystring required
priceinteger required

Example response

{
  "id": 3,
  "name": "ABC Smart TV",
  "category": "Electronics",
  "price": 39999
}

Changes

No recorded changes to this operation across all 1 revision of this API.