Reports

Get seller sales report

get

This endpoint retrieves the sales report for a specific seller based on the given product IDs and date range.

Query parameters
productIdinteger[]Required

A comma-separated list of product IDs to filter the sales report.

startDatestring · dateRequired

The start date of the sales report in 'YYYY-MM-DD' format.

endDatestring · dateRequired

The end date of the sales report in 'YYYY-MM-DD' format.

Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Responses
200

Successfully retrieved the seller sales report.

get
GET /backend/api/vendor-order/sales-report-list HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Successfully got seller sales list</message>
	<data>
		<productId>2015</productId>
		<productName>Product Name</productName>
		<salesQuantity>100</salesQuantity>
		<totalRevenue>1500.5</totalRevenue>
		<date>2025-01-01</date>
	</data>
</object>

Get vendor product list

get

This endpoint fetches the product list for a vendor, with optional filters like SKU, status, and price range.

Query parameters
offsetintegerOptional

The offset for pagination (starting from 0).

Default: 0
limitintegerOptional

The number of results per page.

Default: 0
skustringOptional

An optional SKU to filter the product list.

statusstringOptional

An optional status to filter the product list (e.g., active, inactive).

pricestringOptional

An optional price filter for the product list (e.g., price range).

Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Responses
200

Successfully retrieved the vendor product list.

get
GET /backend/api/vendor-product HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Successfully got your product list.</message>
</object>

Get vendor category list

get

This endpoint retrieves the list of vendor categories with optional filters like keyword and status.

Query parameters
offsetintegerOptional

The offset for pagination (starting from 0).

Default: 0
limitintegerOptional

The number of results per page.

Default: 0
keywordstringOptional

An optional keyword to filter the vendor categories.

statusstringOptional

An optional status to filter the categories (active, inactive).

Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Responses
200

Successfully retrieved the vendor category list.

get
GET /backend/api/vendor-product/vendor-category-list HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Successfully got the vendor category list</message>
</object>

Last updated