Shopify ERD
Shopify ERD
id🔑
⇱
index 🔑 total_weight
currency
customer_email
code price updated_at USER ⇱ GIFT_CARD requires_shipping
created_at rate billing_address_* order_line_id 🔑 ➤ ORDER_LINE sku
domain
eligible_for_card_reader_giveaway
updated_at title note_attribute_* id🔑 id🔑 index🔑 tracked
usage_count ORDER_DISCOUNT_CODE price updated_at
eligible_for_payments shipping_address_* bio customer_id ➤
email ⇱ email CUSTOMER
rate
first_name title
enabled_presentment_currencies index🔑 line_item_id ➤
force_ssl order_id 🔑 ➤ ORDER im_address
is_account_owner ORDER_LINE
google_apps_domain code ➤ DISCOUNT_CODE
google_apps_login_enabled amount last_name order_id ➤ ORDER
has_discounts PRICE_RULE ⇱ type locale
permissions
user_id ➤ USER DISCOUNT_ALLOCATION ⇱
has_gift_cards api_client_id
id🔑 phone
has_storefront
allocation_limit balance CUSTOMER_ADDRESS ⇱ CUSTOMER_TAG ⇱
PROVINCE ⇱
iana_timezone receive_announcements order_line_id 🔑 ➤ ORDER_LINE
latitude
allocation_method CUSTOMER_VISIT ⇱ url code index 🔑
created_at user_type created_at index 🔑
longitude Id🔑 discount_application_index ➤ DISCOUNT_APPLICATION.index id🔑
customer_selection _fivetran_deleted customer_id 🔑 ➤ CUSTOMER
multi_location_enabled country_id ➤ COUNTRY id 🔑 currency amount customer_id ➤CUSTOMER
ends_at value
myshopify_domain code order_id ➤ ORDER disabled_at amount_set_shop_money_amount address1
once_per_customer
name name amount_set_shop_money_currency_code address2
prerequisite_quantity_range landing_page expires_on
password_enabled tax landing_page_html amount_set_presentment_money_amount city
phone
prerequisite_shipping_price_range initial_value amount_set_presentment_money_currency_code company
prerequisite_subtotal_range tax_name occurred_at
plan_display_name last_characters country
⇱
prerequisite_to_entitlement_purchase_* tax_percentage referral_code
plan_name tax_type referral_info_html note country_code CUSTOMER_TAX_EXEMPTION
quantity_ratio_entitled_quantity
pre_launch_enabled first_name
CUSTOMER_SEGMENT ⇱
quantity_ratio_prerequisite_quantity referrer_url template_suffix
primary_locale source is_default Index 🔑
primary_location_id
starts_at updated_at
source_description last_name customer_id 🔑 ➤ CUSTOMER
target_selection
province id🔑 name tax_exemption
COUNTRY ⇱
target_type source_type
province_code created_at type phone
⇱
title
requires_extra_payments_agreement name utm_parameters_campaign CUSTOMER province
usage_limit
setup_required query id🔑 utm_parameters_content province_code
updated_at
shop_owner updated_at code utm_parameters_medium zip
value
source name id 🔑
value_type utm_parameters_source
tax_shipping tax accepts_marketing
utm_parameters_term
taxes_included accepts_marketing_updated_at
timezone created_at
updated_at currency
visitor_tracking_consent_preference email
weight_unit email_marketing_consent_consent_updated_at
zip
PRICE_RULE_PREREQ_CUSTOMER_SEGMENT ⇱
FULFILLMENT_ORDER ⇱ email_marketing_consent_opt_in_level
money_* email_marketing_consent_state
id 🔑 first_name
price_rule_id🔑➤ PRICE_RULE last_name
order_id ➤ ORDER
Legend segment_id🔑➤ CUSTOMER_SEGMENT
created_at marketing_opt_in_level
fulfill_at metafield
fulfill_by note
🔑 = primary key order_count
PRICE_RULE_PREREQ_VARIANT ⇱
PRICE_RULE_ENT_COUNTRY ⇱ international_duties_incoterm
PRICE_RULE_PREREQ_PRODUCT ⇱ request_status
⇱
phone
PRICE_RULE_ENT_VARIANT ⇱ status
FULFILLMENT_ORDER_LINE_ITEM state
tax_exempt
➤ = foreign key relation price_rule_id🔑➤ PRICE_RULE price_rule_id🔑➤ PRICE_RULE
price_rule_id🔑➤ PRICE_RULE supported_actions
updated_at total_spent
price_rule_id🔑➤ PRICE_RULE country_id🔑➤ COUNTRY id 🔑
product_id🔑➤ PRODUCT variant_id🔑➤ PRODUCT_VARIANT updated_at
variant_id🔑➤ PRODUCT_VARIANT assigned_location_* fulfillment_order_id 🔑 ➤ FULFILLMENT_ORDER
⇱
verified_email
= external link
delivery_method_*
destination_*
inventory_item_id
remaining_quantity
PAYOUT ⇱
PRICE_RULE_ENT_COLLECTION ⇱ total_quantity
PRICE_RULE_PREREQ_COLLECTION ⇱ PRICE_RULE_PREREQ_CUSTOMER ⇱ PRICE_RULE_ENT_PRODUCT ⇱ id 🔑
PLUS = Shopify Plus field price_rule_id🔑➤ PRICE_RULE price_rule_id🔑➤ PRICE_RULE
status
date
price_rule_id🔑➤ PRICE_RULE
collection_id🔑➤ COLLECTION
price_rule_id🔑➤ PRICE_RULE
customer_id🔑➤ CUSTOMER
product_id🔑➤ PRODUCT collection_id🔑➤ COLLECTION FULFILLMENT_ORDER_FULFILLMENT_HOLD ⇱ currency
amount
= table being deprecated index 🔑
fulfillment_order_id 🔑 ➤ FULFILLMENT_ORDER
reason
reason_notes