Adobe Commerce connector reference

Important

This feature is in Beta. To use it, a workspace admin must turn on Lakeflow Connect for Adobe Commerce from the Previews page. See Manage Azure Databricks previews.

The managed Adobe Commerce connector in Lakeflow Connect supports 25 source tables in the default schema. Nine tables sync incrementally using updated_at. The remaining sixteen tables support full refresh only.

Supported source tables

The Adobe Commerce connector supports the following source tables, all under the default source schema:

Source table Primary key Description Sync mode Cursor field
products id Product catalog records, including prices, media-gallery metadata, and bundle-option metadata. Incremental updated_at
categories id Catalog categories, including hierarchy, display order, and menu settings. Incremental updated_at
customers id Customer profiles, including contact details, customer groups, and store associations. Incremental updated_at
customer_groups id Customer groups and their tax-class assignments. Full refresh only
orders entity_id Sales orders, including totals, payment data, status, and customer identifiers. Incremental updated_at
order_items orders_entity_id, item_id Order line items, including product identifiers, quantities, prices, and tax amounts. Incremental updated_at
invoices entity_id Invoice headers, including order identifiers, totals, tax amounts, and status. Incremental updated_at
shipments entity_id Shipment headers, including order identifiers, quantities, and package data. Incremental updated_at
credit_memos entity_id Credit memo headers, including order identifiers, adjustments, and refunded amounts. Incremental updated_at
carts id Shopping carts, including activity status, customer identifiers, and embedded items. Incremental updated_at
coupons coupon_id Coupon codes, usage limits, expiration dates, and sales-rule identifiers. Full refresh only
sales_rules rule_id Cart price rules, including conditions, discounts, and store labels. Full refresh only
inventory_sources source_code Inventory locations, including addresses, contact details, and enabled status. Full refresh only
inventory_stocks stock_id Inventory stocks and their names. Full refresh only
inventory_source_items source_code, sku Product quantities and availability status at each inventory source. Full refresh only
tax_rates id Tax rates, geographic criteria, and store-specific titles. Full refresh only
tax_classes class_id Customer and product tax-class definitions. Full refresh only
store_websites id Website definitions and their default store groups. Full refresh only
store_groups id Store groups, website associations, and root categories. Full refresh only
store_views id Store views, store-group associations, and active status. Full refresh only
directory_currency base_currency_code Currency settings and exchange rates. Full refresh only
directory_countries id Country names, abbreviations, and available regions. Full refresh only
tax_rules id Tax rules, tax-class associations, rates, and calculation settings. Full refresh only
gift_wrappings wrapping_id Gift-wrapping designs, prices, and image fields. Available on Adobe Commerce only, not on Magento Open Source. Full refresh only
returns entity_id Return requests with embedded items, comments, and tracking records. Available on Adobe Commerce only, not on Magento Open Source. Full refresh only

The gift_wrappings and returns tables require Adobe Commerce and their corresponding modules. They are unavailable on Magento Open Source and must not be selected there. Other tables require their corresponding modules to be installed.

Connector options

See Examples for usage.

Option Type Scope Required Applies to Description
start_datetime STRING Table No products, categories, customers, orders, order_items, invoices, shipments, credit_memos, carts Earliest date and time to ingest. The UI date/time picker uses your local time zone. In pipeline specifications, provide an ISO 8601 timestamp in Coordinated Universal Time (UTC), such as 2024-01-01T00:00:00Z. Defaults to 365 days before the start of each sync.

Changing start_datetime to an earlier value does not reread historical rows. A full refresh is required to ingest those rows.

Destination table schemas

The destination tables use the following schemas in Unity Catalog.

Child collections are stored as arrays within their parent tables, such as cart items in carts.items. Order items are available in the separate order_items table.

products

Primary key: id

Sync mode: Incremental

Cursor field: updated_at

The media_gallery_entries and bundle_product_options columns contain metadata only. Product media content, bundle selections, and product links are not included. Missing, null, or empty source bundle options produce [] in bundle_product_options, meaning that no options were returned. Populated arrays retain the option metadata. Changes to these arrays are captured when the product's updated_at advances.

