Order Controller
Get order by ID
Get complete order details by ID. When called with a valid Bearer token, also returns draftEmailAttachments.
get/orders/{id}
Path parameters
idnumber required
Response
Example response
{
"id": 1,
"titleNumber": "TN123456",
"instrumentCopyNumber": "IC123456",
"customerEmail": "customer@example.com",
"customerId": 1,
"emailValid": true,
"tenure": "Freehold",
"refundReason": "Customer requested refund",
"refundedAmount": 50,
"address1": "123 Main Street",
"flatUnit": "Flat 5B",
"municipality": "Madrid",
"registry": "Registro de la Propiedad",
"cruIdufir": "1234567890",
"identificationType": "NIE",
"identificationNumber": "X1234567L",
"nameAsPerIdentification": "John Doe",
"city": "London",
"suburb": "Ponsonby",
"county": "Greater London",
"postCode": "SW1A 1AA",
"country": "United Kingdom",
"countryId": 1,
"stateId": 1,
"stateName": "England",
"currency": "GBP",
"currencySymbol": "£",
"totalAmount": 199.99,
"orderStatus": {
"id": 1,
"status": "Processing",
"backgroundColor": "#FF5733",
"textColor": "#FFFFFF",
"borderColor": "#000000"
},
"products": [
{
"productId": 1,
"productName": "Land Registry Document",
"price": 99.99
}
],
"shippingAddress1": "456 Delivery Street",
"shippingAddress2": "Apartment 5B",
"shippingCity": "Manchester",
"shippingPostcode": "M1 1AA",
"shippingCounty": "Greater Manchester",
"shippingPhone": "+44 123 456 7890",
"shippingFirstName": "John",
"shippingLastName": "Doe",
"utmCampaign": "summer_sale",
"utmTerm": "land_registry",
"utmContent": "banner_ad",
"utmSource": "google",
"utmMedium": "cpc",
"orderLng": "en",
"paymentMethod": "Credit Card",
"ghostOrderId": 2,
"childOrderIds": [
11,
15
],
"documentAccessLink": "https://api.example.com/orders/track/abc-123-xyz",
"isCertified": true,
"applicationNumber": "APP-12345",
"upSellSource": "EMAIL",
"upSellEntryChannel": "DOCUMENT_REMINDER_EMAIL",
"parentOrderId": 1,
"trackingLink": "https://api.example.com/orders/track/abc-123-xyz",
"documentLinkValidUntil": "2027-07-20T10:00:00.000Z",
"billingEmail": "customer@example.com",
"transactionPaymentId": "pi_1234567890",
"transactionDashboardUrl": "https://dashboard.stripe.com/test/payments/pi_1234567890",
"payments": [
{
"billingEmail": "customer@example.com",
"transactionPaymentId": "pi_1234567890",
"transactionDashboardUrl": "https://dashboard.stripe.com/test/payments/pi_1234567890",
"paymentMethod": "Credit Card"
}
],
"refundHistory": [
{
"amount": 25,
"method": "manual",
"source": "admin_panel",
"totalRefundedAfter": 50,
"remainingAfter": 50,
"currency": "GBP"
}
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.