Rupa Rawi - Revou Group Project
  1. wishlist
Rupa Rawi - Revou Group Project
  • auth
    • register user
      POST
    • login
      POST
    • refresh token
      POST
  • user
    • address
      • create address
      • get all address
      • update address
      • delete address
    • payment method
      • get all payment methods
      • delete payment method
      • update payment method
      • create payment method
    • update own profile
      PUT
    • get own profile
      GET
    • get public profile
      GET
  • product
    • category
      • get categories tree
      • get categories detail
    • wishlist
      • add item to wishlist
        POST
      • remove item to wishlist
        DELETE
      • get wishlist
        GET
    • promotions
      • get promotion detail (public)
      • get active promotions (public)
    • get product details (public)
      GET
    • get product list (public)
      GET
    • get public vendor products
      GET
  • admin
    • category
      • create category
      • update category
      • soft delete category
      • create subcategory
    • vendor management
      • get all vendors
      • vendor application review
    • promotions
      • get all promotions
      • create promotion
      • update promotion
    • get admin logs
      GET
  • vendor
    • product
      • soft delete product
      • create product
      • update product
      • get vendor products
    • vendor apply
      POST
    • get vendor profile
      GET
    • update vendor profile
      PUT
    • vendor stats
      GET
    • Vendor recent orders
      GET
  • order
    • cart
      • add item to cart
      • update item in cart
      • delete item in cart
      • get cart
    • update order status
    • get order
    • get all orders
    • pre-checkout calculation
    • order checkout
  • article
    • delete article
    • create article
    • get article
    • get article detail
    • update article
  • product review
    • create review product
    • get product reviews by product id
    • get product review detail
    • update product review detail
    • delete product review
  • testimony
    • create testimonial
    • update testimonial
    • get testimonial
    • delete testimonial
  1. wishlist

get wishlist

Developing
GET
products/wishlist
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'products/wishlist' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6ZmFsc2UsImlhdCI6MTc0NjA5NDI5OSwianRpIjoiOWM1MzYzMzQtMWMxMy00MzQzLWI5YWItNjlmMWJmMDE2ZmQyIiwidHlwZSI6ImFjY2VzcyIsInN1YiI6IjEiLCJuYmYiOjE3NDYwOTQyOTksImNzcmYiOiJkNjQ5ZGNmNy04Yzg3LTQ3NjgtYTFjYi1iNjc0OWEyZWE4YTEiLCJ1c2VybmFtZSI6ImVjb19idXllciIsImVtYWlsIjoiYnV5ZXJAZXhhbXBsZS5jb20ifQ.lDrwv2wp3a0jp7Yd9K90rrwPEA27cyZC4q7GIrCiH30' \
--header 'Content-Type: application/json' \
--data-raw '{}'
Response Response Example
{
  "message": "Wishlist fetched successfully",
  "success": true,
  "wishlist": {
    "count": 2,
    "products": [
      {
        "average_rating": 0.0,
        "id": 1,
        "name": "updated product",
        "price": 50.0,
        "primary_image": null
      },
      {
        "average_rating": 0.0,
        "id": 2,
        "name": "Cheap item",
        "price": 5.0,
        "primary_image": null
      }
    ]
  }
}

Request

Header Params
Authorization
string 
required
Example:
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6ZmFsc2UsImlhdCI6MTc0NjA5NDI5OSwianRpIjoiOWM1MzYzMzQtMWMxMy00MzQzLWI5YWItNjlmMWJmMDE2ZmQyIiwidHlwZSI6ImFjY2VzcyIsInN1YiI6IjEiLCJuYmYiOjE3NDYwOTQyOTksImNzcmYiOiJkNjQ5ZGNmNy04Yzg3LTQ3NjgtYTFjYi1iNjc0OWEyZWE4YTEiLCJ1c2VybmFtZSI6ImVjb19idXllciIsImVtYWlsIjoiYnV5ZXJAZXhhbXBsZS5jb20ifQ.lDrwv2wp3a0jp7Yd9K90rrwPEA27cyZC4q7GIrCiH30
Body Params application/json
object {0}
Examples

Responses

🟢200Success
application/json
Body
message
string 
required
success
boolean 
required
wishlist
object 
required
count
integer 
required
products
array [object {5}] 
required
Modified at 2025-05-04 13:26:27
Previous
remove item to wishlist
Next
get promotion detail (public)
Built with