Field Data type
id BIGINT
updated_at TIMESTAMP
attribute_set_id BIGINT
created_at TIMESTAMP
extension_attributes VARIANT
name STRING
price DOUBLE
sku STRING
status BIGINT
type_id STRING
visibility BIGINT
weight DOUBLE
media_gallery_entries ARRAY<STRUCT<id: BIGINT, media_type: STRING, label: STRING, position: BIGINT, disabled: BOOLEAN, types: ARRAY<STRING>, file: STRING, extension_attributes: VARIANT>>
bundle_product_options ARRAY<STRUCT<option_id: BIGINT, position: BIGINT, required: BOOLEAN, sku: STRING, title: STRING, type: STRING>>

categories

Primary key: id

Sync mode: Incremental

Cursor field: updated_at

Field Data type
id BIGINT
updated_at TIMESTAMP
parent_id BIGINT
name STRING
is_active BOOLEAN
position BIGINT
level BIGINT
children STRING
created_at TIMESTAMP
path STRING
available_sort_by ARRAY<STRING>
include_in_menu BOOLEAN
extension_attributes VARIANT
custom_attributes VARIANT

customers

Primary key: id

Sync mode: Incremental

Cursor field: updated_at

Customer addresses and extension_attributes.is_subscribed are not included.

Field Data type
id BIGINT
updated_at TIMESTAMP
created_at TIMESTAMP
created_in STRING
custom_attributes VARIANT
disable_auto_group_change BIGINT
email STRING
extension_attributes VARIANT
firstname STRING
gender BIGINT
group_id BIGINT
lastname STRING
store_id BIGINT
website_id BIGINT

customer_groups

Primary key: id

Sync mode: Full refresh only

Field Data type
id BIGINT
code STRING
tax_class_id BIGINT
tax_class_name STRING
extension_attributes_exclude_website_ids ARRAY<BIGINT>

orders

Primary key: entity_id

Sync mode: Incremental

Cursor field: updated_at

Order items are available in the separate order_items table. Order rows exclude items, status history, comments, and billing and shipping address objects. The billing_address_id field and non-address shipping metadata remain available.

Payment-only changes can occur without advancing the order's updated_at. Periodic full refreshes reconcile these fields. The start_datetime cutoff must include the historical orders to refresh.

Field Data type
entity_id BIGINT
updated_at TIMESTAMP
adjustment_negative DOUBLE
adjustment_positive DOUBLE
base_adjustment_negative DOUBLE
base_adjustment_positive DOUBLE
base_currency_code STRING
base_discount_amount DOUBLE
base_discount_invoiced DOUBLE
base_discount_refunded DOUBLE
base_discount_tax_compensation_amount DOUBLE
base_discount_tax_compensation_invoiced DOUBLE
base_discount_tax_compensation_refunded DOUBLE
base_grand_total DOUBLE
base_shipping_amount DOUBLE
base_shipping_discount_amount DOUBLE
base_shipping_discount_tax_compensation_amnt DOUBLE
base_shipping_incl_tax DOUBLE
base_shipping_invoiced DOUBLE
base_shipping_refunded DOUBLE
base_shipping_tax_amount DOUBLE
base_shipping_tax_refunded DOUBLE
base_subtotal DOUBLE
base_subtotal_incl_tax DOUBLE
base_subtotal_invoiced DOUBLE
base_subtotal_refunded DOUBLE
base_tax_amount DOUBLE
base_tax_invoiced DOUBLE
base_tax_refunded DOUBLE
base_to_global_rate DOUBLE
base_to_order_rate DOUBLE
base_total_due DOUBLE
base_total_invoiced DOUBLE
base_total_invoiced_cost DOUBLE
base_total_offline_refunded DOUBLE
base_total_paid DOUBLE
base_total_refunded DOUBLE
billing_address_id BIGINT
created_at TIMESTAMP
applied_rule_ids STRING
customer_id BIGINT
coupon_code STRING
customer_email STRING
customer_firstname STRING
customer_group_id BIGINT
customer_is_guest BIGINT
customer_lastname STRING
customer_note_notify BIGINT
discount_amount DOUBLE
discount_invoiced DOUBLE
discount_refunded DOUBLE
discount_tax_compensation_amount DOUBLE
discount_tax_compensation_invoiced DOUBLE
discount_tax_compensation_refunded DOUBLE
email_sent BIGINT
extension_attributes VARIANT
global_currency_code STRING
grand_total DOUBLE
increment_id STRING
is_virtual BIGINT
order_currency_code STRING
payment VARIANT
protect_code STRING
quote_id BIGINT
remote_ip STRING
shipping_amount DOUBLE
shipping_description STRING
shipping_discount_amount DOUBLE
shipping_discount_tax_compensation_amount DOUBLE
shipping_incl_tax DOUBLE
shipping_invoiced DOUBLE
shipping_refunded DOUBLE
shipping_tax_amount DOUBLE
shipping_tax_refunded DOUBLE
state STRING
status STRING
store_currency_code STRING
store_id BIGINT
store_name STRING
store_to_base_rate DOUBLE
store_to_order_rate DOUBLE
subtotal DOUBLE
subtotal_incl_tax DOUBLE
subtotal_invoiced DOUBLE
subtotal_refunded DOUBLE
tax_amount DOUBLE
tax_invoiced DOUBLE
tax_refunded DOUBLE
total_due DOUBLE
total_invoiced DOUBLE
total_item_count BIGINT
total_offline_refunded DOUBLE
total_paid DOUBLE
total_qty_ordered DOUBLE
total_refunded DOUBLE
weight DOUBLE
x_forwarded_for STRING

