{"id":6116,"date":"2019-01-18T18:03:12","date_gmt":"2019-01-18T18:03:12","guid":{"rendered":"https:\/\/zappysys.com\/blog\/?p=6116"},"modified":"2022-12-27T20:29:26","modified_gmt":"2022-12-27T20:29:26","slug":"read-write-shopify-data-ssis-rest-api","status":"publish","type":"post","link":"https:\/\/zappysys.com\/blog\/read-write-shopify-data-ssis-rest-api\/","title":{"rendered":"Read \/ Write Shopify data in SSIS (REST API)"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-logo.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-6239 alignleft\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-logo.jpg\" alt=\"\" width=\"169\" height=\"148\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-logo.jpg 388w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-logo-300x263.jpg 300w\" sizes=\"(max-width: 169px) 100vw, 169px\" \/><\/a>In our previous article, we saw how to <a href=\"https:\/\/zappysys.com\/blog\/call-rest-api-using-ssis-web-service-task\/\" target=\"_blank\" rel=\"noopener\">call REST API in SSIS<\/a>. Now in let&#8217;s use that knowledge and learn how to read\/write Shopify data in SSIS. If you are not aware of <a href=\"https:\/\/www.shopify.com\/\" target=\"_blank\" rel=\"noopener\">Shopify<\/a> then its one of the most popular eCommerce platforms out there for small shops who sell online. Shopify provides a total framework to sell\/fulfill orders online including tools to build\/customize your own web store.<\/p>\n<p>In this article we will see few examples on how to call basic REST API calls to read shopify data, delete shopify data and write shopify data using various SSIS Components.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<div class=\"content_block\" id=\"custom_post_widget-2523\"><h2><span id=\"Prerequisites\">Prerequisites<\/span><\/h2>\r\nBefore we perform the steps listed in this article, you will need to make sure the following prerequisites are met:\r\n<ol style=\"margin-left: 1.5em;\">\r\n \t<li><abbr title=\"SQL Server Integration Services\">SSIS<\/abbr> designer installed.\u00a0Sometimes it is referred to as <abbr title=\"Business Intelligence Development Studio\">BIDS<\/abbr> or <abbr title=\"SQL Server Data Tools\">SSDT<\/abbr> (<a href=\"https:\/\/docs.microsoft.com\/en-us\/sql\/ssdt\/download-sql-server-data-tools-ssdt\" target=\"_blank\" rel=\"noopener\">download it from the Microsoft site<\/a>).<\/li>\r\n \t<li>Basic knowledge of SSIS package\u00a0development using\u00a0<em>Microsoft SQL Server Integration Services<\/em>.<\/li>\r\n \t<li>Make sure\u00a0<span style=\"text-decoration: underline;\"><a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/\" target=\"_blank\" rel=\"noopener\">ZappySys SSIS PowerPack<\/a><\/span>\u00a0is installed (<a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/download\/\" target=\"_blank\" rel=\"noopener\">download it<\/a>, if you haven't already).<\/li>\r\n \t<li>(<em>Optional step<\/em>)<em>.<\/em>\u00a0<a href=\"https:\/\/zappysys.zendesk.com\/hc\/en-us\/articles\/360035974593\" target=\"_blank\" rel=\"noopener\">Read this article<\/a>, if you are planning to deploy packages to a server and schedule their execution later.<\/li>\r\n<\/ol><\/div>\n<h2>Create Shopify Custom App for Shopify Admin API<\/h2>\n<p>Before accessing Shopify API you must create Custom App (and then obtain Access Token)<\/p>\n<h3>New approach (Custom App) to generate App Credentials for Rest API Call<\/h3>\n<p>Before you call Shopify REST API, your first step is to obtain credentials. We will need Access Token or Storefront Access Token. We will use it in later section to call Shopify REST API.<\/p>\n<ol>\n<li>First, in Shopify, go to sore Settings (Click Gear Icon) &gt;\u00a0 <strong>Apps\u00a0and\u00a0sales channels<\/strong> &gt; click\u00a0<strong><strong><strong>Develop apps for your Store<\/strong><br \/>\n<\/strong><\/strong> OR just navigate to URL<\/p>\n<pre>https:\/\/{your-store}.myshopify.com\/admin\/settings\/apps\/development<\/pre>\n<div id=\"attachment_9873\" style=\"width: 1043px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_apps_dev.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9873\" class=\"wp-image-9873 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_apps_dev.png\" alt=\"Shopify App and Sales Channel\" width=\"1033\" height=\"519\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_apps_dev.png 1033w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_apps_dev-300x151.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_apps_dev-768x386.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_apps_dev-1024x514.png 1024w\" sizes=\"(max-width: 1033px) 100vw, 1033px\" \/><\/a><p id=\"caption-attachment-9873\" class=\"wp-caption-text\">Shopify App and Sales Channel<\/p><\/div>\n<p><strong>\u00a0<\/strong><\/li>\n<li>In <strong>App development<\/strong>, click on <strong><strong><strong><strong>Create an app<br \/>\n<\/strong><\/strong><\/strong><\/strong><\/p>\n<div id=\"attachment_9875\" style=\"width: 986px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_create_app-1.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9875\" class=\"size-full wp-image-9875\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_create_app-1.png\" alt=\"\" width=\"976\" height=\"461\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_create_app-1.png 976w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_create_app-1-300x142.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_create_app-1-768x363.png 768w\" sizes=\"(max-width: 976px) 100vw, 976px\" \/><\/a><p id=\"caption-attachment-9875\" class=\"wp-caption-text\">Shopify Create an App<\/p><\/div>\n<p><strong><strong>\u00a0<\/strong><\/strong><\/li>\n<li>Provide the appropriate name for your custom app.\n<div id=\"attachment_9876\" style=\"width: 632px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_app_name.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9876\" class=\"wp-image-9876 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_app_name.png\" alt=\"\" width=\"622\" height=\"386\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_app_name.png 622w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_app_name-300x186.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_app_name-436x272.png 436w\" sizes=\"(max-width: 622px) 100vw, 622px\" \/><\/a><p id=\"caption-attachment-9876\" class=\"wp-caption-text\">Shopify Custom App Name<\/p><\/div>\n<p>&nbsp;<\/li>\n<li>Once we created the app name, we have 2 options to create <strong>Admin API<\/strong> or <strong>Storefront API<\/strong> in the Overview tab.<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_app_scope_configuration.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9877 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_app_scope_configuration.png\" alt=\"\" width=\"976\" height=\"593\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_app_scope_configuration.png 976w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_app_scope_configuration-300x182.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_app_scope_configuration-768x467.png 768w\" sizes=\"(max-width: 976px) 100vw, 976px\" \/><\/a>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0Shopify App Scopes and Configuration<\/li>\n<li>Click on Configure Admin API scopes or Configure Storefront API scopes based on your need as shown in the above screenshot.<\/li>\n<li>If click on\u00a0Configure Admin API scopes, then select the appropriate scopes for your Admin API.<\/li>\n<li>Also, change orders, transactions, and fulfilments permissions to read and write if you need to create, update and delete products.<\/li>\n<li>In addition, change the products, variants, and collections\u00a0to read and write if you need to create, update and delete products.\n<div id=\"attachment_9878\" style=\"width: 941px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_admin_api_scope.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9878\" class=\"wp-image-9878 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_admin_api_scope.png\" alt=\"\" width=\"931\" height=\"582\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_admin_api_scope.png 931w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_admin_api_scope-300x188.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_admin_api_scope-768x480.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_admin_api_scope-436x272.png 436w\" sizes=\"(max-width: 931px) 100vw, 931px\" \/><\/a><p id=\"caption-attachment-9878\" class=\"wp-caption-text\">Shopify Admin Api Scope<\/p><\/div>\n<p>&nbsp;<\/li>\n<li>After saving it, it asks to install app and generate Shopify Access Token for your Admin API.\n<div id=\"attachment_9879\" style=\"width: 988px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_admin_install_app.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9879\" class=\"size-full wp-image-9879\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_admin_install_app.png\" alt=\"\" width=\"978\" height=\"845\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_admin_install_app.png 978w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_admin_install_app-300x259.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_admin_install_app-768x664.png 768w\" sizes=\"(max-width: 978px) 100vw, 978px\" \/><\/a><p id=\"caption-attachment-9879\" class=\"wp-caption-text\">Shopify Admin Install App<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_9880\" style=\"width: 586px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_admin_api_access_token.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9880\" class=\"size-full wp-image-9880\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_admin_api_access_token.png\" alt=\"\" width=\"576\" height=\"286\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_admin_api_access_token.png 576w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_admin_api_access_token-300x149.png 300w\" sizes=\"(max-width: 576px) 100vw, 576px\" \/><\/a><p id=\"caption-attachment-9880\" class=\"wp-caption-text\">Shopify Admin Access Token<\/p><\/div><\/li>\n<li>If click at\u00a0Configure Storefront API scopes, then select the appropriate scopes for your Storefront API.<\/li>\n<li>Also, change orders, transactions, and fulfilments permissions to read and write if you need to create, update and delete products.<\/li>\n<li>In addition, change the products, variants, and collections\u00a0to read and write if you need to create, update and delete products.\n<div id=\"attachment_9887\" style=\"width: 929px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shpoify-storefront-api-scope.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9887\" class=\"size-full wp-image-9887\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shpoify-storefront-api-scope.png\" alt=\"\" width=\"919\" height=\"786\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shpoify-storefront-api-scope.png 919w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shpoify-storefront-api-scope-300x257.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shpoify-storefront-api-scope-768x657.png 768w\" sizes=\"(max-width: 919px) 100vw, 919px\" \/><\/a><p id=\"caption-attachment-9887\" class=\"wp-caption-text\">Shopify Storefront API Scope<\/p><\/div>\n<p>&nbsp;<\/li>\n<li>After saving it, it asks to install app and generate Shopify Storefront Access Token for your Admin API shown above screenshot.\n<div id=\"attachment_9881\" style=\"width: 948px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_storefront_install_app.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9881\" class=\"size-full wp-image-9881\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_storefront_install_app.png\" alt=\"\" width=\"938\" height=\"479\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_storefront_install_app.png 938w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_storefront_install_app-300x153.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify_storefront_install_app-768x392.png 768w\" sizes=\"(max-width: 938px) 100vw, 938px\" \/><\/a><p id=\"caption-attachment-9881\" class=\"wp-caption-text\">Shopify Storefront Install App<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<div id=\"attachment_9882\" style=\"width: 941px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-storefront-access-token.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9882\" class=\"size-full wp-image-9882\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-storefront-access-token.png\" alt=\"\" width=\"931\" height=\"533\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-storefront-access-token.png 931w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-storefront-access-token-300x172.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-storefront-access-token-768x440.png 768w\" sizes=\"(max-width: 931px) 100vw, 931px\" \/><\/a><p id=\"caption-attachment-9882\" class=\"wp-caption-text\">Shopify Storefront Access Token<\/p><\/div>\n<p>&nbsp;<\/li>\n<li>\u00a0We have created Admin API Access Token and Storefront API\u00a0Access Token to access the Shopify APIs.\n<div id=\"attachment_9885\" style=\"width: 908px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-api-credentials.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9885\" class=\"size-full wp-image-9885\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-api-credentials.png\" alt=\"\" width=\"898\" height=\"832\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-api-credentials.png 898w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-api-credentials-300x278.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-api-credentials-768x712.png 768w\" sizes=\"(max-width: 898px) 100vw, 898px\" \/><\/a><p id=\"caption-attachment-9885\" class=\"wp-caption-text\">Shopify API Credentials<\/p><\/div><\/li>\n<\/ol>\n<h3>Old approach (Private App) to generate App Credentials for Rest API Call<\/h3>\n<p>Before you call Shopify REST API, your first step is to obtain credentials. We will need API Key and Password. We will use it in later section to call shopify REST API.<\/p>\n<ol>\n<li>First, in Shopify, go to<strong> Apps<\/strong> and click <strong>Manage private apps<\/strong>.\n<div id=\"attachment_6122\" style=\"width: 798px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-create-private-app-1.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6122\" class=\"wp-image-6122 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-create-private-app-1.png\" alt=\"Manager private apps in Shopify\" width=\"788\" height=\"322\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-create-private-app-1.png 788w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-create-private-app-1-300x123.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-create-private-app-1-768x314.png 768w\" sizes=\"(max-width: 788px) 100vw, 788px\" \/><\/a><p id=\"caption-attachment-6122\" class=\"wp-caption-text\">Shopify App &#8211; Manager private apps<\/p><\/div><\/li>\n<li>\u00a0Secondly, In Private apps, click the <strong><strong><strong>Create a new private app:<\/strong><\/strong><\/strong>\n<div id=\"attachment_6123\" style=\"width: 790px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-create-private-app-2.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6123\" class=\"wp-image-6123 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-create-private-app-2.png\" alt=\"Create a new Shopify private app\" width=\"780\" height=\"498\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-create-private-app-2.png 780w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-create-private-app-2-300x192.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-create-private-app-2-768x490.png 768w\" sizes=\"(max-width: 780px) 100vw, 780px\" \/><\/a><p id=\"caption-attachment-6123\" class=\"wp-caption-text\">Shopify Private apps<\/p><\/div><\/li>\n<li>Also, change orders, transactions, and fulfilments permissions to read and write if you need to create, update and delete products.<\/li>\n<li>In addition, change the products, variants, and collections\u00a0to read and write if you need to create, update and delete products.\n<div id=\"attachment_6121\" style=\"width: 946px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-private-oauth-app-edit-permissions.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6121\" class=\"wp-image-6121 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-private-oauth-app-edit-permissions.png\" alt=\"Also change to read and write permissions\" width=\"936\" height=\"818\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-private-oauth-app-edit-permissions.png 936w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-private-oauth-app-edit-permissions-300x262.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-private-oauth-app-edit-permissions-768x671.png 768w\" sizes=\"(max-width: 936px) 100vw, 936px\" \/><\/a><p id=\"caption-attachment-6121\" class=\"wp-caption-text\">Permission for private apps.<\/p><\/div><\/li>\n<li>Finally, you will have an API key, a password, an URL and a shared\u00a0 secret that you will use in the next section:<\/li>\n<\/ol>\n<div id=\"attachment_6120\" style=\"width: 628px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-view-oauth-app-api-key-secret-credentials.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6120\" class=\"wp-image-6120 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-view-oauth-app-api-key-secret-credentials.png\" alt=\"Shopify password\" width=\"618\" height=\"830\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-view-oauth-app-api-key-secret-credentials.png 618w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-view-oauth-app-api-key-secret-credentials-223x300.png 223w\" sizes=\"(max-width: 618px) 100vw, 618px\" \/><\/a><p id=\"caption-attachment-6120\" class=\"wp-caption-text\">Shopify API key<\/p><\/div>\n<p>&nbsp;<\/p>\n<h2>Read Shopify data in SSIS (Get Orders Example)<\/h2>\n<p>So in this section we will learn how to call Shopify REST API.\u00a0 For example purpose we will call <a href=\"https:\/\/help.shopify.com\/en\/api\/reference\/orders\/order\" target=\"_blank\" rel=\"noopener\">Shopify Orders Endpoint<\/a>. For all other REST API endpoints <a href=\"https:\/\/help.shopify.com\/en\/api\/reference\" target=\"_blank\" rel=\"noopener\">check this link<\/a>. Read carefully which parameters you can pass for each API call. So let&#8217;s read shopify orders using sample API call.<\/p>\n<h3>Configure SSIS JSON Source to read from Shopify<\/h3>\n<p>Now, that we created an App in Shopify, the rest is easy.<\/p>\n<ol>\n<li>First, in an SSIS project, drag and drop the Data Flow and double click it.\n<div style=\"width: 470px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full\" src=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/drag-and-drop-data-flow-task.png\" alt=\"Drag the Data flow task\" width=\"460\" height=\"155\" \/><p class=\"wp-caption-text\">Use the Data Flow<\/p><\/div><\/li>\n<li>Secondly,\u00a0in the Data Flow, drag and drop the ZS JSON Source.\n<div style=\"width: 551px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"figureimage\" title=\"SSIS JSON Source - Drag and Drop\" src=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/json-source\/ssis-json-source-adapter-drag.png\" alt=\"SSIS JSON Source - Drag and Drop\" width=\"541\" height=\"144\" \/><p class=\"wp-caption-text\">SSIS JSON Source &#8211; Drag and Drop<\/p><\/div><\/li>\n<li>Double-click on JSON Source to configure it.If you are not familiar with ZS JSON Source, check <a href=\"https:\/\/www.youtube.com\/watch?time_continue=4&amp;v=t4fSghbSZLo\">this link.<\/a><br \/>\n<strong>New approach to establish the HTTP Connection Manager<\/strong><\/p>\n<p><strong>Using Admin API Access\u00a0token<\/strong><\/p>\n<ol>\n<li>Enter URL for the API you like to call. For Example, you can enter\n<pre class=\"lang:default highlight:0 decode:true\">https:\/\/{your-store}.myshopify.com\/admin\/api\/2022-10\/products.json<\/pre>\n<\/li>\n<li>Check Use Credentials and click on NEW-HTTP connection as shown below,<\/li>\n<li>On HTTP Connection Manager you can enter some URL (it will be ignored and use JSON Source URL above)<\/li>\n<li>Choose Credentials Type as <strong>Static Token \/ API Key<\/strong><\/li>\n<li>In the Token \/ Key text box enter your <strong>Admin API Key<\/strong> (obtained from the previous section)<\/li>\n<li>In the Auth Header Name enter <span class=\"lang:default highlight:0 decode:true crayon-inline\">X-Shopify-Access-Token<\/span><\/li>\n<li>In the <strong>Auth Scheme<\/strong> select <strong><strong>{none}<\/strong><\/strong>&nbsp;\n<div id=\"attachment_9889\" style=\"width: 841px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-admin-access-token-http-connection.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9889\" class=\"size-full wp-image-9889\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-admin-access-token-http-connection.png\" alt=\"\" width=\"831\" height=\"692\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-admin-access-token-http-connection.png 831w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-admin-access-token-http-connection-300x250.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-admin-access-token-http-connection-768x640.png 768w\" sizes=\"(max-width: 831px) 100vw, 831px\" \/><\/a><p id=\"caption-attachment-9889\" class=\"wp-caption-text\">SSIS JSON Source Admin API HTTP Connection Manager<\/p><\/div>\n<p><strong>\u00a0 <\/strong><\/li>\n<\/ol>\n<\/li>\n<li>Also, press the <strong>Select Filter<\/strong> button and press the orders node:\n<div id=\"attachment_6127\" style=\"width: 592px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-select-filter.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6127\" class=\"wp-image-6127 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-select-filter.png\" alt=\"filter in ssis to get shopify data\" width=\"582\" height=\"288\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-select-filter.png 582w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-select-filter-300x148.png 300w\" sizes=\"(max-width: 582px) 100vw, 582px\" \/><\/a><p id=\"caption-attachment-6127\" class=\"wp-caption-text\">SSIS Shopify filter<\/p><\/div><\/li>\n<li>Now go to Pagination Tab and select <strong>RFC5988 Pagination mode<\/strong> as below. <a href=\"https:\/\/help.shopify.com\/en\/api\/guides\/paginated-rest-results\" target=\"_blank\" rel=\"noopener\">Check this link for more info on Shopify Paginated API calls<\/a>.\n<div id=\"attachment_3917\" style=\"width: 690px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/04\/ssis-link-header-pagination-rfc5988-options.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3917\" class=\"size-full wp-image-3917\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/04\/ssis-link-header-pagination-rfc5988-options.png\" alt=\"Link Header Pagination Method (RFC 5988)\" width=\"680\" height=\"106\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/04\/ssis-link-header-pagination-rfc5988-options.png 680w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/04\/ssis-link-header-pagination-rfc5988-options-300x47.png 300w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/a><p id=\"caption-attachment-3917\" class=\"wp-caption-text\">Link Header Pagination Method (RFC 5988)<\/p><\/div>\n<div class=\"su-note\"  style=\"border-color:#e5de9d;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#fff8b7;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\">NOTE:\u00a0 For Older API use Cursor-based pagination as below (version 2019-07 or older).\u00a0<\/div><\/div>\n<div id=\"attachment_6126\" style=\"width: 680px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-rest-api-pagination.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6126\" class=\"wp-image-6126 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-rest-api-pagination.png\" alt=\"SSIS JSON API pagination\" width=\"670\" height=\"629\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-rest-api-pagination.png 670w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-rest-api-pagination-300x282.png 300w\" sizes=\"(max-width: 670px) 100vw, 670px\" \/><\/a><p id=\"caption-attachment-6126\" class=\"wp-caption-text\">SSIS pagination for Shopify<\/p><\/div><\/li>\n<li>Finally,\u00a0make sure to the Use Credentials option and select the http\u00a0connection of the step 2 and press the Preview button to see the data:<\/li>\n<\/ol>\n<div id=\"attachment_6125\" style=\"width: 926px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-read-rest-api-orders-example.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6125\" class=\"wp-image-6125 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-read-rest-api-orders-example.png\" alt=\"Get Shopify data in SSIS\" width=\"916\" height=\"719\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-read-rest-api-orders-example.png 916w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-read-rest-api-orders-example-300x235.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-read-rest-api-orders-example-768x603.png 768w\" sizes=\"(max-width: 916px) 100vw, 916px\" \/><\/a><p id=\"caption-attachment-6125\" class=\"wp-caption-text\">SSIS preview Shopify data<\/p><\/div>\n<p>&nbsp;<\/p>\n<h3>Load Shopify data into SQL Server \/ Other Target<\/h3>\n<div class=\"content_block\" id=\"custom_post_widget-5617\"><p>ZappySys SSIS PowerPack makes it easy to load data from various sources such as REST, SOAP, JSON, XML, CSV or from other source into SQL Server, or PostgreSQL, or Amazon Redshift, or other  targets. The <strong>Upsert Destination<\/strong> component allows you to automatically insert new records and update existing ones based on key columns. Below are the detailed steps to configure it.<\/p>\r\n<h3>Step 1: Add Upsert Destination to Data Flow<\/h3>\r\n<ol>\r\n<li>Drag and drop the <strong>Upsert Destination<\/strong> component from the SSIS Toolbox.<\/li>\r\n<li>Connect your source component (e.g., JSON \/ REST \/ Other Source) to the Upsert Destination.<\/li>\r\n<\/ol>\r\n<div class=\"wp-caption aligncenter\">\r\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2017\/08\/ssis-data-flow-drag-drop-upsert-destination.png\">\r\n<img loading=\"lazy\" decoding=\"async\" class=\"size-full\" alt=\"\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2017\/08\/ssis-data-flow-drag-drop-upsert-destination.png\" \/><\/a>\r\n<p class=\"wp-caption-text\">SSIS - Data Flow - Drang and Drop Upsert Destination Component<\/p>\r\n<\/div>\r\n<h3>Step 2: Configure Target Connection<\/h3>\r\n<ol>\r\n<li>Double-click the <strong>Upsert Destination<\/strong> component to open the configuration window.<\/li>\r\n<li>Under <strong>Connection<\/strong>, select an existing target connection or click <strong>NEW<\/strong> to create a new connection.\r\n<ul>\r\n<li>Example: SQL Server, or PostgreSQL, or Amazon Redshift.<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ol>\r\n<h3>Step 3: Select or Create Target Table<\/h3>\r\n<ol>\r\n<li>In the <strong>Target Table<\/strong> dropdown, select the table where you want to load data.<\/li>\r\n<li>Optionally, click <strong>NEW<\/strong> to create a new table based on the source columns.<\/li>\r\n<\/ol>\r\n<div class=\"wp-caption aligncenter\">\r\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/09\/upsert-destination-configuration.png\">\r\n<img loading=\"lazy\" decoding=\"async\" class=\"size-full\" alt=\"\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/09\/upsert-destination-configuration.png\" \/><\/a>\r\n<p class=\"wp-caption-text\">Configure SSIS Upsert Destination Connection - Loading data (REST \/ SOAP \/ JSON \/ XML \/CSV) into SQL Server or other target using SSIS<\/p>\r\n<\/div>\r\n<h3>Step 4: Map Columns<\/h3>\r\n<ol>\r\n<li>Go to the <strong>Mappings<\/strong> tab.<\/li>\r\n<li>Click <strong>Auto Map<\/strong> to map source columns to target columns by name.<\/li>\r\n<li>Ensure you <strong>check the Primary key column(s)<\/strong> that will determine whether a record is inserted or updated.<\/li>\r\n<li>You can manually adjust the mappings if necessary.<\/li>\r\n<\/ol>\r\n <div class=\"wp-caption aligncenter\">\r\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/09\/upsert-destination-key.png\">\r\n<img loading=\"lazy\" decoding=\"async\" class=\"size-full\" alt=\"\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/09\/upsert-destination-key.png\" \/><\/a>\r\n<p class=\"wp-caption-text\">SSIS Upsert Destination - Columns Mappings<\/p>\r\n<\/div>\r\n<h3>Step 5: Save Settings<\/h3>\r\n<ul>\r\n<li>Click <strong>OK<\/strong> to save the Upsert Destination configuration.<\/li>\r\n<\/ul>\r\n<h3>Step 6: Optional: Add Logging or Analysis<\/h3>\r\n<ul>\r\n<li>You may add extra destination components to log the number of inserted vs. updated records for monitoring or auditing purposes.<\/li>\r\n<\/ul>\r\n<h3>Step 7: Execute the Package<\/h3>\r\n<ul>\r\n<li>Run your SSIS package and verify that the data is correctly inserted and updated in the target table.<\/li>\r\n<\/ul>\r\n<div class=\"wp-caption aligncenter\">\r\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/12\/ssis-upsert-destination-execute.png\">\r\n<img loading=\"lazy\" decoding=\"async\" class=\"size-full\" alt=\"\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/12\/ssis-upsert-destination-execute.png\" \/><\/a>\r\n<p class=\"wp-caption-text\">SSIS Upsert Destination Execution<\/p>\r\n<\/div><\/div>\n<h2>Write Shopify data in SSIS REST API Task<\/h2>\n<p>In this new example, we will write Shopify data in SSIS. In addition, we will create a new order using REST API to write Shopify\u00a0data in SSIS.<\/p>\n<ol>\n<li>First,\u00a0use the <a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-rest-api-web-service-task\/\">REST API task<\/a> in SSDT.<\/li>\n<li>Secondly, in the REST API use the http\u00a0connection created on step 2 of the read Shopify data in SSIS.\u00a0 Also, in HTTP Request Method, select <strong>POST<\/strong>, in Body (Request Data) write the following:\n<pre class=\"lang:js highlight:0 decode:true\">{\r\n  \"order\": {\r\n    \"line_items\": [\r\n      {\r\n        \"title\": \"Big Brown Bear Boots\",\r\n        \"price\": 74.99,\r\n        \"grams\": \"1300\",\r\n        \"quantity\": 3,\r\n        \"tax_lines\": [\r\n          {\r\n            \"price\": 13.5,\r\n            \"rate\": 0.06,\r\n            \"title\": \"State tax\"\r\n          }\r\n        ]\r\n      }\r\n    ],\r\n    \"transactions\": [\r\n      {\r\n        \"kind\": \"sale\",\r\n        \"status\": \"success\",\r\n        \"amount\": 238.47\r\n      }\r\n    ],\r\n    \"total_tax\": 13.5,\r\n    \"currency\": \"EUR\"\r\n  }\r\n}<\/pre>\n<div id=\"attachment_6217\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-post.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6217\" class=\"size-full wp-image-6217\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-post.png\" alt=\"write shopify data in ssis\" width=\"800\" height=\"654\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-post.png 800w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-post-300x245.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-post-768x628.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><p id=\"caption-attachment-6217\" class=\"wp-caption-text\">Post JSON order Shopify<\/p><\/div>\n<p>&nbsp;<\/li>\n<li>If you dont like to use URL supplied in HTTP Connection manager then just check override URL option and enter URL like below. For this example we used correct URL in HTTP connection manager so we will not override URL.<br \/>\n<span class=\"lang:default highlight:0 decode:true crayon-inline \">https:\/\/{{your-store}}.myshopify.com\/admin\/orders.json<\/span><\/li>\n<li>Now you can click on Test Request \/ Response and you will see one sample order created in your admin portal.<\/li>\n<li>You can supply variables in Body by clicking on Insert Variable dropdown when you edit Body.<\/li>\n<\/ol>\n<h2>Calling Storefront API<\/h2>\n<p>In our previous section, we saw how to call ADMIN API which is the most common API you will use in most cases to read \/ write store data. However if you have a need to call\u00a0<a href=\"https:\/\/shopify.dev\/api\/storefront\" target=\"_blank\" rel=\"noopener\">Storefront API<\/a>\u00a0 instead then configure HTTP Connection as below<\/p>\n<ol>\n<li>For Store Front API call you can follow the same steps as the previous section except for few things on HTTP Connection Manager UI<\/li>\n<li>In API Key enter <strong>Storefront API Access Token<\/strong> (rather than Admin Token)<\/li>\n<li>In the Auth Header Name enter <span class=\"lang:default highlight:0 decode:true crayon-inline \">X-Shopify-Storefront-Access-Token<\/span>\n<div id=\"attachment_9890\" style=\"width: 1081px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-storefront-access-token-http-connection-manager.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9890\" class=\"size-full wp-image-9890\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-storefront-access-token-http-connection-manager.png\" alt=\"\" width=\"1071\" height=\"661\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-storefront-access-token-http-connection-manager.png 1071w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-storefront-access-token-http-connection-manager-300x185.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-storefront-access-token-http-connection-manager-768x474.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-storefront-access-token-http-connection-manager-1024x632.png 1024w\" sizes=\"(max-width: 1071px) 100vw, 1071px\" \/><\/a><p id=\"caption-attachment-9890\" class=\"wp-caption-text\">SSIS JSON Source Storefront HTTP Connection Manager<\/p><\/div><\/li>\n<\/ol>\n<h2>Legacy Approach &#8211; Using Basic Auth<\/h2>\n<p>If you created Shopify PrivateApp (before they introduced the new CustomApp approach) then your HTTP Connection needs to be like below. Use Basic Auth for Credentials Type<\/p>\n<ol>\n<li><strong><strong>Using approaches to establish the HTTP Connection Manager<\/strong><\/strong>&nbsp;\n<div id=\"attachment_6124\" style=\"width: 791px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-api-connection-basic-authentication.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6124\" class=\"wp-image-6124 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-api-connection-basic-authentication.png\" alt=\"ssis shopify connection\" width=\"781\" height=\"588\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-api-connection-basic-authentication.png 781w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-api-connection-basic-authentication-300x226.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-api-connection-basic-authentication-768x578.png 768w\" sizes=\"(max-width: 781px) 100vw, 781px\" \/><\/a><p id=\"caption-attachment-6124\" class=\"wp-caption-text\">SSIS JSON Source HTTP connection<\/p><\/div><\/li>\n<\/ol>\n<h2>Create Multiple Shopify records using Web API Destination<\/h2>\n<p>With our ZS Web API destination, it is possible to create multiple records at the same time.\u00a0 The following link\u00a0shows\u00a0the ZS Web API Destination information:<\/p>\n<ul>\n<li><a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-web-api-destination-connector\/\">SSIS Web API destination<\/a><\/li>\n<\/ul>\n<p>Here are few useful articles to explain Web API destination use case.<\/p>\n<p><a href=\"https:\/\/zappysys.com\/blog\/http-post-in-ssis-send-data-to-web-api-url-json-xml\/\" target=\"_blank\" rel=\"noopener\">How to POST data to URL<\/a><\/p>\n<p><a href=\"https:\/\/zappysys.com\/blog\/category\/ssis\/components\/ssis-web-api-destination\/\" target=\"_blank\" rel=\"noopener\">Few other articles<\/a><\/p>\n<h2>Delete Shopify records using REST API in SSIS<\/h2>\n<ol>\n<li>First, in SSDT, drag and drop the ZS REST API task.<\/li>\n<li>Secondly, add the HTTP Url Connection.\u00a0 Use the\u00a0<strong>DELETE\u00a0<\/strong>HTTP Request Method and the URL including the order id as below:<br \/>\n<span class=\"lang:default highlight:0 decode:true crayon-inline\">https:\/\/{{your-store}}.myshopify.com\/admin\/orders\/{{orderid}}<\/span><\/p>\n<div id=\"attachment_6222\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-delete.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6222\" class=\"size-full wp-image-6222\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-delete.png\" alt=\"Shopify API in SSIS\" width=\"800\" height=\"654\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-delete.png 800w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-delete-300x245.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ssis-shopify-delete-768x628.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><p id=\"caption-attachment-6222\" class=\"wp-caption-text\">SSIS delete data in Shopify using REST API call<\/p><\/div>\n<p>&nbsp;<\/li>\n<li>Now click Test Request \/ Response to test delete API call.<\/li>\n<\/ol>\n<h2>Conclusion<\/h2>\n<p>In this article, we learned how to create a Shopify app. In addition, we learned how to\u00a0connect to Shopify using SSIS with the ZappySys tools. Also, we learned to use ZappySys tools in SSIS to get, write and delete information.<\/p>\n<h2>References<\/h2>\n<p>Finally, for more information, refer to these links:<\/p>\n<ul>\n<li><a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-json-file-source\/\">ZappySys SSIS JSON Source<\/a><\/li>\n<li><a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-rest-api-web-service-task\/\">ZappySys SSIS REST API task<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Introduction In our previous article, we saw how to call REST API in SSIS. Now in let&#8217;s use that knowledge and learn how to read\/write Shopify data in SSIS. If you are not aware of Shopify then its one of the most popular eCommerce platforms out there for small shops who sell online. Shopify provides [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":6239,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[225,17,10,200],"tags":[272,271,435,12],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>Read \/ Write Shopify data in SSIS (REST API) | ZappySys Blog<\/title>\r\n<meta name=\"description\" content=\"The article shows how to read, write Shopify data in SSIS using REST API tools to get data, post or deleter data with ZappySys.\" \/>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/zappysys.com\/blog\/read-write-shopify-data-ssis-rest-api\/\" \/>\r\n<meta property=\"og:locale\" content=\"en_US\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"Read \/ Write Shopify data in SSIS (REST API) | ZappySys Blog\" \/>\r\n<meta property=\"og:description\" content=\"The article shows how to read, write Shopify data in SSIS using REST API tools to get data, post or deleter data with ZappySys.\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/zappysys.com\/blog\/read-write-shopify-data-ssis-rest-api\/\" \/>\r\n<meta property=\"og:site_name\" content=\"ZappySys Blog\" \/>\r\n<meta property=\"article:published_time\" content=\"2019-01-18T18:03:12+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2022-12-27T20:29:26+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-logo.jpg\" \/>\r\n\t<meta property=\"og:image:width\" content=\"388\" \/>\r\n\t<meta property=\"og:image:height\" content=\"340\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\r\n<meta name=\"author\" content=\"ZappySys Team\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ZappySys Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/zappysys.com\/blog\/read-write-shopify-data-ssis-rest-api\/\",\"url\":\"https:\/\/zappysys.com\/blog\/read-write-shopify-data-ssis-rest-api\/\",\"name\":\"Read \/ Write Shopify data in SSIS (REST API) | ZappySys Blog\",\"isPartOf\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/zappysys.com\/blog\/read-write-shopify-data-ssis-rest-api\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/zappysys.com\/blog\/read-write-shopify-data-ssis-rest-api\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-logo.jpg\",\"datePublished\":\"2019-01-18T18:03:12+00:00\",\"dateModified\":\"2022-12-27T20:29:26+00:00\",\"author\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/91b041e2dcf7ece5f068893c1a68ac6e\"},\"description\":\"The article shows how to read, write Shopify data in SSIS using REST API tools to get data, post or deleter data with ZappySys.\",\"breadcrumb\":{\"@id\":\"https:\/\/zappysys.com\/blog\/read-write-shopify-data-ssis-rest-api\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zappysys.com\/blog\/read-write-shopify-data-ssis-rest-api\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/read-write-shopify-data-ssis-rest-api\/#primaryimage\",\"url\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-logo.jpg\",\"contentUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-logo.jpg\",\"width\":388,\"height\":340},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zappysys.com\/blog\/read-write-shopify-data-ssis-rest-api\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/zappysys.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Read \/ Write Shopify data in SSIS (REST API)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/zappysys.com\/blog\/#website\",\"url\":\"https:\/\/zappysys.com\/blog\/\",\"name\":\"ZappySys Blog\",\"description\":\"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/zappysys.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/91b041e2dcf7ece5f068893c1a68ac6e\",\"name\":\"ZappySys Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/746bec9c9d27f1b90bb181aa516ee234?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/746bec9c9d27f1b90bb181aa516ee234?s=96&d=mm&r=g\",\"caption\":\"ZappySys Team\"},\"sameAs\":[\"https:\/\/zappysys.com\"],\"url\":\"https:\/\/zappysys.com\/blog\/author\/dcalbimonte\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Read \/ Write Shopify data in SSIS (REST API) | ZappySys Blog","description":"The article shows how to read, write Shopify data in SSIS using REST API tools to get data, post or deleter data with ZappySys.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zappysys.com\/blog\/read-write-shopify-data-ssis-rest-api\/","og_locale":"en_US","og_type":"article","og_title":"Read \/ Write Shopify data in SSIS (REST API) | ZappySys Blog","og_description":"The article shows how to read, write Shopify data in SSIS using REST API tools to get data, post or deleter data with ZappySys.","og_url":"https:\/\/zappysys.com\/blog\/read-write-shopify-data-ssis-rest-api\/","og_site_name":"ZappySys Blog","article_published_time":"2019-01-18T18:03:12+00:00","article_modified_time":"2022-12-27T20:29:26+00:00","og_image":[{"width":388,"height":340,"url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-logo.jpg","type":"image\/jpeg"}],"author":"ZappySys Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"ZappySys Team","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/zappysys.com\/blog\/read-write-shopify-data-ssis-rest-api\/","url":"https:\/\/zappysys.com\/blog\/read-write-shopify-data-ssis-rest-api\/","name":"Read \/ Write Shopify data in SSIS (REST API) | ZappySys Blog","isPartOf":{"@id":"https:\/\/zappysys.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/zappysys.com\/blog\/read-write-shopify-data-ssis-rest-api\/#primaryimage"},"image":{"@id":"https:\/\/zappysys.com\/blog\/read-write-shopify-data-ssis-rest-api\/#primaryimage"},"thumbnailUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-logo.jpg","datePublished":"2019-01-18T18:03:12+00:00","dateModified":"2022-12-27T20:29:26+00:00","author":{"@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/91b041e2dcf7ece5f068893c1a68ac6e"},"description":"The article shows how to read, write Shopify data in SSIS using REST API tools to get data, post or deleter data with ZappySys.","breadcrumb":{"@id":"https:\/\/zappysys.com\/blog\/read-write-shopify-data-ssis-rest-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zappysys.com\/blog\/read-write-shopify-data-ssis-rest-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/read-write-shopify-data-ssis-rest-api\/#primaryimage","url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-logo.jpg","contentUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/shopify-logo.jpg","width":388,"height":340},{"@type":"BreadcrumbList","@id":"https:\/\/zappysys.com\/blog\/read-write-shopify-data-ssis-rest-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zappysys.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Read \/ Write Shopify data in SSIS (REST API)"}]},{"@type":"WebSite","@id":"https:\/\/zappysys.com\/blog\/#website","url":"https:\/\/zappysys.com\/blog\/","name":"ZappySys Blog","description":"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zappysys.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/91b041e2dcf7ece5f068893c1a68ac6e","name":"ZappySys Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/746bec9c9d27f1b90bb181aa516ee234?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/746bec9c9d27f1b90bb181aa516ee234?s=96&d=mm&r=g","caption":"ZappySys Team"},"sameAs":["https:\/\/zappysys.com"],"url":"https:\/\/zappysys.com\/blog\/author\/dcalbimonte\/"}]}},"_links":{"self":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/6116"}],"collection":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/comments?post=6116"}],"version-history":[{"count":42,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/6116\/revisions"}],"predecessor-version":[{"id":6153,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/6116\/revisions\/6153"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media\/6239"}],"wp:attachment":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media?parent=6116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/categories?post=6116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/tags?post=6116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}