0% found this document useful (0 votes)
231 views

Shopify ERD

Uploaded by

lovaxa7289
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
231 views

Shopify ERD

Uploaded by

lovaxa7289
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

TRANSACTION ⇱

id🔑

⇱ LOCATION ⇱ order_id ➤ ORDER



ABANDONED_CHECKOUT refund_id ➤ REFUND REFUND ⇱ PRODUCT_OPTION PRODUCT_IMAGE ⇱
location_id ➤ LOCATION
⇱ METAFIELD ⇱
ABANDONED_CHECKOUT_LINE ⇱
id 🔑
customer_id ➤ CUSTOMER PLUS
id🔑 parent_id ➤ TRANSACTION id 🔑 id🔑 id 🔑 COLLECT COLLECTION ⇱
id🔑
APPLIED_GIFT_CARD ⇱ location_id ➤ LOCATION
active
address1
amount
authorization
order_id ➤ ORDER product_id 🔑 ➤ PRODUCT
name
product_id 🔑 ➤ PRODUCT
alt id 🔑 id🔑 owner_id🔑
user_id ➤ USER user_id ➤ USER
index 🔑 address2 created_at collection_id 🔑➤ COLLECTION body_html created_at
abandoned_checkout_url authorization_expires_at created_at position
id🔑 checkout_id 🔑 ➤ ABANDONED_CHECKOUT city height product_id 🔑 ➤ PRODUCT can_delete description
buyer_accepts_marketing created_at processed_at values
checkout_id ➤ ABANDONED_CHECKOUT destination_location_id ➤LOCATION created_at is_default created_at lifetime_duration key
cart_token currency note
amount_used origin_location_id ➤ LOCATION legacy position featured disjunctive namespace
closed_at currency_exchange_id restock
product_id ➤ PRODUCT localized_country_name src position handle owner_resource
currency_exchange_adjustment total_duties_set
variant_id ➤ PRODUCT_VARIANT completed_at
created_at
localized_province_name currency_exchange_original_amount PRODUCT_TAG ⇱ updated_at updated_at multipass_identifier type
compare_at_price name currency_exchange_final_amount variant_ids published_at updated_at
gift_card currency value
phone currency_exchange_currency index 🔑 width published_scope
grams customer_locale
rules
ABANDONED_CHECKOUT_URL_TAG ⇱ device_id
updated_at device_id product_id 🔑 ➤ PRODUCT
COLLECTION_PRODUCT ⇱
id
key
PLUS
email
zip
country_*
error_code ORDER_ADJUSTMENT ⇱ value sort_order
title
gateway extended_authorization_attributes_extende
checkout_id 🔑 ➤ ABANDONED_CHECKOUT line_price province_* d_authorization_expires_at template_suffix
landing_site_base_url id 🔑 collection_id 🔑➤ COLLECTION
key 🔑 price gateway updated_at
name order_id ➤ ORDER product_id 🔑 ➤ PRODUCT
value properties kind _fivetran_deleted
We support metafield from COLLECTION, CUSTOMER, DRAFT_ORDER,
note refund_id ➤ REFUND ORDER, PRODUCT, PRODUCT_IMAGE, PRODUCT_VARIANT, and
quantity message SHOP tables.
requires_shipping note_attribute
phone
TENDER_TRANSACTION ⇱ payment_avs_result_code
amount
amount_set ORDER_LINE_REFUND ⇱
sku payment_credit_card_bin
presentment_currency tax_amount
tax_code PLUS id 🔑 payment_cvv_result_code
referring_site tax_amount_set id🔑
taxable order_id🔑➤ ORDER payment_credit_card_number
shipping_rate_id kind location_id ➤ LOCATION
title user_id ➤ USER payment_credit_card_company
shipping_rate_price reason order_line_id ➤ ORDER_LINE
variant_title amount processed_at
vendor shipping_rate_title refund_id ➤ REFUND
credit_card_company receipt DRAFT_ORDER_TAG
source quantity
credit_card_number source_name
source_identifier restock_type
currency status
source_name subtotal index🔑
ABANDONED_CHECKOUT_SHIPPING_LINE source_url
payment_method test
FULFILLMENT_EVENT ⇱ subtotal_set PRODUCT ⇱ draft_order_id 🔑➤ DRAFT_ORDER
ABANDONED_CHECKOUT_TAX_LINE ⇱ subtotal_price
payment_details_* user_id PLUS
total_tax value
⇱ shipping_line
processed_at
remote_reference
standard_authorization_expires_at id 🔑 total_tax_set id🔑
fivetran_id🔑 index🔑 taxes_included fulfillment_id ➤ FULFILLMENT body_html
test
index🔑 checkout_id 🔑 ➤ ABANDONED_CHECKOUT token order_id ➤ ORDER title
checkout_id ➤ ABANDONED_CHECKOUT id total_discounts ORDER ⇱ shop_id handle
checkout_line_id ➤ ABANDONED_CHECKOUT_LINE api_client_id total_duties address1 product_type DRAFT_ORDER_NOTE_ATTRIBUTE ⇱
checkout_shipping_line_id ➤ carrier_identifier total_line_items_price ORDER_RISK ⇱ id 🔑
city vendor
ABANDONED_CHECKOUT_SHIPPING_LINE code total_price
customer_id ➤ CUSTOMER
country created_at DRAFT_ORDER_LINE_TAX_LINE
index 🔑 ⇱ draft_order_id 🔑 ➤ DRAFT_ORDER
compare_at delivery_category total_tax created_at updated_at name 🔑
id 🔑 location_id ➤ LOCATION
position delivery_expectation_range total_weight
order_id 🔑 ➤ ORDER user_id ➤ USER
estimated_delivery_at
happened_at
FULFILLMENT_ORDER_LINE ⇱ published_at draft_order_line_index 🔑 ➤ DRAFT_ORDER_LINE
draft_order_id 🔑
value
price delivery_expectation_range_min updated_at published_scope
checkout _id ➤ ABANDONED_CHECKOUT app_id
rate delivery_expectation_range_max applied_discount_* latitude status price
cause_cancel browser_ip
source delivery_expectation_type billing_address_* longitude fulfillment_id 🔑 ➤ FULFILLMENT template_suffix rate
display buyer_accepts_marketing
title discounted_price credit_card_* message order_line_id 🔑 ➤ ORDER_LINE _fivetran_deleted title
message cancel_reason
zone markup note_attribute_* province order_id ➤ ORDER price_set
recommendation cancelled_at
original_shop_markup shipping_address_* status product_id ➤ PRODUCT
score closed_at
original_shop_price updated_at
phone
source cart_token
checkout_id
zip
variant_id ➤ PRODUCT_VARIANT
fulfillable_quantity
PRODUCT_VARIANT
id🔑

