Earnings

Get vendor earnings list

get

This endpoint returns a list of earnings for a vendor based on the given pagination parameters.

Query parameters
limitintegerOptional

The number of results to return per page.

offsetintegerOptional

The number of items to skip for pagination.

currentPageintegerOptional

The current page number for pagination.

countintegerOptional

Indicates whether to include the total count of items.

Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Responses
200

Successfully retrieved vendor earnings list

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

Export product earning data

get

This endpoint exports the earnings data of a specific product.

Query parameters
productIdintegerRequired

The ID of the product whose earning details need to be exported.

Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Responses
200

Successfully exported product earning data

get
GET /backend/api/vendor-sales/product-earning-export HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Product earnings exported successfully</message>
</object>

Last updated