Settlements
Retrieves the list of vendor sales payments with pagination support.
The number of records per page.
10The starting point from where to fetch the data.
0The current page number.
1Flag to determine if the total count is needed.
0Bearer token for vendor authentication
Successfully retrieved the complete payment list.
Bad Request
Internal Server Error
GET /backend/api/vendor-sales/payment HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got the complete payment list</message>
<data>
<paymentId>1</paymentId>
<vendorId>1</vendorId>
<amount>1</amount>
<paymentDate>2025-10-24</paymentDate>
<status>1</status>
</data>
</object>
Archives a specific vendor payment based on the provided payment ID.
Bearer token for vendor authentication
197Successfully archived the vendor payment.
Bad Request
Payment not found
Internal Server Error
POST /backend/api/vendor-sales/make-vendor-payment-archive HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 23
"vendorPaymentId=197"<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully archived your payments</message>
</object>
Exports the vendor sales data based on the provided vendor order ID.
The ID of the vendor order for which the sales data is to be exported.
Bearer token for vendor authentication
Successfully exported vendor sales data.
Bad Request
Vendor order not found
Internal Server Error
GET /backend/api/vendor-sales/vendor-sales-export?vendorOrderId=1 HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Vendor sales data exported successfully.</message>
<data>data.csv</data>
</object>
Last updated