E-CommerceRainy Days
Rainy Days
These endpoints allow you to retrieve all products, or a single product by its id. The response will be an array of JSON objects if you request all products, or a single JSON object if you request a single product.
The Rainy Days model
Prop | Type | Default |
---|---|---|
id | string | - |
title | string | - |
description | string | - |
gender | string | - |
sizes | Array<string> | - |
baseColor | string | - |
price | float | - |
discountedPrice | float | - |
onSale | boolean | - |
image | string | - |
tags | Array<string> | - |
favorite | boolean | - |
All products
GET/rainy-days
Retrieve all products.
Single product
GET/rainy-days/<id>
Retrieve a single product by its id.