Manage Settlements

Get order status list

get

Retrieve a complete list of order statuses.

Responses
200

Successfully retrieved the order status list

get
GET /backend/api/order-status/order-status-list HTTP/1.1
Host: 139.59.67.17
Accept: */*
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Successfully got the complete order status list</message>
	<orderStatusList>
		<statusId>1</statusId>
		<statusName>Pending</statusName>
		<description>The order is pending</description>
	</orderStatusList>
</object>

Retrieve seller list

get

This endpoint retrieves a list of vendors (sellers) based on the specified status.

Query parameters
statusintegerOptional

Filter sellers based on their status

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Responses
200

Successfully got seller list

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

Retrieve a list of vendor orders

get

This endpoint retrieves a list of orders placed by vendors based on the given query parameters.

Query parameters
limitintegerOptional

The number of orders to return

offsetintegerOptional

The offset of orders to retrieve

countintegerOptional

Count of orders (0 or 1)

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Responses
200

Successfully got the complete order list

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

Get settlement list

get

This endpoint retrieves a list of settlements with pagination options.

Query parameters
limitinteger · int32Optional

Limit the number of results returned

offsetinteger · int32Optional

Skip a certain number of records before starting the results

countinteger · int32Optional

Include count in the response to show the total number of settlements

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Responses
200

Successfully retrieved settlement list

get
GET /backend/api/settlement HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>text</message>
</object>

Create a new settlement

post

This endpoint allows you to create a new settlement for a vendor order.

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Body
titlestringRequired

Title of the settlement

vendorOrderIdinteger[]Required

List of vendor order IDs associated with the settlement

Responses
200

Successfully created new settlement

post
POST /backend/api/settlement HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 36

"title='text'&vendorOrderId=[1]"
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>text</message>
</object>

Get settlement details by ID

get

This endpoint retrieves the details of a specific settlement by its unique identifier.

Path parameters
settlementIdinteger · int32Required

ID of the settlement to retrieve details for

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Responses
200

Successfully retrieved settlement details

get
GET /backend/api/settlement/settlement/{settlementId} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>text</message>
</object>

Download settlement export in Excel format

get

This endpoint allows downloading the settlement data in Excel format based on the provided settlement ID.

Query parameters
settlementIdinteger · int32Required

ID of the settlement to export in Excel format

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Responses
200

Excel file generated successfully

Responsestring · binary
get
GET /backend/api/settlement/settlement-export-excel-download HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>binary</object>

Last updated