My Shop
Fetches a list of vendor documents based on the provided filters.
Number of documents to return per page
The offset for pagination
Flag to indicate if count is requested
ID of the vendor
Bearer token for vendor authentication
Successfully retrieved the list of vendor documents.
Bad request. Invalid input data.
Internal server error.
GET /backend/api/vendor-document HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got document list</message>
</object>
This endpoint allows the upload of a document for a vendor.
Bearer token for vendor authentication
The document file to upload.
The ID of the vendor uploading the document.
The type of the document being uploaded (e.g., 'invoice', 'contract').
Document uploaded successfully.
Bad request. Invalid input data.
Internal server error.
POST /backend/api/vendor-document HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: multipart/form-data
Accept: */*
Content-Length: 52
{
"file": "binary",
"vendorId": 1,
"documentType": "text"
}
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Document Upload Successfully</message>
</object>
This endpoint allows uploading a media file (such as an image or document) to the server.
Bearer token for vendor authentication
The name of the file being uploaded.
The type of file being uploaded (e.g., image = 1, document = 2).
The path where the file should be stored.
Base64 encoded image or document file content.
The document ID (for documents).
Successfully uploaded the file.
Bad request. Invalid input data.
Internal server error.
POST /backend/api/media/upload-file HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 76
"fileName='text'&fileType=1&path='text'&image='text'&documentId=1"
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Image Uploaded Successfully</message>
</object>
This endpoint allows fetching details of a specific vendor document by its unique ID.
The unique identifier of the document.
Bearer token for vendor authentication
Document details fetched successfully.
Bad request. Invalid document ID.
Document not found for the provided ID.
Internal server error.
GET /backend/api/vendor-document/{id} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got document details</message>
</object>
Update the vendor details by providing the vendor ID and the new data via form data.
ID of the vendor to be updated
Bearer token for vendor authentication
Date of Birth
Email address
First Name
Gender
Last Name
Mobile number
Username
Media related to the vendor
Password
Flag to reset password
Successfully updated the vendor details.
Bad request. Invalid input data.
Vendor not found.
Internal server error.
PUT /backend/api/vendor/edit-vendor/{customerId} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 179
"dob='2025-08-29'&email='text'&firstName='text'&gender='text'&lastName='text'&mobileNumber='text'&username='text'&vendorMedia=['text']&password='text'&reset=1"
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully Updated ..!</message>
</object>
Retrieve the profile information for the authenticated vendor.
Bearer token for vendor authentication
Successfully retrieved vendor profile.
Unauthorized access. Token is missing or invalid.
Internal server error.
GET /backend/api/vendor/vendor-profile HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>successfully got seller profile</message>
</object>
Last updated