latest
  • latest
  • v1.0.0
Platform
Platform
  • Staging
  • Prod
CRM
CRM
  • Staging
  • Staging
App
App
  • AppStore (PROD)
  • Playstore (PROD)
  • AppStore (Staging)
  • Playstore (Staging)
Infra
Infra
  • GCP (Cloud)
  • Resend (Email)
  • Cloudflare (CDN)
Platform
Platform
  • Staging
  • Prod
CRM
CRM
  • Staging
  • Staging
App
App
  • AppStore (PROD)
  • Playstore (PROD)
  • AppStore (Staging)
  • Playstore (Staging)
Infra
Infra
  • GCP (Cloud)
  • Resend (Email)
  • Cloudflare (CDN)
latest
  • latest
  • v1.0.0
latest
  • latest
  • v1.0.0
  1. Account
  • Back to home
  • Core API
  • auth
    • Auth
      • Sign-up account
      • Sign-in account
      • Forgot Password
      • Reset Password
    • Admin
      • List Users
      • Create User
      • Get Auth User by ID
      • Update Auth User
      • Delete User
    • Health
      • Health Check
      • Health Stats
    • Better Auth - Default
      • socialSignIn
      • /auth-service/auth/get-session
      • /auth-service/auth/sign-out
      • /auth-service/auth/sign-up/email
      • /auth-service/auth/sign-in/email
      • /auth-service/auth/forget-password
      • /auth-service/auth/reset-password
      • /auth-service/auth/verify-email
      • /auth-service/auth/send-verification-email
      • /auth-service/auth/change-email
      • /auth-service/auth/change-password
      • /auth-service/auth/update-user
      • /auth-service/auth/delete-user
      • /auth-service/auth/reset-password/{token}
      • /auth-service/auth/request-password-reset
      • /auth-service/auth/list-sessions
      • /auth-service/auth/revoke-session
      • /auth-service/auth/revoke-sessions
      • /auth-service/auth/revoke-other-sessions
      • /auth-service/auth/link-social
      • /auth-service/auth/list-accounts
      • /auth-service/auth/delete-user/callback
      • /auth-service/auth/unlink-account
      • /auth-service/auth/refresh-token
      • /auth-service/auth/get-access-token
      • /auth-service/auth/account-info
      • /auth-service/auth/ok
      • /auth-service/auth/error
    • Better Auth - Jwt
      • /auth-service/auth/jwks
      • /auth-service/auth/token
    • Better Auth - Username
      • /auth-service/auth/sign-in/username
      • /auth-service/auth/is-username-available
    • Better Auth - Admin
      • setRole
      • getUser
      • createUser
      • updateUser
      • listUsers
      • listUserSessions
      • unbanUser
      • banUser
      • impersonateUser
      • /auth-service/auth/admin/stop-impersonating
      • revokeUserSession
      • revokeUserSessions
      • removeUser
      • setUserPassword
      • /auth-service/auth/admin/has-permission
    • Auth events
      • Auth user modified
    • getAuth-serviceV1Internal-v1InternalUser
  • user
    • User
      • Get All Users
      • Get User by ID
    • Account
      • Get User Account
        GET
      • Delete Account
        DELETE
      • List history of user update requests
        GET
      • Get pending user update request
        GET
      • Update account
        PATCH
      • Send Welcome Email
        POST
      • Update work experience
        PATCH
      • Change Password
        POST
      • Enable/Disable isSalesAgent for a User
        PATCH
    • User KYC
      • Initiate new user KYC
      • Get User KYC History
      • Get Latest KYC
      • Update Aadhaar KYC Document and Send OTP
      • Verify Aadhaar OTP and Update KYC Document
      • Verify PAN and Update KYC Document
      • Verify Driving License and Update KYC Document
      • Verify Passport and Update KYC Document
      • Update KYC Document for User
      • Submit User KYC
      • Delete User KYC
    • Manage
      • Get all User KYC Requests
      • Get KYC Record
      • Update KYC Request Status
      • Get all User Update Requests
      • Get User Update Request by ID
      • Update Status of the User Update Request
    • Health
      • MongoDB Connection Check
      • Health Check
    • User Event
      • Create User Event
      • Modify User Event
      • Update Request Approved User Event
      • Update Request Rejected User Event
    • Verify Email
      • Send OTP to Email for Verification
      • Confirm Email Verification
      • Resend OTP to Email for Verification
  • activity
    • Activity
      • Get All Activities
      • Get activities by user ID
      • Get Activity By ID
      • Update Activity
      • Delete Activity
      • Create Activity
    • Activity Event
      • Create User Activity
      • Create Business Activity
      • Create Catalog Activity
      • Create Tender Activity
      • Create Enquiry Activity
      • Create Bid Activity
      • Create Wallet Activity
    • Health
      • MongoDB Connection Check
      • Health Check
  • business
    • Business
      • Get All Businesses
      • Get Business
      • Delete Business
      • Verify business email
      • Create Business
      • List My Businesses
      • Upload Business Logo
      • Send verification email
      • Resend verification email
      • List history of business update requests
      • Get pending business update request
      • Update Business
    • Business Team Member
      • List business team members
      • Get a single team member
      • Update a team member
      • Remove a team member
      • Add a team member
    • Business KYC
      • Get Business KYC History
      • Get Latest Business KYC by Business ID
      • Initiate New Business Kyc
      • Update KYC Document For Business
      • Verify PAN and Update KYC Document
      • Verify GST and Update KYC Document
      • Submit BusinessKyc
      • Delete BusinessKyc
    • Admin
      • Update Business
      • Delete Business
    • Manage
      • Get All Business KYC Records
      • Get KYC Record
      • Update KYC Status
      • Get All Update Requests
      • Get Update Request
      • Update Status
      • Get All Businesses
    • Health
      • MongoDB Connection Check
      • Health Check
      • Health Stats
  • tender
    • Tender
      • List all Tenders
      • Get Tender
      • Delete Tender
      • Check Tender Bid
      • Create Tender
      • Place a bid
      • List Bids
      • Update Bid
      • List history of tender update requests
      • Get pending tender update request
      • Update Tender
    • Admin
      • Update Tender
      • Delete Tender
    • Manage
      • List all Tenders
      • Get Tender
      • Publish Tender
      • Get All Update Requests
      • Get Update Request
      • Update Status
      • List Bids
      • Award Bid
    • Health
      • Health Check
  • master
    • Category Admin
      • List Categories
      • Create Category
      • Update Category
      • Delete Category
    • Category
      • Get Category
      • List Categories
    • Industry Admin
      • List Industries
      • Create Industry
      • Update Industry
      • Delete Industry
    • Industry
      • Get Industry
      • List Industries
    • Health
      • Health Check
  • enquiry
    • Enquiry
      • Create Enquiry
      • Approve / Reject Enquiry Action
      • Close Enquiry Action
      • List User Enquiries
      • List Business Enquiries
      • Get Enquiry by ID
    • Admin
      • List Admin Enquiries
      • Get Enquiry by ID
      • Delete Enquiry
    • Health
      • MongoDB Connection Check
      • Health Check
  • catalog
    • Catalog
      • List Catalogs
      • Get Catalog
      • Delete Catalog
      • Create Catalog
      • List history of catalog update requests
      • Get pending catalog update request
      • Upload Catalog Image
      • Update Catalog
    • Catalog Variant
      • List Catalog Variants
      • Get Catalog Variant
      • Delete Catalog Variant
      • Create Catalog Variant
      • Update Catalog Variant
      • Get Catalog Variant History
      • Get Pending Catalog Variant
    • Admin
      • Update Catalog
      • Delete Catalog
      • Update Catalog Variant
      • Delete Catalog Variant
    • Manage
      • Get All Catalogs
      • Get Catalog
      • Update Catalog Status
      • Get All Update Requests
      • Get Update Request
      • Update Catalog Req. Status
      • Get All Catalog Variants
      • Get Catalog Variant
      • Update Variant Status
      • Get All Variant Update Requests
      • Get Variant Update Request
      • Update Variant Req. Status
    • Health
      • MongoDB Connection Check
      • Health Check
  • billing
    • Billing Account
      • List billing accounts
      • Get billing account by ID
      • Update billing account
      • Delete billing account
      • Create billing account
    • Billing Account Access
      • List billing account accesses
      • Get billing account access by ID
      • Update billing account access
      • Revoke billing account access
      • Grant billing account access
    • Invoice
      • List invoices
      • Get invoice by ID
    • Invoice Payment
      • List invoice payments
      • Get invoice payment by ID
      • Create invoice payment
    • Admin - Billing Account
      • List billing accounts
      • Get billing account by ID
      • Delete billing account
      • Update billing account status
    • Admin - Invoice Item
      • Create invoice item
      • Update invoice item
      • Delete invoice item
    • Admin - Invoice
      • List invoices
      • Get invoice by ID
      • Update invoice
      • Delete invoice
      • Create invoice
    • Admin - Invoice Payment
      • List invoice payments
      • Get invoice payment by ID
      • Update invoice payment
      • Delete invoice payment
      • Create invoice payment
    • Health
      • Health Check
      • Health Stats
  • wallet
    • Wallet
      • Get wallet by user
      • Get wallet by business ID
      • Create wallet
      • Update wallet
    • Wallet Transaction
      • List wallet transactions
      • Get wallet transaction by ID
    • Manage - Wallet Transaction
      • List wallet transactions
      • Get wallet transaction by ID
      • Update wallet transaction
      • Delete wallet transaction
      • Create wallet transaction
    • Manage - Wallet
      • List wallets
      • Get wallet by ID
      • Update wallet
      • Delete wallet
      • Create wallet
    • Health
      • Health Check
      • Health Stats
  • handler
    • Event Handling
      • Handle Pub/Sub Messages
    • Health
      • Health Check
