Products service for Project-Greenfield API
The Products service is a RESTful API that handles requests for product information from the Kartify frontent.
The Products service API handles request for product information from the Kartify frontent, a redesign of a retail product page. It handles GET
requests to the following endpoints:
The /products/:id
endpoint returns the product information/metadata of the product associated with the input ID.
- id: the ID of the product requested
The /products/list
endpoint returns a paginated list of products. It accepts count
and page
query parameters, where count
refers to the number of products to return and page
refers to the page of products to select.
- count: number of products to return per-page
- page: selected page of products to return
The /products/:product_id/styles
endpoint retrieves the list of styles for a given product.
- product_id: The ID of the product associated with the requested styles
The /products/:product_id/related
endpoint returns a list of related product IDs.
- product_id: The ID of the product associated with the requested related products