order_items

Primary key: orders_entity_id, item_id

Sync mode: Incremental

Cursor field: updated_at

The orders_entity_id field contains the item's order_id and joins to orders.entity_id. Each item uses its own updated_at, so item updates do not depend on the parent order's timestamp advancing.

Field Data type
orders_entity_id BIGINT
item_id BIGINT
amount_refunded DOUBLE
base_amount_refunded DOUBLE
base_discount_amount DOUBLE
base_discount_invoiced DOUBLE
base_discount_refunded DOUBLE
base_discount_tax_compensation_amount DOUBLE
base_discount_tax_compensation_invoiced DOUBLE
base_discount_tax_compensation_refunded DOUBLE
applied_rule_ids STRING
base_original_price DOUBLE
base_price DOUBLE
base_price_incl_tax DOUBLE
base_row_invoiced DOUBLE
base_row_total DOUBLE
base_row_total_incl_tax DOUBLE
base_tax_amount DOUBLE
base_tax_invoiced DOUBLE
base_tax_refunded DOUBLE
created_at TIMESTAMP
discount_amount DOUBLE
discount_invoiced DOUBLE
discount_percent DOUBLE
discount_refunded DOUBLE
discount_tax_compensation_amount DOUBLE
discount_tax_compensation_invoiced DOUBLE
discount_tax_compensation_refunded DOUBLE
extension_attributes VARIANT
free_shipping BIGINT
is_qty_decimal BIGINT
is_virtual BIGINT
name STRING
no_discount BIGINT
order_id BIGINT
original_price DOUBLE
price DOUBLE
price_incl_tax DOUBLE
product_id BIGINT
product_type STRING
qty_canceled DOUBLE
qty_invoiced DOUBLE
qty_ordered DOUBLE
qty_refunded DOUBLE
qty_returned DOUBLE
qty_shipped DOUBLE
quote_item_id BIGINT
row_invoiced DOUBLE
row_total DOUBLE
row_total_incl_tax DOUBLE
row_weight DOUBLE
sku STRING
store_id BIGINT
tax_amount DOUBLE
tax_invoiced DOUBLE
tax_percent DOUBLE
tax_refunded DOUBLE
updated_at TIMESTAMP
weee_tax_applied STRING
weight DOUBLE
parent_item_id BIGINT

invoices

Primary key: entity_id

Sync mode: Incremental

Cursor field: updated_at

Invoice items and comments are not included.