presentment_title gift_card product_id 🔑 ➤ PRODUCT
checkout_token
price grams inventory_item_id ➤ INVENTORY_ITEM
ABANDONED_APPLIED_DISCOUNT ⇱ requested_fulfillment_service_id
confirmed
created_at name ORDER_LINE ⇱ image_id ➤ PRODUCT_IMAGE DRAFT_ORDER_LINE ⇱ DRAFT_ORDER ⇱
source
currency FULFILLMENT ⇱ price_set barcode
fivetran_id 🔑
index 🔑
title ORDER_TAG ⇱ customer_locale
id 🔑 price id🔑 compare_at_price
draft_order_id 🔑 ➤ DRAFT_ORDER
validation_context location_id 🔑➤ LOCATION properties order_id ➤ ORDER created_at
checkout_id ➤ ABANDONED_CHECKOUT device_id id 🔑
carrier_service_id index🔑 order_id ➤ ORDER quantity fulfillment_service index 🔑
email product_id ➤ PRODUCT order_id ➤ ORDER
checkout_line_id ➤ ABANDONED_CHECKOUT_LINE order_id 🔑➤ ORDER Created_at requires_shipping grams product_id ➤ PRODUCT
financial_status variant_id ➤ PRODUCT_VARIANT customer_id ➤ CUSTOMER
checkout_shipping_line_id ➤ value ORDER_NOTE_ATTRIBUTE name≠ sku inventory_management variant_id ➤ PRODUCT_VARIANT
fulfillment_status fulfillable_quantity completed_at
ABANDONED_CHECKOUT_SHIPPING_LINE custom
price_rule_id ➤ PRICE_RULE ⇱ landing_site_base_url
reciept_authorization taxable fulfillment_status inventory_policy
fulfillable_quantity created_at
amount ABANDONED_CHECKOUT_DISCOUNT_CODE ⇱ order_id🔑➤ ORDER
landing_site_ref
service
shipment_status
title
variant_title
gift_card
grams
inventory_quantity_management
inventory_quantity_adjustment fulfillment_service currency
name email
applicable
description index🔑
ORDER_URL_TAG ⇱ name 🔑 note
status
tracking_company
vendor index inventory_quantity gift_card
grams invoice_sent_at
value note_attribute name old_inventory_quantity
non_applicable_reason checkout_id 🔑 ➤ ABANDONED_CHECKOUT name invoice_url
order_id 🔑 ➤ ORDER tracking_numbers pre_tax_price PLUS position
script_version_id amount number name
tracking_urls presentment_prices price
key 🔑 order_number pre_tax_price_set PLUS
title Code properties note
value updated_at price price
value created_at order_status_url status
requires_shipping quantity
original_total_duties_set price_set subtotal_price
value_type type requires_shipping
⇱ client_details_user_agent product_exists sku
updated_at ORDER_SHIPPING_LINE sku taxes_included
current_subtotal_* property tax_code PLUS
taxable total_tax
taxable
⇱ current_total_* quantity total_tax_set
DISCOUNT_APPLICATION id 🔑 requires_shipping title title
payment_gateway_names total_price
updated_at variant_title
order_id 🔑 ➤ ORDER presentment_currency sku tax_exempt
order_id 🔑 ➤ ORDER weight vendor
carrier_identifier processed_at tax_code PLUS updated_at
index 🔑 weight_unit applied_discount_*
code reference taxable applied_discount_*
allocation_method option_* property_*
discounted_price referring_site title billing_address_*
code
discounted_price_set source_identifier total_discount note_attribute_*
description
phone source_name total_discount_set shipping_address_*
target_selection
price variant_inventory_management
SHOP ⇱ target_type
price_set
source_url
subtotal_price variant_title
shipping_line_*
subtotal_price_set
title
requested_fulfillment_service_id subtotal_price_set vendor tax_exemptions
type
id🔑 source taxes_included property_* tax_lines
value
address1 title test
value_type
address2 total_discounts
auto_configure_tax_inclusivity total_discounts_set
checkout_api_supported total_line_items_price
city total_line_items_price_set
cookie_consent_level total_price INVENTORY_ITEM ⇱ INVENTORY_LEVEL ⇱
country DISCOUNT_CODE ⇱ total_price_set
id 🔑
country_code total_shipping_price_set inventory_item_id 🔑➤ INVENTORY_ITEM
country_name ORDER_SHIPPING_TAX_LINE ⇱ total_tax cost location_id 🔑➤ LOCATION
Shopify Plus ⇱
total_tax_set country_code_of_origin available
county_taxes
created_at
id🔑
price_rule_id ➤ PRICE_RULE
order_shipping_line_id 🔑 ➤ ORDER_SHIPPING_LINE total_tip_received TAX_LINE ⇱ created_at
province_code_of_origin
updated_at


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

You might also like