E-State
  1. Sales
E-State
  • Prepare Api
  • E-state
    • Client
      • Attention Requests
        • index
        • store
        • show
      • Auth
        • profile
        • logout
        • register
        • login
      • Units
        • index
        • show
        • units client
      • Sales
        • index
        • show
    • System
      • Projects
        • index
        • show
      • Units
        • index
        • show units by project
        • show
      • Sales
        • SaleRefund
          • index
          • show
        • index
          GET
        • show
          GET
      • Attention Requests
        • index
        • show
      • Clients
        • index
        • show
      • Discounts
        • index
        • show
      • Lands
        • owners
        • index
        • show
        • show land owner
      • marketings
        • campaign-types
        • show campaign type
        • campaign-goals
        • show campaign goals
        • index
        • show
      • Purchase Orders
        • index
        • show
        • raise-budgets
        • show raise-budgets
      • Purchase Requests
        • index
        • show
      • Rental Requests
        • rental-requests
        • show rental-requests
  1. Sales

show

Developing
GET
http://estate.test/api/v1{{url}}/system/sales/1
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'http://estate.test/api/v1/system/sales/1' \
--header 'x-api-key: f482480c-11fe-4426-9f6e-e7d26c8c3eed' \
--header 'x-secret-key: FkSF0PDbMOgLmLlJeMDSDzBFIl5dloAC'
Response Response Example
{
    "status": "success",
    "message": "Operation completed successfully",
    "data": {
        "id": 4,
        "project_id": 3,
        "building_id": 1,
        "unit_id": 6,
        "booking_id": 5,
        "reason_for_pay_id": 7,
        "unit_specification_form_archive_id": 7,
        "finance_preview_file_user_id": 6,
        "finance_preview_file_at": "2024-09-02T03:12:58.516Z",
        "tax_reference_number": 3,
        "sale_type": "sit",
        "target_type": "commodo in",
        "status": "et dolor sit",
        "orbon_status": "ad",
        "orbon_amount": 289.59,
        "orbon_value": "nulla minim et",
        "orbon_value_type": "sit magna",
        "orbon_expire_in": "2025-07-26T09:39:19.396Z",
        "orbon_paid_at": "2024-12-25T16:14:25.139Z",
        "receipt_pay_percent": 7,
        "tax_free_status": "minim id ipsum",
        "collect_tax_status": "et nostrud ut",
        "tax_amount": "151.45",
        "delegate_id": "non dolore Excepteur",
        "contract_file_upload_date": "2024-12-31T16:06:14.177Z",
        "purchase_method": "commodo",
        "last_operation_paid_at": "2025-09-25T07:24:43.641Z",
        "discount_amount": 1,
        "client_final_price": 23.09,
        "completed_at": "2026-04-05T17:47:58.204Z",
        "project": {
            "id": 3,
            "name": "Refined Bronze Mouse",
            "code": "U",
            "status": "volubilis",
            "type": "tertius",
            "image": "https://impartial-release.net",
            "start_work_date": "2025-12-29T08:53:35.819Z",
            "end_work_date": "2026-04-16T17:20:16.793Z"
        },
        "reasonForPay": {
            "id": 1,
            "type": "esse nulla aliquip minim Duis",
            "name": "Mrs. Brandy Kutch",
            "is_active": false
        },
        "building": {
            "id": 1,
            "name": "Johnnie Cormier",
            "project_id": 2,
            "type": "T",
            "land_area": "alias",
            "tax_value": 3,
            "price_after_tax": 32
        },
        "unit": {
            "id": 3,
            "building_id": 4,
            "project_id": 0,
            "is_for_rent": false,
            "name": "Janis Ruecker",
            "status": "ullamco nisi fugiat",
            "floor": "aute",
            "room_count": 0,
            "bathroom_count": 6
        },
        "lastSaleRefund": {
            "id": 7,
            "sale_id": 6,
            "sale_operation_id": 5,
            "project_id": 6,
            "unit_id": 3,
            "status": "in officia nulla enim",
            "type": "reprehenderit ullamco",
            "request_reason": "Caterva ante crastinus cogito eligendi recusandae totus corrupti.",
            "refuse_reason": "Ulciscor curatio commodi vel suadeo.",
            "amount": 7
        },
        "booking": {
            "id": 6,
            "unit_id": 1,
            "building_id": 1,
            "client_id": 1,
            "booking_open_at": "2024-08-03T08:49:58.026Z",
            "booking_expired_at": "2024-06-25T09:09:43.894Z",
            "booking_open_at_text": "dolore nostrud",
            "booking_expired_at_text": "2025-04-18T09:27:32.690Z"
        },
        "firstPaidOperation": {
            "id": 9,
            "type": "et non cillum sunt",
            "payment_method": "sed dolor nisi in enim",
            "amount": 7,
            "check_number": 1,
            "receipt_date": "2024-07-21T12:54:24.136Z",
            "is_paid": false,
            "paid_at": "2026-01-19T02:24:55.829Z",
            "from_account_name": "Home Loan Account",
            "paid_at_text": "sint"
        },
        "latestPaidOperation": {
            "id": 4,
            "type": "tempor mollit enim cupidatat",
            "payment_method": "aliquip",
            "amount": 4,
            "check_number": 2,
            "receipt_date": "2024-09-29T17:56:45.520Z",
            "is_paid": true,
            "paid_at": "2025-10-13T09:28:34.655Z",
            "from_account_name": "Auto Loan Account",
            "paid_at_text": "elit minim"
        },
        "saleOperation": {
            "id": 5,
            "type": "ex eiusmod ad",
            "payment_method": "dolor",
            "amount": 1,
            "check_number": 6,
            "receipt_date": "2024-11-26T21:55:20.848Z",
            "is_paid": false,
            "paid_at": "2026-01-07T03:05:47.821Z",
            "from_account_name": "Savings Account",
            "paid_at_text": "dolore incididunt magna in sint"
        },
        "saleRefunds": [
            {
                "id": 2,
                "sale_id": 6,
                "sale_operation_id": 7,
                "project_id": 5,
                "unit_id": 8,
                "status": "amet aliquip incididunt elit",
                "type": "pariatur",
                "request_reason": "Comburo quam demonstro coniecto nostrum comes depraedor velociter.",
                "refuse_reason": "Conduco spes verecundia subvenio.",
                "amount": 5
            },
            {
                "id": 7,
                "sale_id": 3,
                "sale_operation_id": 6,
                "project_id": 2,
                "unit_id": 7,
                "status": "id ex",
                "type": "tempor eiusmod voluptate Ut",
                "request_reason": "Stipes civis harum averto.",
                "refuse_reason": "Eligendi quam vita ulterius.",
                "amount": 3
            }
        ],
        "paidSaleOperations": [
            {
                "id": 3,
                "type": "proident aliqua sit dolore voluptate",
                "payment_method": "Excepteur sed ut est",
                "amount": 8,
                "check_number": 4,
                "receipt_date": "2025-10-01T23:15:40.662Z",
                "is_paid": false,
                "paid_at": "2024-05-06T15:39:15.745Z",
                "from_account_name": "Savings Account",
                "paid_at_text": "qui anim mollit"
            },
            {
                "id": 0,
                "type": "sed sint",
                "payment_method": "nulla voluptate",
                "amount": 7,
                "check_number": 4,
                "receipt_date": "2024-07-29T15:40:14.496Z",
                "is_paid": false,
                "paid_at": "2024-10-21T21:08:11.841Z",
                "from_account_name": "Money Market Account",
                "paid_at_text": "ex nulla"
            }
        ],
        "saleOptionsHowHereAboutUs": [
            {
                "id": 4,
                "sale_id": 4,
                "option_id": 5,
                "type": "et"
            },
            {
                "id": 0,
                "sale_id": 8,
                "option_id": 5,
                "type": "ullamco sunt"
            },
            {
                "id": 3,
                "sale_id": 5,
                "option_id": 1,
                "type": "sit nulla dolore esse proident"
            }
        ],
        "howHereAboutUs": [
            {
                "id": 9,
                "type": "Excepteur consequat Lorem ullamco",
                "name": "Randy Zemlak",
                "is_active": false
            },
            {
                "id": 9,
                "type": "non",
                "name": "Abraham Keeling",
                "is_active": false
            }
        ],
        "clients": [
            {
                "id": 8,
                "name": "Vivian Zemlak",
                "phone": "(608) 391-0256 x608",
                "email": "Mason_Fritsch-Swift84@yahoo.com"
            },
            {
                "id": 3,
                "name": "Gerardo Abshire",
                "phone": "589-294-0240 x09855",
                "email": "Carlos.Rosenbaum43@yahoo.com"
            }
        ],
        "saleClients": [
            {
                "id": 6,
                "sale_id": 1,
                "client_id": 0,
                "unit_id": 5
            }
        ],
        "saleDiscounts": [
            {
                "id": 9,
                "sale_id": 7,
                "discount_id": 3,
                "value_type": "exercitation do",
                "value": "occaecat tempor",
                "amount": 8
            }
        ]
    }
}