Field Data type
entity_id BIGINT
updated_at TIMESTAMP
base_currency_code STRING
base_discount_amount DOUBLE
base_discount_tax_compensation_amount DOUBLE
base_grand_total DOUBLE
base_shipping_amount DOUBLE
base_shipping_discount_tax_compensation_amnt DOUBLE
base_shipping_incl_tax DOUBLE
base_shipping_tax_amount DOUBLE
base_subtotal DOUBLE
base_subtotal_incl_tax DOUBLE
base_tax_amount DOUBLE
base_to_global_rate DOUBLE
base_to_order_rate DOUBLE
billing_address_id BIGINT
can_void_flag BIGINT
created_at TIMESTAMP
discount_amount DOUBLE
discount_tax_compensation_amount DOUBLE
email_sent BIGINT
extension_attributes VARIANT
global_currency_code STRING
grand_total DOUBLE
increment_id STRING
order_currency_code STRING
order_id BIGINT
shipping_address_id BIGINT
shipping_amount DOUBLE
shipping_discount_tax_compensation_amount DOUBLE
shipping_incl_tax DOUBLE
shipping_tax_amount DOUBLE
state BIGINT
store_currency_code STRING
store_id BIGINT
store_to_base_rate DOUBLE
store_to_order_rate DOUBLE
subtotal DOUBLE
subtotal_incl_tax DOUBLE
tax_amount DOUBLE
total_qty DOUBLE

shipments

Primary key: entity_id

Sync mode: Incremental

Cursor field: updated_at

Shipment items, comments, and tracks are not included.

Field Data type
entity_id BIGINT
updated_at TIMESTAMP
billing_address_id BIGINT
created_at TIMESTAMP
email_sent BIGINT
extension_attributes VARIANT
increment_id STRING
order_id BIGINT
packages VARIANT
shipping_address_id BIGINT
store_id BIGINT
total_qty DOUBLE

credit_memos

Primary key: entity_id

Sync mode: Incremental

Cursor field: updated_at

Credit memo items and comments are not included.

Field Data type
entity_id BIGINT
updated_at TIMESTAMP
adjustment DOUBLE
adjustment_negative DOUBLE
adjustment_positive DOUBLE
base_adjustment DOUBLE
base_adjustment_negative DOUBLE
base_adjustment_positive DOUBLE
base_currency_code STRING
base_discount_amount DOUBLE
base_discount_tax_compensation_amount DOUBLE
base_grand_total DOUBLE
base_shipping_amount DOUBLE
base_shipping_incl_tax DOUBLE
base_shipping_tax_amount DOUBLE
base_subtotal DOUBLE
base_subtotal_incl_tax DOUBLE
base_tax_amount DOUBLE
base_to_global_rate DOUBLE
base_to_order_rate DOUBLE
billing_address_id BIGINT
created_at TIMESTAMP
discount_amount DOUBLE
discount_tax_compensation_amount DOUBLE
email_sent BIGINT
global_currency_code STRING
grand_total DOUBLE
increment_id STRING
order_currency_code STRING
order_id BIGINT
shipping_address_id BIGINT
shipping_amount DOUBLE
shipping_incl_tax DOUBLE
shipping_tax_amount DOUBLE
state BIGINT
store_currency_code STRING
store_id BIGINT
store_to_base_rate DOUBLE
store_to_order_rate DOUBLE
subtotal DOUBLE
subtotal_incl_tax DOUBLE
tax_amount DOUBLE

carts

Primary key: id

Sync mode: Incremental

Cursor field: updated_at

The items array contains cart items. Guest carts without a customer identifier have a null customer_id. Billing addresses, nested shipping addresses, the nested customer object, and item discounts from the totals endpoint are not included.

Related product changes can alter cart item values and is_virtual without advancing the cart's updated_at. Periodic full refreshes reconcile these fields. The start_datetime cutoff must include the historical carts to refresh.

Field Data type
id BIGINT
updated_at TIMESTAMP
created_at TIMESTAMP
currency VARIANT
customer_id BIGINT
customer_is_guest BOOLEAN
customer_note_notify BOOLEAN
customer_tax_class_id BIGINT
extension_attributes VARIANT
is_active BOOLEAN
is_virtual BOOLEAN
items_count BIGINT
items_qty DOUBLE
orig_order_id BIGINT
reserved_order_id STRING
store_id BIGINT
items ARRAY<STRUCT<item_id: BIGINT, name: STRING, price: DOUBLE, product_type: STRING, qty: DOUBLE, quote_id: STRING, sku: STRING, product_option: VARIANT, extension_attributes: VARIANT>>

