Shopify Migration Guide
Upgrading to 3.0.0
This version contains schema changes for the following streams:
Countries
Due to API deprecation of Admin REST endpoint Countries stream now uses Admin GrapthQl to retrieve all countries.
Important: now stream requires read_shipping
access scope. The source returns list of available streams according to existing scopes.
To obtain the scope follow this steps:
If you are using OAuth2.0 authorization method, you need to Re-authenticate the source on Settings page to fetch new scope.
If you are using API password authorization method, ensure that your custom app have read_shipping
access scope, if not add the scope and Re-authenticate the source on Settings page.
Fields removed from schema:
country.tax
country.tax_name
country.provinces[].tax
country.provinces[].tax_name
country.provinces[].tax_type
country.provinces[].tax_percentage
Fields added to schema:
country.translated_name
country.rest_of_world
country.provinces[].translated_name
Product Variants
Fields removed from schema:
product_variant.fulfillment_service
- API v2025-01 doesn't return this info as part product variant data as of now. Please contact us if you're interested in this info, data can be replaced by Fulfillment Service stream.product_variant.inventory_management
- The fulfillment service that tracks the number of items in stock for the product variant. UseinventoryItem.tracked
instead.
Fields added to schema:
product_variant.tracked
Orders
Fields added to schema:
order.duties_included
order.merchant_business_entity_id
order.total_cash_rounding_payment_adjustment_set
Articles, Blogs and Pages
Due to API version upgrade admin_graphql_api_id
now contains gid://shopify/OnlineStore<StreamEntity>/<ID>
(Updated naming to reflect actual purpose) instead gid://shopify/<StreamEntity>/<ID>
(Legacy naming from older Admin API).
Important: if you rely on admin_graphql_api_id
field value in your destination, please clear affected streams and re-sync the data.
Refresh affected schemas
- Select Connections in the main navbar and select the connection(s) affected by the update.
- Select the Schema tab.
- Select Refresh source schema to bring in any schema changes. Any detected schema changes will be listed for your review.
- Select OK to approve changes.
- Select Save changes at the bottom of the page.
- Ensure the Clear affected streams option is checked to ensure your streams continue syncing successfully with the new schema.
- Select Save connection.
Steps to Clear Streams
To clear your data for the impacted streams, follow the steps below:
- Select Connections in the main nav bar.
- Select the connection(s) affected by the update.
- Select the Status tab.
- In the Enabled streams list, click the three dots on the right side of the stream and select Clear Data.
After the clear succeeds, trigger a sync by clicking Sync Now. For more information on clearing your data in Airbyte, see this page.
Upgrading to 2.6.1
This version completely deprecates the following streams, because Shopify no longer supports them after Shopify API version 2024-04
:
Products Graph QL
Customer Saved Search
Please use Products
to replace the old Products Graph QL
stream.
Upgrading to 2.2.0
This version updates the schema for countries as our testing caught that provinces.tax_percentage
is a number and not an integer.
Action items required for 2.2.0
Refresh Schema
+Reset
is required for this stream after the upgrade from previous version.
Upgrading to 2.1.0
This version implements Shopify GraphQL BULK Operations
to speed up the following streams:
Products
Product Images
Product Variants
- In the
Products
stream, thepublished_scope
property is no longer available. - In the
Products
stream, theimages
property now contains only theid
of the image. Refer to theProduct Images
stream instead. - In the
Products
stream, thevariants
property now contains only theid
of the variant. Refer to theProduct Variants
stream instead. - In the
Products
stream, theposition
property is no longer available. - The
Product Variants
stream now has the cursor fieldupdated_at
instead ofid
. - In the
Product Variants
stream, the date-time fields, such ascreated_at
andupdated_at
, now useUTC
format without a timezone component. - In the
Product Variants
stream, thepresentment_prices.compare_at_price
property has changed from anumber
to anobject of strings
. This field was not populated in theREST API
stream version, but it is correctly covered in the GraphQL stream version. - The
Product Variants
stream'sinventory_policy
andinventory_management
properties now containuppercase string
values, instead oflowercase
. - In the
Product Images
stream, the date-time fields, such ascreated_at
andupdated_at
, now useUTC
format without a timezone component. - In the
Product Images
stream, thevariant_ids
andposition
properties are no longer available. Refer to theProduct variants
stream instead. - Retrieving the
deleted
records forProducts
,Product Images
andProduct Variants
streams are no longer available, due to theGraphQL
limitations.
Action items required for 2.1.0
Refresh Schema
+Reset
is required for this stream after the upgrade from previous version.
Upgrading to 2.0.0
This version implements Shopify GraphQL BULK Operations
to speed up the following streams:
Collections
Customer Address
Discount Codes
Fulfillment Orders
Inventory Items
Inventory Levels
Metafield Collections
Metafield Customers
Metafield Draft_orders
Metafield Locations
Metafield Orders
Metafield Product Images
Metafield Product Variants
Transactions Graphql
(duplicatedTransactions
stream to provide faster fetch)
Increased the performance for the following streams:
Fulfillments
Order Refunds
Product Images
Product Variants
Other bug fixes and improvements, more info: https://github.com/airbytehq/airbyte/pull/32345
Action items required for 2.0.0
-
The
Fulfillments
stream now has the cursor fieldupdated_at
, instead of theid
. -
The
Order Refunds
stream, now has the schemarefund_line_items.line_item.properties
to array ofstrings
, instead ofobject
with properties. -
The
Fulfillment Orders
stream now has thesupported_actions
schema asarray of objects
instead ofarray of strings
. -
The
Collections
stream now requires additional api scoperead_publications
to fetch thepublished_at
field withGraphQL BULK Operations
.- if
API_PASSWORD
is used for authentication:- BEFORE UPDATING to the
2.0.0
: update yourPrivate Developer Application
scopes withread_publications
and save the changes, in your Shopify Account.
- BEFORE UPDATING to the
- if
OAuth2.0
is used for authentication:re-auth
in order to obtain new scope automatically, after the upgrade.
Refresh Schema
+Reset
is required for these streams after the upgrade from previous version.
- if
Upgrading to 1.0.0
This version uses Shopify API version 2023-07
which brings changes to the following streams:
- removed
gateway, payment_details, processing_method
properties fromOrder
stream, they are no longer supplied. - added
company, confirmation_number, current_total_additional_fees_set, original_total_additional_fees_set, tax_exempt, po_number
properties toOrders
stream - added
total_unsettled_set, payment_id
toTransactions
stream - added
return
property toOrder Refund
stream - added
created_at, updated_at
toFulfillment Order
stream
Action items required for 1.0.0
- The
reset
andfull-refresh
forOrders
stream is required after upgrading to this version.