Chat
Last updated
Last updated
Retrieves a list of vendors for chat administration.
/chat-admin/vendor-list
A search keyword to filter vendor details.
Bearer token for authentication.
Fetches user details for chat administration.
/chat-admin
Bearer token for authentication.
Fetches vendor details by vendor ID.
/chat-admin/vendor/{vendorId}
ID of the vendor to fetch details for
Bearer token for authentication.
Fetches the chat history for a given vendor.
/chat-admin/chat-history
ID of the vendor to fetch chat history for
Bearer token for authentication.
Fetches the count of products listed by a given vendor.
/admin-vendor-product/vendor-product-count
ID of the vendor to fetch the product count for
Bearer token for authentication.
Updates the status of the chat to 'seen' for a given vendor.
/chat-admin/chat-seen
ID of the vendor to update the chat seen status for
Bearer token for authentication.
Upload a file (image) to the server.
/media/upload-file
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)
/chat-admin/delete
Bearer token for authentication.
Unique identifier for the message to delete
ID of the sender
ID of the recipient