Platform
Platform
  • Staging
  • Prod
CRM
CRM
  • Staging
  • Staging
App
App
  • AppStore (PROD)
  • Playstore (PROD)
  • AppStore (Staging)
  • Playstore (Staging)
Infra
Infra
  • GCP (Cloud)
  • Resend (Email)
  • Cloudflare (CDN)
Platform
Platform
  • Staging
  • Prod
CRM
CRM
  • Staging
  • Staging
App
App
  • AppStore (PROD)
  • Playstore (PROD)
  • AppStore (Staging)
  • Playstore (Staging)
Infra
Infra
  • GCP (Cloud)
  • Resend (Email)
  • Cloudflare (CDN)
latest
  • latest
  • v1.0.0
latest
  • latest
  • v1.0.0
  1. Account

Update account

Testing
Staging Env
https://api.stg.bidancer.com
Staging Env
https://api.stg.bidancer.com
PATCH
https://api.stg.bidancer.com
/user-service/v1/account/update
Last modified:2026-01-13 17:40:55
Update an existing user account

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params multipart/form-data

Responses

🟢200OK
application/json
Success response for create/update of a user account update request
Body

🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🟠429429
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://api.stg.bidancer.com/user-service/v1/account/update' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
    "status": "success",
    "message": "string",
    "data": {
        "id": "string",
        "createdAt": "2019-08-24T14:15:22.123Z",
        "updatedAt": "2019-08-24T14:15:22.123Z",
        "deletedAt": "2019-08-24T14:15:22.123Z",
        "uid": "string",
        "email": "user@example.com",
        "name": "string",
        "firstName": "string",
        "lastName": "string",
        "middleName": "string",
        "username": "string",
        "role": "user",
        "profilePicture": "http://example.com",
        "phone": "string",
        "isSalesAgent": true,
        "address": {
            "line1": "string",
            "line2": "string",
            "line3": "string",
            "city": "string",
            "state": "string",
            "country": "string",
            "zipcode": "string"
        },
        "timezone": "string",
        "workExperiences": [
            {
                "id": "string",
                "companyName": "string",
                "companyId": "string",
                "role": "string",
                "startDate": "2019-08-24T14:15:22.123Z",
                "endDate": "2019-08-24T14:15:22.123Z",
                "isPresent": true,
                "description": "string",
                "skills": [
                    "string"
                ],
                "createdAt": "2019-08-24T14:15:22.123Z",
                "updatedAt": "2019-08-24T14:15:22.123Z"
            }
        ],
        "kycStatus": "draft",
        "salesAgentRating": {
            "responseTime": -9007199254740991,
            "communication": -9007199254740991,
            "paymentTerms": -9007199254740991,
            "productQuality": -9007199254740991,
            "credibility": -9007199254740991,
            "overall": -9007199254740991
        }
    }
}
Modified at 2026-01-13 17:40:55
Previous
Get pending user update request
Next
Send Welcome Email
Built with