Rupa Rawi - Revou Group Project
  1. user
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
      • remove item to wishlist
      • get wishlist
    • 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. user

get own profile

Developing
GET
auth/me
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'auth/me' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6ZmFsc2UsImlhdCI6MTc0NjAzNTI5NiwianRpIjoiYmVjYmRhNjktYTgwYS00M2Q5LWExYWItOWFmMTg5ZTg2N2ZjIiwidHlwZSI6ImFjY2VzcyIsInN1YiI6IjE3IiwibmJmIjoxNzQ2MDM1Mjk2LCJjc3JmIjoiOWE1MmYwNzEtNDgyYi00OWRiLWE0MGQtOWM1YzM3ODY4YmEwIiwidXNlcm5hbWUiOiJlY29fc2VsbGVyMTAiLCJlbWFpbCI6InNlbGxlcjEwQGV4YW1wbGUuY29tIn0.QjZiLss_8q_KkqkWflo542iYgDwEgii6CxlBmhHEmAY' \
--header 'Content-Type: application/json' \
--data-raw '{
  "email": "seller10@example.com",
  "password": "sustainable123"
}'
Response Response Example
{
  "success": true,
  "user": {
    "bio": null,
    "created_at": "Wed, 30 Apr 2025 17:36:56 GMT",
    "email": "seller10@example.com",
    "first_name": null,
    "id": 17,
    "last_login": "Wed, 30 Apr 2025 17:48:16 GMT",
    "last_name": null,
    "profile_image_url": null,
    "role": [
      {
        "name": "buyer"
      },
      {
        "name": "vendor"
      }
    ],
    "username": "eco_seller10"
  }
}

Request

Header Params
Authorization
string 
required
Example:
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6ZmFsc2UsImlhdCI6MTc0NjAzNTI5NiwianRpIjoiYmVjYmRhNjktYTgwYS00M2Q5LWExYWItOWFmMTg5ZTg2N2ZjIiwidHlwZSI6ImFjY2VzcyIsInN1YiI6IjE3IiwibmJmIjoxNzQ2MDM1Mjk2LCJjc3JmIjoiOWE1MmYwNzEtNDgyYi00OWRiLWE0MGQtOWM1YzM3ODY4YmEwIiwidXNlcm5hbWUiOiJlY29fc2VsbGVyMTAiLCJlbWFpbCI6InNlbGxlcjEwQGV4YW1wbGUuY29tIn0.QjZiLss_8q_KkqkWflo542iYgDwEgii6CxlBmhHEmAY
Body Params application/json
email
string 
required
password
string 
required
Examples

Responses

🟢200Success
application/json
Body
success
boolean 
required
user
object 
required
bio
null 
required
created_at
string 
required
email
string 
required
first_name
null 
required
id
integer 
required
last_login
string 
required
last_name
null 
required
profile_image_url
null 
required
role
array [object {1}] 
required
username
string 
required
Modified at 2025-05-04 13:04:04
Previous
update own profile
Next
get public profile
Built with