Chat
Retrieves a list of vendors for chat administration.
A search keyword to filter vendor details.
Bearer token for authentication.
Successfully got vendor details
Invalid request parameters
Unauthorized access
GET /backend/api/chat-admin/vendor-list HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully Got Vendor Details</message>
</object>
Fetches user details for chat administration.
Bearer token for authentication.
Successfully retrieved user details
Invalid request
Unauthorized
GET /backend/api/chat-admin HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully Got User Details</message>
</object>
Fetches vendor details by vendor ID.
ID of the vendor to fetch details for
Bearer token for authentication.
Successfully retrieved vendor details
Invalid request
Unauthorized
Vendor not found
GET /backend/api/chat-admin/vendor/{vendorId} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully Got Vendor Details</message>
</object>
Fetches the chat history for a given vendor.
ID of the vendor to fetch chat history for
Bearer token for authentication.
Successfully retrieved chat history
Invalid request
Unauthorized
Chat history not found
GET /backend/api/chat-admin/chat-history HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully Got Chat History..!</message>
</object>
Fetches the count of products listed by a given vendor.
ID of the vendor to fetch the product count for
Bearer token for authentication.
Successfully retrieved seller product count
Invalid request
Unauthorized
Vendor not found
GET /backend/api/admin-vendor-product/vendor-product-count HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got the seller product count</message>
</object>
Updates the status of the chat to 'seen' for a given vendor.
ID of the vendor to update the chat seen status for
Bearer token for authentication.
Chat seen status updated successfully
Invalid request
Unauthorized
Vendor not found
PUT /backend/api/chat-admin/chat-seen HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Chat seen Status Updated..!</message>
</object>
Upload a file (image) to the server.
Bearer token for authentication.
The image file to upload
The folder path where the image will be saved
The name to assign to the uploaded file
The type of the file (e.g., image, document)
Image uploaded successfully
Bad request, invalid file data
Server error, unable to process the file
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: 63
"image='binary'&path='text'&fileName='text'&fileType=1"
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Image Uploaded Successfully</message>
</object>
Bearer token for authentication.
Unique identifier for the message to delete
ID of the sender
ID of the recipient
Message Deleted Successfully
Invalid input or message not found
PUT /backend/api/chat-admin/delete HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 40
"messageId='text'&fromId=1&toId=1"
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Message Deleted Successfully..!</message>
</object>
Last updated