Spurtcommerce
DocumentAPI ReferenceAdd-ons
API Reference
API Reference
  • About Spurtcommerce APIs
  • Spurtcommerce
    • Admin API
      • Admin
        • Authentication
        • My Profile
        • Support
      • Buyers
        • Manage Buyer
      • Chat
      • CMS
        • Manage Banner
        • Manage Blogs
        • Manage Pages
        • Manage SEO
      • Dashboard
      • Marketing
        • Manage Cross Selling
          • Related Products
        • Manage Promotions
          • Coupon
      • Marketplace
        • Manage Products
        • Manage Sales
        • Manage Settlements
        • Product Configuration
        • Reports
      • Sellers
        • Seller
        • Seller Group
        • Seller KYC Request
      • Settings
        • Add-ons
        • Add-ons Product Attributes
        • Localization
        • Order Fulfilment Status
        • Personalise
        • Site Settings
        • Store Settings
        • System
        • User and Permission
        • Support-Category
    • Store API
      • Account Settings
        • Customer
        • My Order
        • My Quotation
        • My Wishlist
        • Profile
        • Support
      • Checkouts
      • Store
        • Admin Contact
        • Categories
        • Home
        • Product Detail Page
    • Vendor API
      • Page 1
      • Catalogue
        • Bulk Product Imports
          • Custom
          • Standard
        • Common Product
        • Data Export
        • Pricing
        • Product Localisation
        • Product List
        • Product Variants
        • Related Products
      • CRM
        • Customer
        • Customer Group
        • Question and Answer
        • Rating and Review
      • Dashboard
      • Marketing
      • Payments
        • Archeived Payments
        • Earnings
        • Settlements
      • Profile
        • Account Settings
          • My Business
          • My KYC
          • My Profile
          • My Shop
          • Personalised Setting
        • Chat
        • Vendor
        • Support
      • Reports
      • Sales
        • Archeive Orders
        • Back Orders
        • Failed Orders
        • Orders
        • Quotation Request
        • Stock Update
        • Variant Stock Update
      • Supplier
        • Contact
        • Supplier
Powered by GitBook
On this page
  1. Spurtcommerce
  2. Vendor API
  3. Profile

Vendor

PreviousChatNextSupport

Last updated 3 months ago

  • POSTVendor Logout API
  • POSTVendor Login API
  • PUTVendor Forgot Password Link API
  • POSTVendor Send OTP API
  • POSTVendor Register API

Vendor Logout API

post

Logs the vendor out of the system.

Responses
200
Successfully logged out
400
Invalid request parameters
500
Internal server error
post
POST /backend/api/vendor/logout HTTP/1.1
Host: 139.59.67.17
Accept: */*
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Successfully Logout</message>
</object>

Vendor Login API

post

Authenticates the vendor and logs them into the system.

Body
emailIdstringRequiredExample: test@gmail.com
passwordstringRequiredExample: Welcome176
Responses
200
Successfully logged in
400
Invalid login credentials
500
Internal server error
post
POST /backend/api/vendor/login HTTP/1.1
Host: 139.59.67.17
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 52

"emailId='test@gmail.com'&password='Welcome176'"
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Logged In successfully</message>
</object>

Vendor Forgot Password Link API

put

Sends a reset password link to the vendor's email address.

Body
emailIdstringRequiredExample: test@gmail.com
Responses
200
Reset password link sent successfully
400
Invalid email or request
500
Internal server error
put
PUT /backend/api/vendor/forgot-password-link HTTP/1.1
Host: 139.59.67.17
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 28

"emailId='test@gmail.com'"
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Reset Password link has been sent to your email inbox.</message>
</object>

Vendor Send OTP API

post

Sends an OTP to the provided email address for vendor authentication.

Body
emailIdstringRequiredExample: test@gmail.com
Responses
200
OTP sent successfully
400
Bad Request
500
Internal server error
post
POST /backend/api/vendor/send-otp HTTP/1.1
Host: 139.59.67.17
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 28

"emailId='test@gmail.com'"
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>OTP successfully sent to the provided email address</message>
</object>

Vendor Register API

post

Registers a new vendor with necessary details like email, name, company, and OTP.

Body
emailIdstringRequiredExample: test@gmail.com
lastNamestringOptional
companyNamestringRequiredExample: picco
firstNamestringRequiredExample: picco
industryIdintegerOptionalExample: 1
passwordstringRequiredExample: dfhbdshf@
otpstringRequiredExample: 235434
tscbooleanRequiredExample: true
Responses
200
Vendor registration successful
400
Bad Request
500
Internal server error
post
POST /backend/api/vendor/register HTTP/1.1
Host: 139.59.67.17
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 148

"emailId='test@gmail.com'&lastName=''&companyName='picco'&firstName='picco'&industryId=1&password='dfhbdshf@'&otp='235434'&tsc=true"
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Thank you for expressing your interest and registering for selling your products. Kindly wait for admin approval</message>
</object>