For the complete documentation index, see llms.txt. This page is also available as Markdown.

Chat

Get Vendor List

get
/chat-admin/vendor-list

Retrieves a list of vendors for chat administration.

Query parameters
keywordstringOptional

A search keyword to filter vendor details.

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Responses
200

Successfully got vendor details

statusintegerOptionalExample: 1
messagestringOptionalExample: Successfully Got Vendor Details
get/chat-admin/vendor-list
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>

Get User Details

get
/chat-admin

Fetches user details for chat administration.

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Responses
200

Successfully retrieved user details

statusintegerOptionalExample: 1
messagestringOptionalExample: Successfully Got User Details
get/chat-admin
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>

Get Vendor Details

get
/chat-admin/vendor/{vendorId}

Fetches vendor details by vendor ID.

Path parameters
vendorIdintegerRequired

ID of the vendor to fetch details for

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Responses
200

Successfully retrieved vendor details

statusintegerOptionalExample: 1
messagestringOptionalExample: Successfully Got Vendor Details
get/chat-admin/vendor/{vendorId}
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>

Get Chat History

get
/chat-admin/chat-history

Fetches the chat history for a given vendor.

Query parameters
vendorIdintegerRequired

ID of the vendor to fetch chat history for

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Responses
200

Successfully retrieved chat history

statusintegerOptionalExample: 1
messagestringOptionalExample: Successfully Got Chat History..!
get/chat-admin/chat-history
GET /backend/api/chat-admin/chat-history?vendorId=1 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>

Get Seller Product Count

get
/admin-vendor-product/vendor-product-count

Fetches the count of products listed by a given vendor.

Query parameters
vendorIdintegerRequired

ID of the vendor to fetch the product count for

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Responses
200

Successfully retrieved seller product count

statusintegerOptionalExample: 1
messagestringOptionalExample: Successfully got the seller product count
get/admin-vendor-product/vendor-product-count
GET /backend/api/admin-vendor-product/vendor-product-count?vendorId=1 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>

Update Chat Seen Status

put
/chat-admin/chat-seen

Updates the status of the chat to 'seen' for a given vendor.

Query parameters
vendorIdintegerRequired

ID of the vendor to update the chat seen status for

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Responses
200

Chat seen status updated successfully

statusintegerOptionalExample: 1
messagestringOptionalExample: Chat seen Status Updated..!
put/chat-admin/chat-seen
PUT /backend/api/chat-admin/chat-seen?vendorId=1 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 File

post
/media/upload-file

Upload a file (image) to the server.

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Body
imagestring · binaryRequired

The image file to upload

pathstringRequired

The folder path where the image will be saved

fileNamestringRequired

The name to assign to the uploaded file

fileTypeinteger · int32Required

The type of the file (e.g., image, document)

Responses
200

Image uploaded successfully

statusintegerOptionalExample: 1
messagestringOptionalExample: Image Uploaded Successfully
post/media/upload-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>

Delete a specific message

put
/chat-admin/delete
Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Body
messageIdstringRequired

Unique identifier for the message to delete

fromIdinteger · int32Required

ID of the sender

toIdinteger · int32Required

ID of the recipient

Responses
200

Message Deleted Successfully

statusintegerOptionalExample: 1
messagestringOptionalExample: Message Deleted Successfully..!
put/chat-admin/delete
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