Auth
3
Body
{
"name": "test",
"email": "test+13@gmail.com",
"password": "secret"
}
Body
{
"email": "test@gmail.com",
"password": "secret"
}
User
5
Body
{
"name": "Testnew",
"email": "test+12@gmail.com"
}
Body
{
"old_password": "secret",
"new_password": "secret"
}
Product
8
Body
{
"name": "accent chait",
"price": 599999,
"image":
"https://res.cloudinary.com/dcz3wlcno/image/upload/v1669399620/e-commerce-api-dev/438bd160_tskd8h.jpg",
"colors": ["#ff0000", "#00ff00",
"#0000ff"],
"company": "marcos",
"description": "Cloud bread VHS hell of banjo bicycle rights
jianbing umami mumblecore etsy 8-bit pok pok +1 wolf. Vexillologist yr
dreamcatcher waistcoat, authentic chillwave trust fund. Viral typewriter
fingerstache pinterest pork belly narwhal. Schlitz venmo everyday carry
kitsch pitchfork chillwave iPhone taiyaki trust fund hashtag kinfolk
microdosing gochujang live-edge",
"category": "office"
}
Body
{
"name": "accent chair",
"price": 599999,
"image":
"https://res.cloudinary.com/dcz3wlcno/image/upload/v1669399620/e-commerce-api-dev/438bd160_tskd8h.jpg",
"colors": ["#ff0000", "#00ff00",
"#0000ff"],
"company": "marcos",
"description": "Cloud bread VHS hell of banjo bicycle rights
jianbing umami mumblecore etsy 8-bit pok pok +1 wolf. Vexillologist yr
dreamcatcher waistcoat, authentic chillwave trust fund. Viral typewriter
fingerstache pinterest pork belly narwhal. Schlitz venmo everyday carry
kitsch pitchfork chillwave iPhone taiyaki trust fund hashtag kinfolk
microdosing gochujang live-edge",
"category": "office"
}
Body
Key
| Value
| Description
|
image
|
|
|
Body
Key
| Value
| Description
|
image
|
|
|
Review
5
Body
{
"title": "Very Good Product",
"rating": 4.5,
"comment": "very very good product",
"product": "637d0dca741026d0b2bcef60"
}
Body
{
"title": "Very Good Product",
"rating": 1,
"comment": "very good product"
}
Order
5
Body
{
"tax": 399,
"shippingFees": 499,
"cartItems": [
{
"name": "accent chair",
"price": 599999,
"image":
"https://res.cloudinary.com/dcz3wlcno/image/upload/v1669399620/e-commerce-api-dev/438bd160_tskd8h.jpg",
"amount": 5,
"product": "637d0dca741026d0b2bcef60"
}
]
}
Body
{
"paymentIntentId": "pi_3M87FwSH7caQlX5R02dLJAIE"
}