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
          GET
        • show
          GET
    • System
      • Projects
        • index
        • show
      • Units
        • index
        • show units by project
        • show
      • Sales
        • SaleRefund
          • index
          • show
        • index
        • show
      • 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

index

Developing
GET
http://estate.test/api/v1{{url}}/api/client/sales
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'http://estate.test/api/v1/api/client/sales?search=uni&created_at=2025-04-06' \
--header 'x-api-key: f482480c-11fe-4426-9f6e-e7d26c8c3eed' \
--header 'x-secret-key: FkSF0PDbMOgLmLlJeMDSDzBFIl5dloAC'
Response Response Example
{
    "status": "true",
    "message": "Operation completed successfully",
    "response": {
        "data": [
            {
                "id": 6,
                "project_id": 8,
                "building_id": 3,
                "unit_id": 2,
                "booking_id": 5,
                "reason_for_pay_id": 7,
                "unit_specification_form_archive_id": 5,
                "finance_preview_file_user_id": 7,
                "finance_preview_file_at": "2024-06-07T04:31:03.948Z",
                "tax_reference_number": 9,
                "sale_type": "aute reprehenderit dolor proident",
                "target_type": "id dolore culpa Excepteur",
                "status": "in aliquip ea",
                "orbon_status": "velit commodo exercitation",
                "orbon_amount": 963.89,
                "orbon_value": "quis dolore qui aliqua ullamco",
                "orbon_value_type": "tempor enim velit nostrud",
                "orbon_expire_in": "2025-02-09T03:13:41.655Z",
                "orbon_paid_at": "2024-12-19T09:49:52.873Z",
                "receipt_pay_percent": 0,
                "tax_free_status": "ad quis minim",
                "collect_tax_status": "irure",
                "tax_amount": "217.89",
                "delegate_id": 9,
                "contract_file_upload_date": "2025-01-21T14:41:43.926Z",
                "purchase_method": "mollit ullamco voluptate dolore consectetur",
                "last_operation_paid_at": "2024-11-28T09:53:48.416Z",
                "discount_amount": 4,
                "client_final_price": 71.09,
                "completed_at": "2025-08-19T05:02:02.877Z",
                "project": {
                    "id": 0,
                    "name": "Practical Cotton Gloves",
                    "code": "a",
                    "status": "atrox",
                    "type": "carus",
                    "image": "https://pale-fishery.info",
                    "start_work_date": "2024-11-02T17:17:24.727Z",
                    "end_work_date": "2025-11-04T23:36:35.641Z"
                },
                "reasonForPay": {
                    "id": 5,
                    "type": "ut",
                    "name": "Wilfred Emard",
                    "is_active": true
                },
                "building": {
                    "id": 6,
                    "name": "Kelli Vandervort",
                    "project_id": 9,
                    "type": "h",
                    "land_area": "coaegresco",
                    "tax_value": 6,
                    "price_after_tax": 460
                },
                "unit": {
                    "id": 3,
                    "building_id": 9,
                    "project_id": 9,
                    "is_for_rent": true,
                    "name": "Lucy Reichert",
                    "status": "eu in",
                    "floor": "esse anim",
                    "room_count": 7,
                    "bathroom_count": 4
                },
                "lastSaleRefund": {
                    "id": 0,
                    "sale_id": 1,
                    "sale_operation_id": 7,
                    "project_id": 6,
                    "unit_id": 8,
                    "status": "sed sint dolor velit elit",
                    "type": "ut sit occaecat culpa",
                    "request_reason": "Vigilo virga cultellus theologus crepusculum desipio tametsi aperio laboriosam defetiscor.",
                    "refuse_reason": "Cito cupio deputo teneo magnam.",
                    "amount": 3,
                    "project": {
                        "id": 5,
                        "name": "Generic Concrete Cheese",
                        "code": "x",
                        "status": "cometes",
                        "type": "suffoco",
                        "image": "https://obvious-piglet.name/",
                        "start_work_date": "2025-02-21T05:54:25.236Z",
                        "end_work_date": "2024-08-20T21:56:47.389Z"
                    },
                    "sale": {
                        "id": 8,
                        "reason_for_pay_id": 3,
                        "project_id": 1,
                        "building_id": 1,
                        "unit_id": 9,
                        "tax_reference_number": 3,
                        "sale_type": "consequat dolore aliquip nulla",
                        "target_type": "et ullamco",
                        "status": "qui eiusmod ea est"
                    },
                    "saleOperation": {
                        "id": 3,
                        "type": "Ut in id culpa",
                        "payment_method": "minim",
                        "amount": 7,
                        "check_number": 3,
                        "receipt_date": "2026-04-07T14:14:54.429Z",
                        "is_paid": false,
                        "paid_at": "2026-04-19T01:09:08.054Z",
                        "from_account_name": "Investment Account",
                        "paid_at_text": "veniam adipisicing in aliquip ullamco"
                    },
                    "unit": {
                        "id": 4,
                        "building_id": 8,
                        "project_id": 9,
                        "is_for_rent": true,
                        "name": "Jon Mayer",
                        "status": "qui",
                        "floor": "est qui Lorem dolor nostrud",
                        "room_count": 3,
                        "bathroom_count": 1
                    }
                },
                "booking": {
                    "id": 4,
                    "unit_id": 6,
                    "building_id": 6,
                    "client_id": 2,
                    "booking_open_at": "2025-01-24T13:48:32.520Z",
                    "booking_expired_at": "2025-11-15T10:57:30.399Z",
                    "booking_open_at_text": "sunt",
                    "booking_expired_at_text": "2025-04-23T05:01:54.562Z"
                },
                "firstPaidOperation": {
                    "id": 2,
                    "type": "incididunt dolor nulla",
                    "payment_method": "ad nulla deserunt magna id",
                    "amount": 3,
                    "check_number": 3,
                    "receipt_date": "2026-04-21T02:50:05.687Z",
                    "is_paid": true,
                    "paid_at": "2025-08-27T20:58:11.022Z",
                    "from_account_name": "Credit Card Account",
                    "paid_at_text": "sed in labore Excepteur ad"
                },
                "latestPaidOperation": {
                    "id": 1,
                    "type": "elit",
                    "payment_method": "Ut enim et",
                    "amount": 4,
                    "check_number": 0,
                    "receipt_date": "2024-08-21T21:19:35.877Z",
                    "is_paid": true,
                    "paid_at": "2025-06-07T06:02:51.554Z",
                    "from_account_name": "Home Loan Account",
                    "paid_at_text": "irure"
                },
                "saleOperation": {
                    "id": 0,
                    "type": "exercitation incididunt officia culpa",
                    "payment_method": "commodo voluptate Ut eu",
                    "amount": 3,
                    "check_number": 6,
                    "receipt_date": "2025-04-07T09:13:04.360Z",
                    "is_paid": true,
                    "paid_at": "2024-08-02T08:54:21.397Z",
                    "from_account_name": "Investment Account",
                    "paid_at_text": "fugiat adipisicing proident in"
                }
            },
            {
                "id": 7,
                "project_id": 0,
                "building_id": 7,
                "unit_id": 3,
                "booking_id": 3,
                "reason_for_pay_id": 1,
                "unit_specification_form_archive_id": 2,
                "finance_preview_file_user_id": 6,
                "finance_preview_file_at": "2024-10-15T07:43:15.431Z",
                "tax_reference_number": 8,
                "sale_type": "incididunt",
                "target_type": "deserunt",
                "status": "laboris",
                "orbon_status": "in enim",
                "orbon_amount": 431.39,
                "orbon_value": "ullamco labore dolore nisi id",
                "orbon_value_type": "deserunt",
                "orbon_expire_in": "2026-02-19T06:38:22.760Z",
                "orbon_paid_at": "2025-06-10T01:00:07.040Z",
                "receipt_pay_percent": 7,
                "tax_free_status": "magna laboris mollit",
                "collect_tax_status": "qui",
                "tax_amount": "234.75",
                "delegate_id": 5,
                "contract_file_upload_date": "2025-07-08T13:57:49.505Z",
                "purchase_method": "laboris nulla cillum",
                "last_operation_paid_at": "2024-10-08T05:19:00.533Z",
                "discount_amount": 5,
                "client_final_price": 469.15,
                "completed_at": "2024-10-21T22:06:59.850Z",
                "project": {
                    "id": 3,
                    "name": "Refined Frozen Sausages",
                    "code": "8",
                    "status": "desparatus",
                    "type": "impedit",
                    "image": "https://lavish-step.com/",
                    "start_work_date": "2024-08-20T23:09:51.738Z",
                    "end_work_date": "2025-06-17T09:20:48.155Z"
                },
                "reasonForPay": {
                    "id": 8,
                    "type": "ut eu",
                    "name": "Gertrude Stehr",
                    "is_active": false
                },
                "building": {
                    "id": 1,
                    "name": "Dr. Emma Wolf DDS",
                    "project_id": 9,
                    "type": "o",
                    "land_area": "varietas",
                    "tax_value": 2,
                    "price_after_tax": 417
                },
                "unit": {
                    "id": 1,
                    "building_id": 6,
                    "project_id": 3,
                    "is_for_rent": false,
                    "name": "Mr. Joel Balistreri",
                    "status": "sed velit ut pariatur consequat",
                    "floor": "id",
                    "room_count": 7,
                    "bathroom_count": 2
                },
                "lastSaleRefund": {
                    "id": 3,
                    "sale_id": 8,
                    "sale_operation_id": 8,
                    "project_id": 6,
                    "unit_id": 9,
                    "status": "ut fugiat Lorem",
                    "type": "dolor in consectetur Lorem eu",
                    "request_reason": "Caterva curiositas demulceo.",
                    "refuse_reason": "Architecto succedo sophismata canonicus at voco vulnero versus denique.",
                    "amount": 3,
                    "project": {
                        "id": 0,
                        "name": "Elegant Metal Hat",
                        "code": "L",
                        "status": "debitis",
                        "type": "vester",
                        "image": "https://ironclad-humidity.com",
                        "start_work_date": "2025-11-22T14:27:35.224Z",
                        "end_work_date": "2025-03-20T20:20:29.059Z"
                    },
                    "sale": {
                        "id": 8,
                        "reason_for_pay_id": 6,
                        "project_id": 0,
                        "building_id": 2,
                        "unit_id": 9,
                        "tax_reference_number": 9,
                        "sale_type": "labore",
                        "target_type": "dolore esse ad Duis ut",
                        "status": "laboris ullamco"
                    },
                    "saleOperation": {
                        "id": 8,
                        "type": "consectetur proident aliqua",
                        "payment_method": "dolore aliquip velit",
                        "amount": 1,
                        "check_number": 5,
                        "receipt_date": "2024-04-27T15:40:52.379Z",
                        "is_paid": false,
                        "paid_at": "2025-04-16T08:14:22.819Z",
                        "from_account_name": "Savings Account",
                        "paid_at_text": "id officia"
                    },
                    "unit": {
                        "id": 7,
                        "building_id": 2,
                        "project_id": 2,
                        "is_for_rent": true,
                        "name": "Claire Lind",
                        "status": "eiusmod exercitation consequat occaecat",
                        "floor": "cupidatat",
                        "room_count": 0,
                        "bathroom_count": 7
                    }
                },
                "booking": {
                    "id": 0,
                    "unit_id": 0,
                    "building_id": 3,
                    "client_id": 0,
                    "booking_open_at": "2025-03-15T22:48:00.105Z",
                    "booking_expired_at": "2025-07-20T23:43:07.810Z",
                    "booking_open_at_text": "quis nulla exercitation",
                    "booking_expired_at_text": "2025-04-23T10:46:31.458Z"
                },
                "firstPaidOperation": {
                    "id": 4,
                    "type": "mollit pariatur",
                    "payment_method": "occaecat consequat in",
                    "amount": 1,
                    "check_number": 4,
                    "receipt_date": "2025-08-19T09:11:09.701Z",
                    "is_paid": false,
                    "paid_at": "2025-08-20T19:13:50.030Z",
                    "from_account_name": "Credit Card Account",
                    "paid_at_text": "veniam commodo amet elit"
                },
                "latestPaidOperation": {
                    "id": 0,
                    "type": "dolor incididunt nostrud amet",
                    "payment_method": "nisi dolor occaecat",
                    "amount": 9,
                    "check_number": 3,
                    "receipt_date": "2024-08-05T23:27:46.008Z",
                    "is_paid": false,
                    "paid_at": "2025-11-20T01:15:15.882Z",
                    "from_account_name": "Savings Account",
                    "paid_at_text": "cupidatat Duis"
                },
                "saleOperation": {
                    "id": 5,
                    "type": "mollit",
                    "payment_method": "ea amet dolore",
                    "amount": 5,
                    "check_number": 3,
                    "receipt_date": "2025-03-07T11:37:24.419Z",
                    "is_paid": true,
                    "paid_at": "2025-05-15T02:28:20.959Z",
                    "from_account_name": "Investment Account",
                    "paid_at_text": "adipisicing nulla"
                }
            }
        ],
        "links": {
            "first": "http://estate.test/api/v1/client/sales?page=1",
            "last": "http://estate.test/api/v1/client/sales?page=1",
            "prev": null,
            "next": null
        },
        "meta": {
            "current_page": 1,
            "from": null,
            "last_page": 1,
            "links": [
                {
                    "url": null,
                    "label": "pagination.previous",
                    "active": false
                },
                {
                    "url": "http://estate.test/api/v1/client/sales?page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": null,
                    "label": "pagination.next",
                    "active": false
                }
            ],
            "path": "http://estate.test/api/v1/client/sales",
            "per_page": 10,
            "to": null,
            "total": 0
        }
    }
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
search
string 
optional
Example:
uni
created_at
string 
optional
Example:
2025-04-06
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
status
message
string 
required
response
object 
required
data
array [object {39}] 
required
Modified at 2025-04-16 00:08:21
Previous
units client
Next
show
Built with