Request

Header Params
x-api-key
string 
optional
Example:
{{x-api-key}}
x-secret-key
string 
optional
Example:
{{x-secret-key}}

Responses

🟢200Success
application/json
Body
status
string 
required
message
string 
required
data
object (Sale ) 
required
id
number 
required
ID
project_id
number 
required
building_id
number 
required
unit_id
number 
required
booking_id
number 
optional
reason_for_pay_id
number 
required
unit_specification_form_archive_id
number 
optional
finance_preview_file_user_id
number 
optional
finance_preview_file_at
string 
optional
tax_reference_number
number 
optional
sale_type
string 
required
target_type
string 
optional
status
string 
optional
orbon_status
string 
optional
orbon_amount
number 
optional
orbon_value
string 
optional
orbon_value_type
string 
optional
orbon_expire_in
string 
optional
orbon_paid_at
string 
optional
receipt_pay_percent
number 
optional
tax_free_status
string 
optional
collect_tax_status
string 
optional
tax_amount
string 
optional
delegate_id
number 
optional
contract_file_upload_date
string 
optional
purchase_method
string 
optional
last_operation_paid_at
string 
optional
discount_amount
number 
optional
client_final_price
number 
optional
completed_at
string 
optional
project
object (Project Simple) 
required
reasonForPay
object (Option) 
required
building
object (Building Simple) 
required
unit
object (Unit Simple) 
required
lastSaleRefund
object (SaleRefund) 
optional
booking
object (Booking Simple) 
optional
firstPaidOperation
object (SaleOperation Simple) 
optional
latestPaidOperation
object (SaleOperation Simple) 
optional
saleOperation
object (SaleOperation Simple) 
optional
saleRefunds
array[object (SaleRefund) {14}] 
optional
paidSaleOperations
array[object (SaleOperation Simple) {10}] 
required
saleOptionsHowHereAboutUs
array[object (SaleOption) {4}] 
optional
howHereAboutUs
array[object (Option) {4}] 
optional
clients
array[object (Client Simple) {4}] 
optional
saleClients
array[object (SaleClient) {4}] 
optional
saleDiscounts
array[object (SaleDiscount) {6}] 
optional
Modified at 2025-04-22 07:45:10
Previous
index
Next
index
Built with