docs/integrations/sources/shopify-migrations.md
This version contains schema changes for the following streams:
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.taxcountry.tax_namecountry.provinces[].taxcountry.provinces[].tax_namecountry.provinces[].tax_typecountry.provinces[].tax_percentageFields added to schema:
country.translated_namecountry.rest_of_worldcountry.provinces[].translated_nameFields 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. Use inventoryItem.tracked instead.Fields added to schema:
product_variant.trackedFields added to schema:
order.duties_includedorder.merchant_business_entity_idorder.total_cash_rounding_payment_adjustment_setDue 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.
To clear your data for the impacted streams, follow the steps below:
After the clear succeeds, trigger a sync by clicking Sync Now. For more information on clearing your data in Airbyte, see this page.
This version completely deprecates the following streams, because Shopify no longer supports them after Shopify API version 2024-04:
Products Graph QLCustomer Saved SearchPlease use Products to replace the old Products Graph QL stream.
This version updates the schema for countries as our testing caught that provinces.tax_percentage is a number and not an integer.
Refresh Schema + Reset is required for this stream after the upgrade from previous version.This version implements Shopify GraphQL BULK Operations to speed up the following streams:
ProductsProduct ImagesProduct VariantsProducts stream, the published_scope property is no longer available.Products stream, the images property now contains only the id of the image. Refer to the Product Images stream instead.Products stream, the variants property now contains only the id of the variant. Refer to the Product Variants stream instead.Products stream, the position property is no longer available.Product Variants stream now has the cursor field updated_at instead of id.Product Variants stream, the date-time fields, such as created_at and updated_at, now use UTC format without a timezone component.Product Variants stream, the presentment_prices.compare_at_price property has changed from a number to an object of strings. This field was not populated in the REST API stream version, but it is correctly covered in the GraphQL stream version.Product Variants stream's inventory_policy and inventory_management properties now contain uppercase string values, instead of lowercase.Product Images stream, the date-time fields, such as created_at and updated_at, now use UTC format without a timezone component.Product Images stream, the variant_ids and position properties are no longer available. Refer to the Product variants stream instead.deleted records for Products, Product Images and Product Variants streams are no longer available, due to the GraphQL limitations.Refresh Schema + Reset is required for this stream after the upgrade from previous version.This version implements Shopify GraphQL BULK Operations to speed up the following streams:
CollectionsCustomer AddressDiscount CodesFulfillment OrdersInventory ItemsInventory LevelsMetafield CollectionsMetafield CustomersMetafield Draft_ordersMetafield LocationsMetafield OrdersMetafield Product ImagesMetafield Product VariantsTransactions Graphql (duplicated Transactions stream to provide faster fetch)Increased the performance for the following streams:
FulfillmentsOrder RefundsProduct ImagesProduct VariantsOther bug fixes and improvements, more info: https://github.com/airbytehq/airbyte/pull/32345
The Fulfillments stream now has the cursor field updated_at, instead of the id.
The Order Refunds stream, now has the schema refund_line_items.line_item.properties to array of strings, instead of object with properties.
The Fulfillment Orders stream now has the supported_actions schema as array of objects instead of array of strings.
The Collections stream now requires additional api scope read_publications to fetch the published_at field with GraphQL BULK Operations.
API_PASSWORD is used for authentication:
2.0.0: update your Private Developer Application scopes with read_publications and save the changes, in your Shopify Account.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.This version uses Shopify API version 2023-07 which brings changes to the following streams:
gateway, payment_details, processing_method properties from Order stream, they are no longer supplied.company, confirmation_number, current_total_additional_fees_set, original_total_additional_fees_set, tax_exempt, po_number properties to Orders streamtotal_unsettled_set, payment_id to Transactions streamreturn property to Order Refund streamcreated_at, updated_at to Fulfillment Order streamreset and full-refresh for Orders stream is required after upgrading to this version.