shipping_rates table

The shipping_rates table in the E-commerce Database Schema schema has 9 columns, keyed by id, with 1 foreign key to shipping_zones.

Null bounds mean unbounded. A free-shipping-over-X rule is price_cents 0 with min_order_cents set.

Columns (9)

Columns of the shipping_rates table
ColumnTypeConstraintsDescription
iduuidprimary key
zone_iduuidnot null, references shipping_zones.id
namevarchar(120)not null
price_centsintegernot null
currencychar(3)not null
min_order_centsinteger
max_order_centsinteger
min_weight_gramsinteger
max_weight_gramsinteger

Indexes (1)

  • (zone_id)

Relationships