coupons

Primary key: coupon_id

Sync mode: Full refresh only

Field Data type
coupon_id BIGINT
code STRING
created_at TIMESTAMP
expiration_date STRING
is_primary BOOLEAN
extension_attributes VARIANT
rule_id BIGINT
times_used BIGINT
type BIGINT
usage_limit BIGINT
usage_per_customer BIGINT

sales_rules

Primary key: rule_id

Sync mode: Full refresh only

Field Data type
rule_id BIGINT
action_condition VARIANT
apply_to_shipping BOOLEAN
condition VARIANT
coupon_type STRING
customer_group_ids ARRAY<BIGINT>
description STRING
discount_amount DOUBLE
discount_qty DOUBLE
discount_step BIGINT
extension_attributes VARIANT
from_date STRING
is_active BOOLEAN
is_advanced BOOLEAN
is_rss BOOLEAN
name STRING
product_ids ARRAY<BIGINT>
simple_action STRING
simple_free_shipping STRING
sort_order BIGINT
stop_rules_processing BOOLEAN
times_used BIGINT
to_date STRING
use_auto_generation BOOLEAN
uses_per_coupon BIGINT
uses_per_customer BIGINT
website_ids ARRAY<BIGINT>
store_labels ARRAY<STRUCT<store_id: BIGINT, store_label: STRING>>

inventory_sources

Primary key: source_code

Sync mode: Full refresh only

Field Data type
source_code STRING
carrier_links VARIANT
contact_name STRING
country_id STRING
email STRING
description STRING
enabled BOOLEAN
extension_attributes VARIANT
latitude DOUBLE
longitude DOUBLE
name STRING
postcode STRING
region_id BIGINT
region STRING
city STRING
street STRING
phone STRING
fax STRING
use_default_carrier_config BOOLEAN

inventory_stocks

Primary key: stock_id

Sync mode: Full refresh only

Field Data type
stock_id BIGINT
extension_attributes VARIANT
name STRING

inventory_source_items

Primary key: source_code, sku

Sync mode: Full refresh only

Field Data type
source_code STRING
sku STRING
quantity DOUBLE
status BIGINT
extension_attributes VARIANT

tax_rates

Primary key: id

Sync mode: Full refresh only

Field Data type
id BIGINT
code STRING
extension_attributes VARIANT
rate DOUBLE
region_name STRING
tax_country_id STRING
tax_postcode STRING
tax_region_id BIGINT
zip_from BIGINT
zip_is_range BIGINT
zip_to BIGINT
titles ARRAY<STRUCT<store_id: STRING, value: STRING>>

tax_classes

Primary key: class_id

Sync mode: Full refresh only

Field Data type
class_id BIGINT
class_name STRING
class_type STRING

store_websites

Primary key: id

Sync mode: Full refresh only

Field Data type
id BIGINT
code STRING
default_group_id BIGINT
name STRING

store_groups

Primary key: id

Sync mode: Full refresh only

Field Data type
id BIGINT
code STRING
default_store_id BIGINT
name STRING
root_category_id BIGINT
website_id BIGINT

store_views

Primary key: id

Sync mode: Full refresh only

Field Data type
id BIGINT
code STRING
is_active BIGINT
name STRING
store_group_id BIGINT
website_id BIGINT

directory_currency

Primary key: base_currency_code

Sync mode: Full refresh only

Field Data type
base_currency_code STRING
available_currency_codes VARIANT
base_currency_symbol STRING
default_display_currency_code STRING
default_display_currency_symbol STRING
exchange_rates VARIANT

directory_countries

Primary key: id

Sync mode: Full refresh only

Field Data type
id STRING
full_name_english STRING
full_name_locale STRING
three_letter_abbreviation STRING
two_letter_abbreviation STRING
available_regions ARRAY<STRUCT<id: STRING, code: STRING, name: STRING>>

tax_rules

Primary key: id

Sync mode: Full refresh only

Field Data type
id BIGINT
code STRING
priority BIGINT
position BIGINT
customer_tax_class_ids ARRAY<BIGINT>
product_tax_class_ids ARRAY<BIGINT>
tax_rate_ids ARRAY<BIGINT>
calculate_subtotal BOOLEAN
extension_attributes VARIANT

