Rupa Rawi - Revou Group Project
  1. vendor
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. vendor

update vendor profile

Developing
PUT
vendor/profile
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'vendor/profile' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6ZmFsc2UsImlhdCI6MTc0NjA5MDQ1OCwianRpIjoiN2MwMmRmM2EtNTNkYi00ZjgwLTkyNDUtODkyNjliNmMyZDJlIiwidHlwZSI6ImFjY2VzcyIsInN1YiI6IjE3IiwibmJmIjoxNzQ2MDkwNDU4LCJjc3JmIjoiZWRlNDZlNzEtM2RjMC00M2RhLWIzZDAtOWVmMmRmODljNmQ4IiwidXNlcm5hbWUiOiJlY29fc2VsbGVyMTAiLCJlbWFpbCI6InNlbGxlcjEwQGV4YW1wbGUuY29tIn0.cEBHjXR-vXpOkVhMTtnEvcqiTtSzwo0Utg3OovlpYI0' \
--header 'Content-Type: application/json' \
--data-raw '{
    "business_name": "Eco Foods updated 2",
    "business_email": "vendor@ecofoods.com",
    "business_phone": "+1234567890",
    "business_address": "123 Green St, Eco City",
    "business_description": "Organic food supplier",
    "business_logo_url" : "https://example.com/profile.jpg"
}'
Response Response Example
{
  "message": "Profile updated successfully",
  "success": true,
  "vendor": {
    "business_address": "123 Green St, Eco City",
    "business_description": "Organic food supplier",
    "business_email": "vendor@ecofoods.com",
    "business_logo_url": "https://example.com/profile.jpg",
    "business_name": "Eco Foods",
    "business_phone": "+1234567890",
    "created_at": "Wed, 30 Apr 2025 17:51:39 GMT",
    "updated_at": "Thu, 01 May 2025 09:07:25 GMT",
    "user_id": 17,
    "vendor_status": "approved"
  }
}

Request

Header Params
Authorization
string 
required
Example:
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6ZmFsc2UsImlhdCI6MTc0NjA5MDQ1OCwianRpIjoiN2MwMmRmM2EtNTNkYi00ZjgwLTkyNDUtODkyNjliNmMyZDJlIiwidHlwZSI6ImFjY2VzcyIsInN1YiI6IjE3IiwibmJmIjoxNzQ2MDkwNDU4LCJjc3JmIjoiZWRlNDZlNzEtM2RjMC00M2RhLWIzZDAtOWVmMmRmODljNmQ4IiwidXNlcm5hbWUiOiJlY29fc2VsbGVyMTAiLCJlbWFpbCI6InNlbGxlcjEwQGV4YW1wbGUuY29tIn0.cEBHjXR-vXpOkVhMTtnEvcqiTtSzwo0Utg3OovlpYI0
Body Params application/json
business_name
string 
required
business_email
string 
required
business_phone
string 
required
business_address
string 
required
business_description
string 
required
business_logo_url
string 
required
Examples

Responses

🟢200Success
application/json
Body
message
string 
required
success
boolean 
required
vendor
object 
required
business_address
string 
required
business_description
string 
required
business_email
string 
required
business_logo_url
string 
required
business_name
string 
required
business_phone
string 
required
created_at
string 
required
updated_at
string 
required
user_id
integer 
required
vendor_status
string 
required
Modified at 2025-05-01 10:25:45
Previous
get vendor profile
Next
vendor stats
Built with