Commerce

Shopify

17min
with shopify modules in make, you can manage the orders, products, product variants, product images, collects, custom collections, customers, articles, pages, refunds, fulfillments, fulfillment orders, fulfillment services, inventories, abandoned checkouts, transations, discounts, metafields, payments, and themes in your shopify account to use the shopify modules, you must have a shopify account you can create an account at www shopify com/signup https //www shopify com/signup refer to the shopify api documentation https //shopify dev/docs/api/admin rest for a list of available endpoints connecting shopify to make shopify offers two types of connections shopify docid\ jxaj wj0z1cnobrx1i9g2 shopify docid\ jxaj wj0z1cnobrx1i9g2 to connect your shopify account to make, follow these steps connecting shopify using the standard connection type use the shopify connection type by default if creating the connection causes errors, use the custom or private app connection type insert a shopify module into a {{scenario singular lowercase}} under connection, click add in the connection type , select shopify type a connection name enter the myshopify com subdomain of your store for example, if the url of your store is https //mystore myshopify com , the subdomain to enter in the connection dialog is mystore click save the system opens shopify in a new window shopify asks you to log in and install the make app and approve its access to your store data in the shopify install dialog, review the privacy and permissions details, and then click install unlisted app connecting shopify using a shopify private or custom app use the shopify (custom or private app) connection type if the standard shopify connection type does not work for you this connection type requires creating a custom app in your shopify store log in to your shopify store, click apps , then click app and sales channel settings on the apps and channels screen, click develop apps click allow custom app development , then confirm this action again by clicking allow custom app development on the next screen this will allow you to create an api token that you will use when creating the connection in make click create an app type an app name , select an app developer , and click create app click configuration , then click configure next to admin api integration on the admin api integration screen, select scopes (permissions) that represent the actions you will need make to perform then click save switch to the api credentials tab and under access tokens , click install app in the dialog that appears, confirm the action by clicking install app shopify creates an admin api access token click reveal token once and copy the token you will enter this token into make in the next step in make, add a shopify module to a {{scenario singular lowercase}} under connection , click add , then fill in the required details shown in the following image click save public app connection use this to connect your public app created in your partner dashboard https //partners shopify com/organizations to create an app from your partner dashboard, click apps > create app provide an app name, url, and redirect urls click create app you are directed to your app's overview page, where you can view the api key and api secret that you will need for the module's connection configuration connection type shopify (public apps) connection name enter the name of the connection domain enter the name of your shopify domain if your shopify store address is https // mystore myshopify com, enter " mystore " client id enter the api key for the app, as defined in the partner dashboard client secret enter the api secret key for the app, as defined in the partner dashboard scope specify needed scopes if you requested both the read and write access scopes for a resource, then enter only for the write access scope the read access scope is omitted because it’s implied by the write access scope for example, if your request included scope=read orders,write orders , then check only for the write orders scope see the list of admin scopes https //shopify dev/docs/admin api/access scopes specify needed scopes if you requested both the read and write access scopes for a resource, then enter only for the write access scope the read access scope is omitted because it’s implied by the write access scope for example, if your request included scope=read orders,write orders , then check only for the write orders scope private app connection to establish a private app connection, you need to create a private app to obtain the api key and password 1 log in to your shopify administration ( https //{yourshopifydomain} myshopify com/admin ) 2 navigate to apps > manage private apps 3 click the create new private app button () 4 fill in the required fields, click save , and create app 5 find the generated api key and password in the admin api section 6 go to make, and open the make an api call module's create a connection dialog for the shopify private app 7 enter the domain (if your shopify online store address is, for example, xyz myshopify com, enter only " xyz " ) and api key and password provided in step 5 to the respective fields, and click the continue button to establish the connection the connection has been established you can set up the private app's make an api call module build shopify {{scenario plural}} after connecting the app, you can perform the following actions orders create an order create a draft order import a b2b order only available for stores on the shopify plus plan update an order delete an order close an order reopen an order cancel an order get an order count orders search for orders watch orders search for risks products create a product update a product delete a product get a product search for products watch products product variants create a product variant update a product variant delete a product variant list product variant get a product variant product images upload a product image delete a product image list product images collects create a collect delete a collect search for collects get a collect custom collections search for custom collections create a custom collection get a custom collection update a custom collection delete a custom collection customers create a customer update a customer delete a customer get a customer search for customers watch customers list customer addresses send an invitation articles create an article update an article delete an article get an article search for articles watch articles pages create a page update a page delete a page get a page search for pages watch pages refunds get a refund search for refunds fulfillments list fulfillments for a fulfillment order create a fulfillment for fulfillment orders note before you create a fulfillment, get to know some concepts related to fulfillments order location fulfillment fulfillmentservice update a fulfillment tracking search for fulfillments get a fulfillment create a fulfillment event fulfillment order search assigned fulfillment orders list fulfillment orders get a fulfillment order cancel a fulfillment order hold a fulfillment order release a fulfillment order hold relocate a fulfillment order send a fulfillment request send a cancellation request fulfillment service create a fulfillment service update a fulfillment service delete a fulfillment service accept a fulfillment request reject a fulfillment request accept a cancellation request reject a cancellation request close a fulfillment order inventory search for inventory levels adjust an inventory level update an inventory level connect an inventory item delete an inventory level search for inventory items update an inventory item abandoned checkouts search for abandoned checkouts watch abandoned checkouts transactions create a transaction search for transactions discounts search for discount codes create a discount code update a discount code delete a discount code create a price rule metafields search for metafields get a metafield create a metafield update a metafield delete a metafield payments search for disputes search for payouts themes list assets create or update an asset get an asset delete an asset other make an api call make a graphql api call new event this app uses webhooks to trigger a {{scenario singular lowercase}} when an event occurs instantly all webhook modules have an instant tag next to their name when you create a shopify webhook in make, it is attached automatically and requires no additional set up common issues errors \[api] this action requires merchant approval for \<xxxx xxxx> scope you need to create a new connection with a required scope https //shopify dev/api/usage/access scopes unfortunately, when you create a new connection, all previously used scopes are removed from your account, and only scopes added in the latest connection are used for all your connections (including the previously created connections) include all needed scopes in the new connection