🛍️ Magento_Quote · engine innodb
quote_address
Sales Flat Quote Address
Neighbourhood (1-hop foreign-key graph — showing 4 of 4)
flowchart LR c["quote_address"]:::center n0["quote"] click n0 "/schema/table/quote" n0 -- quote_id --> c n1["quote_address_item"] click n1 "/schema/table/quote_address_item" c -- quote_address_id --> n1 n2["inventory_pickup_location_quote_address"] click n2 "/schema/table/inventory_pickup_location_quote_address" c -- address_id --> n2 n3["quote_shipping_rate"] click n3 "/schema/table/quote_shipping_rate" c -- address_id --> n3 click c "/schema/table/quote_address" classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px
Click a node to jump to that table.
Related tables (4)
Columns (64)
| Name | Type | Null | Default | Comment |
|---|---|---|---|---|
| gift_message_id | int | yes | Gift Message ID | |
| free_shipping | smallint unsigned | no | 0 | Free Shipping |
| address_id PK | int unsigned | no | Address ID | |
| quote_id | int unsigned | no | 0 | Quote ID |
| created_at | timestamp | no | CURRENT_TIMESTAMP | Created At |
| updated_at | timestamp | no | CURRENT_TIMESTAMP | Updated At |
| customer_id | int unsigned | yes | Customer ID | |
| save_in_address_book | smallint | yes | 0 | Save In Address Book |
| customer_address_id | int unsigned | yes | Customer Address ID | |
| address_type | varchar(10) | yes | Address Type | |
| varchar(255) | yes | |||
| prefix | varchar(40) | yes | Prefix | |
| firstname | varchar(255) | yes | ||
| middlename | varchar(40) | yes | ||
| lastname | varchar(255) | yes | ||
| suffix | varchar(40) | yes | Suffix | |
| company | varchar(255) | yes | Company | |
| street | varchar(255) | yes | Street | |
| city | varchar(255) | yes | ||
| region | varchar(255) | yes | ||
| region_id | int unsigned | yes | Region ID | |
| postcode | varchar(20) | yes | Postcode | |
| country_id | varchar(30) | yes | Country ID | |
| telephone | varchar(255) | yes | ||
| fax | varchar(255) | yes | ||
| same_as_billing | smallint unsigned | no | 0 | Same As Billing |
| collect_shipping_rates | smallint unsigned | no | 0 | Collect Shipping Rates |
| shipping_method | varchar(120) | yes | ||
| shipping_description | varchar(255) | yes | Shipping Description | |
| weight | decimal | no | 0 | Weight |
| subtotal | decimal | no | 0 | Subtotal |
| base_subtotal | decimal | no | 0 | Base Subtotal |
| subtotal_with_discount | decimal | no | 0 | Subtotal With Discount |
| base_subtotal_with_discount | decimal | no | 0 | Base Subtotal With Discount |
| tax_amount | decimal | no | 0 | Tax Amount |
| base_tax_amount | decimal | no | 0 | Base Tax Amount |
| shipping_amount | decimal | no | 0 | Shipping Amount |
| base_shipping_amount | decimal | no | 0 | Base Shipping Amount |
| shipping_tax_amount | decimal | yes | Shipping Tax Amount | |
| base_shipping_tax_amount | decimal | yes | Base Shipping Tax Amount | |
| discount_amount | decimal | no | 0 | Discount Amount |
| base_discount_amount | decimal | no | 0 | Base Discount Amount |
| grand_total | decimal | no | 0 | Grand Total |
| base_grand_total | decimal | no | 0 | Base Grand Total |
| customer_notes | text | yes | Customer Notes | |
| applied_taxes | text | yes | Applied Taxes | |
| discount_description | varchar(255) | yes | Discount Description | |
| shipping_discount_amount | decimal | yes | Shipping Discount Amount | |
| base_shipping_discount_amount | decimal | yes | Base Shipping Discount Amount | |
| subtotal_incl_tax | decimal | yes | Subtotal Incl Tax | |
| base_subtotal_total_incl_tax | decimal | yes | Base Subtotal Total Incl Tax | |
| discount_tax_compensation_amount | decimal | yes | Discount Tax Compensation Amount | |
| base_discount_tax_compensation_amount | decimal | yes | Base Discount Tax Compensation Amount | |
| shipping_discount_tax_compensation_amount | decimal | yes | Shipping Discount Tax Compensation Amount | |
| base_shipping_discount_tax_compensation_amnt | decimal | yes | Base Shipping Discount Tax Compensation Amount | |
| shipping_incl_tax | decimal | yes | Shipping Incl Tax | |
| base_shipping_incl_tax | decimal | yes | Base Shipping Incl Tax | |
| vat_id | text | yes | Vat ID | |
| vat_is_valid | smallint | yes | Vat Is Valid | |
| vat_request_id | text | yes | Vat Request ID | |
| vat_request_date | text | yes | Vat Request Date | |
| vat_request_success | smallint | yes | Vat Request Success | |
| validated_country_code | text | yes | Validated Country Code | |
| validated_vat_number | text | yes | Validated Vat Number |
Keys & indexes
Primary key: address_id
Indexes
- QUOTE_ADDRESS_QUOTE_ID (quote_id) btree
References (1)
- quote_id → quote .entity_id (on delete CASCADE)
Referenced by (3)
- inventory_pickup_location_quote_address .address_id → .address_id (on delete CASCADE)
- quote_address_item .quote_address_id → .address_id (on delete CASCADE)
- quote_shipping_rate .address_id → .address_id (on delete CASCADE)