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

show

Developing
GET
http://estate.test/api/v1{{url}}/client/sales/1
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'http://estate.test/api/v1/client/sales/1' \
--header 'x-api-key: f482480c-11fe-4426-9f6e-e7d26c8c3eed' \
--header 'x-secret-key: FkSF0PDbMOgLmLlJeMDSDzBFIl5dloAC'
Response Response Example
{
    "status": "true",
    "message": "Operation completed successfully",
    "data": {
        "id": 9,
        "project_id": 1,
        "building_id": 5,
        "unit_id": 5,
        "booking_id": 9,
        "reason_for_pay_id": 3,
        "unit_specification_form_archive_id": 8,
        "finance_preview_file_user_id": 8,
        "finance_preview_file_at": "2025-02-09T15:54:41.912Z",
        "tax_reference_number": 6,
        "sale_type": "dolor laboris elit cupidatat ea",
        "target_type": "in cupidatat fugiat dolore aute",
        "status": "fugiat consequat quis eiusmod exercitation",
        "orbon_status": "pariatur et laborum Duis sit",
        "orbon_amount": 158.59,
        "orbon_value": "amet",
        "orbon_value_type": "sit occaecat commodo dolore irure",
        "orbon_expire_in": "2025-09-16T12:06:03.622Z",
        "orbon_paid_at": "2025-10-10T08:17:12.818Z",
        "receipt_pay_percent": 8,
        "tax_free_status": "officia tempor laborum in Lorem",
        "collect_tax_status": "sit",
        "tax_amount": "695.95",
        "delegate_id": "magna nisi esse tempor ea",
        "contract_file_upload_date": "2025-09-06T18:27:39.875Z",
        "purchase_method": "reprehenderit commodo nulla ex voluptate",
        "last_operation_paid_at": "2025-02-14T13:16:51.239Z",
        "discount_amount": 1,
        "client_final_price": 83.09,
        "completed_at": "2025-01-22T01:48:17.144Z",
        "project": {
            "id": 1,
            "name": "Rustic Fresh Keyboard",
            "code": "8",
            "status": "rerum",
            "type": "creator",
            "image": "https://likable-cheetah.biz",
            "start_work_date": "2024-07-31T13:40:06.655Z",
            "end_work_date": "2025-10-09T08:17:23.054Z"
        },
        "reasonForPay": {
            "id": 7,
            "type": "laborum incididunt culpa commodo officia",
            "name": "Austin Stamm",
            "is_active": false
        },
        "building": {
            "id": 6,
            "name": "Molly Wehner",
            "project_id": 2,
            "type": "S",
            "land_area": "abeo",
            "tax_value": 8,
            "price_after_tax": 650
        },
        "unit": {
            "id": 9,
            "building_id": 4,
            "project_id": 3,
            "is_for_rent": true,
            "name": "Ellis Lakin",
            "status": "minim magna",
            "floor": "quis",
            "room_count": 0,
            "bathroom_count": 2
        },
        "lastSaleRefund": {
            "id": 8,
            "sale_id": 1,
            "sale_operation_id": 1,
            "project_id": 8,
            "unit_id": 1,
            "status": "est dolore",
            "type": "ad voluptate",
            "request_reason": "Abutor synagoga cervus cuius.",
            "refuse_reason": "Volutabrum voluptatem coniecto quaerat confero cubicularis tredecim anser conicio.",
            "amount": 1
        },
        "booking": {
            "id": 7,
            "unit_id": 0,
            "building_id": 9,
            "client_id": 6,
            "booking_open_at": "2025-09-15T09:14:35.725Z",
            "booking_expired_at": "2025-08-26T05:32:35.957Z",
            "booking_open_at_text": "qui",
            "booking_expired_at_text": "2025-04-18T18:04:28.755Z"
        },
        "firstPaidOperation": {
            "id": 4,
            "type": "aute ullamco dolore labore",
            "payment_method": "eiusmod culpa incididunt dolor",
            "amount": 8,
            "check_number": 2,
            "receipt_date": "2024-07-02T16:05:51.126Z",
            "is_paid": true,
            "paid_at": "2025-04-20T09:31:12.809Z",
            "from_account_name": "Auto Loan Account",
            "paid_at_text": "occaecat"
        },
        "latestPaidOperation": {
            "id": 2,
            "type": "nisi",
            "payment_method": "ut",
            "amount": 1,
            "check_number": 9,
            "receipt_date": "2025-06-21T07:20:01.337Z",
            "is_paid": false,
            "paid_at": "2024-08-19T11:09:58.427Z",
            "from_account_name": "Money Market Account",
            "paid_at_text": "velit magna laboris"
        },
        "saleOperation": {
            "id": 9,
            "type": "qui cillum Lorem Duis non",
            "payment_method": "Excepteur officia tempor ut",
            "amount": 7,
            "check_number": 4,
            "receipt_date": "2024-10-07T18:47:11.808Z",
            "is_paid": true,
            "paid_at": "2025-09-11T14:39:41.566Z",
            "from_account_name": "Home Loan Account",
            "paid_at_text": "velit Ut nulla incididunt dolore"
        },
        "saleRefunds": [
            {
                "id": 1,
                "sale_id": 8,
                "sale_operation_id": 8,
                "project_id": 7,
                "unit_id": 7,
                "status": "laboris proident esse eu amet",
                "type": "Ut amet Lorem dolore",
                "request_reason": "Dapifer ante ago aegre baiulus admoveo spectaculum quam demoror conscendo.",
                "refuse_reason": "Approbo adfectus acidus apostolus deripio asper aggredior stella.",
                "amount": 5
            }
        ],
        "paidSaleOperations": [
            {
                "id": 4,
                "type": "minim cillum quis eu adipisicing",
                "payment_method": "aute magna",
                "amount": 7,
                "check_number": 4,
                "receipt_date": "2025-12-01T03:58:34.080Z",
                "is_paid": false,
                "paid_at": "2025-01-21T17:36:15.175Z",
                "from_account_name": "Home Loan Account",
                "paid_at_text": "enim"
            }
        ],
        "saleOptionsHowHereAboutUs": [
            {
                "id": 8,
                "sale_id": 1,
                "option_id": 7,
                "type": "incididunt quis aliquip adipisicing esse"
            }
        ],
        "howHereAboutUs": [
            {
                "id": 1,
                "type": "ullamco Lorem sint",
                "name": "Joey Rau",
                "is_active": true
            },
            {
                "id": 6,
                "type": "sunt cillum deserunt",
                "name": "Maggie Keeling",
                "is_active": true
            }
        ],
        "clients": [
            {
                "id": 5,
                "name": "Marlon Lynch",
                "phone": "(726) 820-4699 x6707",
                "email": "Frances_Padberg13@gmail.com"
            }
        ],
        "saleClients": [
            {
                "id": 3,
                "sale_id": 9,
                "client_id": 5,
                "unit_id": 4
            },
            {
                "id": 8,
                "sale_id": 4,
                "client_id": 5,
                "unit_id": 6
            }
        ],
        "saleDiscounts": [
            {
                "id": 3,
                "sale_id": 9,
                "discount_id": 1,
                "value_type": "minim pariatur",
                "value": "in",
                "amount": 2
            }
        ]
    }
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
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-16 00:08:52
Previous
index
Next
index
Built with