gift_wrappings

Primary key: wrapping_id

Sync mode: Full refresh only

Availability: Adobe Commerce only, with the corresponding module installed. Unavailable on Magento Open Source.

Field Data type
wrapping_id BIGINT
base_currency_code STRING
base_price DOUBLE
design STRING
image_base64_content STRING
image_name STRING
image_url STRING
status BIGINT
website_ids ARRAY<BIGINT>
extension_attributes VARIANT

returns

Primary key: entity_id

Sync mode: Full refresh only

Availability: Adobe Commerce only, with the corresponding module installed. Unavailable on Magento Open Source.

Field Data type
entity_id BIGINT
customer_custom_email STRING
customer_id BIGINT
date_requested STRING
increment_id STRING
order_id BIGINT
order_increment_id STRING
status STRING
store_id BIGINT
custom_attributes VARIANT
extension_attributes VARIANT
items ARRAY<STRUCT<entity_id: BIGINT, condition: STRING, order_item_id: BIGINT, qty_approved: BIGINT, qty_authorized: BIGINT, qty_requested: BIGINT, qty_returned: BIGINT, reason: STRING, resolution: STRING, rma_entity_id: BIGINT, status: STRING>>
comments ARRAY<STRUCT<entity_id: BIGINT, rma_entity_id: BIGINT, admin: BOOLEAN, comment: STRING, created_at: TIMESTAMP, custom_attributes: VARIANT, customer_notified: BOOLEAN, extension_attributes: VARIANT, status: STRING, visible_on_front: BOOLEAN>>
tracks ARRAY<STRUCT<entity_id: BIGINT, rma_entity_id: BIGINT, carrier_code: STRING, carrier_title: STRING, track_number: STRING>>

Required Adobe Commerce account permissions

The integration access token used by the Unity Catalog connection must have the application programming interface (API) resources required by every selected table. In Adobe Commerce Admin, edit the integration under System > Extensions > Integrations. On the API tab, grant the resources below and reauthorize the integration.

Resource identifiers correspond to access control list (ACL) permissions. Parent permissions can grant access to their descendants. Embedded child collections use the parent collection's permission. Adobe documents the relationship between API routes and ACL resources.

The connector sends the following GET requests under <base-url>/rest/all. Do not include /rest/all in the connection's base URL:

Source table GET endpoint Required API resource
products /V1/products Magento_Catalog::products
categories /V1/categories/list Magento_Catalog::categories
customers /V1/customers/search Magento_Customer::customer
customer_groups /V1/customerGroups/search Magento_Customer::group
orders /V1/orders Magento_Sales::actions_view
order_items /V1/orders/items Magento_Sales::actions_view
invoices /V1/invoices Magento_Sales::sales_invoice
shipments /V1/shipments Magento_Sales::shipment
credit_memos /V1/creditmemos Magento_Sales::sales_creditmemo
carts /V1/carts/search Magento_Cart::manage
coupons /V1/coupons/search Magento_SalesRule::quote
sales_rules /V1/salesRules/search Magento_SalesRule::quote
inventory_sources /V1/inventory/sources Magento_InventoryApi::source
inventory_stocks /V1/inventory/stocks Magento_InventoryApi::stock
inventory_source_items /V1/inventory/source-items Magento_InventoryApi::source
tax_rates /V1/taxRates/search Magento_Tax::manage_tax
tax_classes /V1/taxClasses/search Magento_Tax::manage_tax
store_websites /V1/store/websites Magento_Backend::store
store_groups /V1/store/storeGroups Magento_Backend::store
store_views /V1/store/storeViews Magento_Backend::store
directory_currency /V1/directory/currency anonymous (no additional ACL grant)
directory_countries /V1/directory/countries anonymous (no additional ACL grant)
tax_rules /V1/taxRules/search Magento_Tax::manage_tax
gift_wrappings /V1/gift-wrappings Magento_GiftWrapping::magento_giftwrapping (Adobe Commerce only)
returns /V1/returns Magento_Rma::magento_rma (Adobe Commerce only)

Verify installed module definitions if an extension changes route authorization.