Get orders with filters for admin
Changed onRetrieve orders with optional search by order ID, title number, customer email, application number, instrument copy number, billing email, post code, address, city, or manually added order notes. Filter by status, customer ID, UTM source, payment method, date range. Latest orders appear first.
Request
- Base URLhttps://api.findmydocument.net
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Search by order ID, title number, customer email, application number, instrument copy number, billing email, post code, address, city, or manually added order notes
Filter by one or more order status IDs (supports comma-separated or repeated query params)
[ 1, 2 ]
Filter by customer ID
Filter by customer email
Filter by post code
Filter by country ID
Filter by state ID
Filter by express delivery status
Filter by paper copy requested
Filter by payment method
Filter by UTM source (exact match). Use "notSet" for orders with no UTM source.
Filter by order status (can be comma-separated)
Filter by certified orders (only orders with physical products)
Filter orders containing Instrument Copy product
Filter orders containing LIM Report product
Filter orders recovered after an abandonment email was sent.
Filter orders whose customer was sent more documents than the order has document products.
Filter by upsell source. ALL = any order with an upsell source set.
Filter by tracking-entry channel for Document Link upsells (e.g. DOCUMENT_REMINDER_EMAIL)
Filter orders created from this date (ISO 8601 format)
Filter orders created until this date (ISO 8601 format)
Field to sort by
Sort direction
Page number for pagination
Number of items per page
Response
Orders retrieved successfully
Example response
{
"items": [
{
"id": 1,
"titleNumber": "TN123456",
"instrumentCopyNumber": "IC123456",
"customerEmail": "customer@example.com",
"customerId": 1,
"tenure": "Freehold",
"address1": "123 Main Street",
"flatUnit": "Flat 5B",
"municipality": "Madrid",
"registry": "Registro de la Propiedad",
"cruIdufir": "1234567890",
"cadastralRef": "1234567VK4700N0001AA",
"propertyType": "house",
"ownerName": "Juan García",
"floor": "3",
"door": "B",
"requestReason": "Purchase due diligence",
"identificationType": "NIE",
"identificationNumber": "X1234567L",
"nameAsPerIdentification": "John Doe",
"city": "London",
"suburb": "Ponsonby",
"county": "Greater London",
"country": "United Kingdom",
"countryId": 1,
"stateId": 1,
"currency": "GBP",
"currencySymbol": "£",
"totalAmount": 199.99,
"orderStatus": {
"id": 1,
"status": "Processing",
"backgroundColor": "#FF5733",
"textColor": "#FFFFFF",
"borderColor": "#000000"
},
"customerOrderCount": 5,
"postCode": "SW1A 1AA",
"shippingAddress1": "456 Delivery Street",
"shippingAddress2": "Apartment 5B",
"shippingCity": "Manchester",
"shippingPostcode": "M1 1AA",
"shippingCounty": "Greater Manchester",
"shippingPhone": "+44 123 456 7890",
"shippingFirstName": "John",
"shippingLastName": "Doe",
"postCodeOrderCount": 3,
"paymentMethod": "card",
"latestEmailStatus": "delivered",
"customerIsVerified": true,
"customerEmailValidationStatus": "UNKNOWN",
"orderLng": "en",
"productType": "pf",
"ghostOrderId": 2,
"isCertified": true,
"applicationNumber": "APP-12345",
"upSellSource": "EMAIL",
"upSellEntryChannel": "DOCUMENT_REMINDER_EMAIL",
"utmSource": "google",
"refundedAmount": 50,
"applicantFirstName": "John",
"applicantLastName": "Smith"
}
]
}Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
added the new optional
queryrequest parameterhasExtraDocuments - info
added the required property
//to the response with the status
- info