Skip to content

Listing Orders

Listing Order

GET Endpoint:

https://strapi-3apoh.ondigitalocean.app/api/live-orders

Query Params

page: number # greater than or equal to 1
pageSize: number # default:25, max:100

Example Response:

{
"data": [
{
"id": <unique-numeric-id>,
"documentId": <your-order-id>,
"createdAt": "2025-08-12T07:30:55.101Z",
"live_order_fulfillments": [
{
"id": <unique-numeric-fulfillment-id>,
"documentId": <fulfillment-id>,
"order_status": "Pending", // Pending | Created | Procured | Printed
"unique_doc_ref": "",
"certificate_number": "",
"certificate_file": {
"id": <unique-numeric-certificate-id>,
"documentId": <certificate-id>,
"url": "https://example.com/CERTIFICATE.pdf",
"name": "CERTIFICATE.pdf"
}
}
],
"stamp_duty": {
"id": <unique-numeric-stamp-duty-id>,
"amount": 100,
"description": "N/A",
"first_party_address": "Street XYZ",
"first_party_name": "ABC",
"first_party_PAN": "",
"paid_by": "First Party",
"quantity": 1,
"second_party_address": "Street MNO",
"second_party_name": "HEL",
"second_party_PAN": "",
"state": "Rajasthan",
"consideration_price": 10,
"mobile_number": "1234567890",
"uploaded_document": null,
"purchased_by": "",
"state_purpose": {
"id": <unique-purpose-numeric-id>,
"documentId": <purpose-id>,
"purpose_name": "Simple Agreement [5(g)]"
}
}
}
],
"pagination": {
"page": 1,
"pageSize": 25,
"total": <total-orders>,
"pageCount": <total-pages>
}
}

Sample Requests:

Terminal window
curl -X GET "https://strapi-3apoh.ondigitalocean.app/api/live-orders?page=1&pageSize=25" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <your-token>"