Skip to main content

🚀 Quickstart

Connect to Shopify with Nango and see data flow in 2 minutes.
1

Create an integration

In Nango (free signup), go to Integrations -> Configure New Integration -> Shopify.
2

Authorize Shopify

Go to Connections -> Add Test Connection -> Authorize, then log in to Shopify. Later, you’ll let your users do the same directly from your app.
3

Call the Shopify API

Let’s make your first request to the Shopify API (fetch a list of customers). Replace the placeholders below with your secret key, integration ID, and connection ID:
curl "https://api.nango.dev/proxy/admin/api/2025-01/customers.json?limit=10" \
  -H "Authorization: Bearer <NANGO-SECRET-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>"
Or fetch credentials dynamically via the Node SDK or API.✅ You’re connected! Check the Logs tab in Nango to inspect requests.
4

Implement Nango in your app

Follow our Auth implementation guide to integrate Nango in your app.To obtain your own production credentials, follow the setup guide linked below.

📚 Shopify Integration Guides

Nango maintained guides for common use cases. Official docs: Shopify API documentation
Shopify recently introduced expiring offline access tokens (December 2025) — unlike non-expiring tokens, these include a refresh token and rotate every hour. To migrate to expiring offline tokens or to generate a fresh set of tokens, users need to re-authenticate their connection.

🧩 Pre-built syncs & actions for Shopify

Enable them in your dashboard. Extend and customize to fit your needs.

Abandoned Checkouts

Function nameDescriptionTypeSource code
list-abandoned-checkoutsList abandoned checkouts in a Shopify store.Action🔗 Github

Collections

Function nameDescriptionTypeSource code
create-collectionCreate a Shopify collection.Action🔗 Github
delete-collectionDelete a Shopify collection by GraphQL ID.Action🔗 Github
get-collectionRetrieve a Shopify collection by GraphQL ID.Action🔗 Github
list-collectionsList Shopify collections with cursor pagination.Action🔗 Github
update-collectionUpdate a Shopify collection.Action🔗 Github

Companies

Function nameDescriptionTypeSource code
create-companyCreate a B2B company in Shopify.Action🔗 Github
get-companyRetrieve a Shopify B2B company by GraphQL ID.Action🔗 Github
list-companiesList Shopify B2B companies with cursor pagination.Action🔗 Github
update-companyUpdate a Shopify B2B company.Action🔗 Github

Customer Segments

Function nameDescriptionTypeSource code
list-customer-segmentsList Shopify customer segments with cursor pagination.Action🔗 Github

Customers

Function nameDescriptionTypeSource code
create-customerCreate a Shopify customer record.Action🔗 Github
delete-customerDelete a Shopify customer record.Action🔗 Github
generate-customer-activation-urlGenerate an account activation URL for a Shopify customer.Action🔗 Github
get-customer-segmentRetrieve a Shopify customer segment by GraphQL ID.Action🔗 Github
send-customer-account-inviteSend an account invite email to a Shopify customer.Action🔗 Github
set-customer-email-marketing-consentUpdate email marketing consent for a Shopify customer.Action🔗 Github

Discounts

Function nameDescriptionTypeSource code
activate-automatic-discountActivate an automatic Shopify discount.Action🔗 Github
activate-discount-codeActivate a code-based Shopify discountAction🔗 Github
create-automatic-discount-bxgyCreate an automatic buy X get Y Shopify discount.Action🔗 Github
create-automatic-discount-free-shippingCreate an automatic free shipping Shopify discount.Action🔗 Github
create-automatic-discountCreate an automatic basic Shopify discount.Action🔗 Github
create-discount-code-bxgyCreate a buy X get Y code discount in Shopify.Action🔗 Github
create-discount-code-free-shippingCreate a free shipping code discount in Shopify.Action🔗 Github
deactivate-automatic-discountDeactivate an automatic Shopify discount.Action🔗 Github
delete-automatic-discountDelete an automatic Shopify discount.Action🔗 Github
delete-discount-codeDelete a code-based Shopify discount.Action🔗 Github
get-discountRetrieve a Shopify discount node by GraphQL ID.Action🔗 Github
list-discountsList Shopify discount nodes with pagination.Action🔗 Github
update-automatic-discount-bxgyUpdate an automatic buy X get Y Shopify discount.Action🔗 Github
update-automatic-discount-free-shippingUpdate an automatic free shipping Shopify discount.Action🔗 Github
update-automatic-discountUpdate an automatic basic Shopify discount.Action🔗 Github
update-discount-code-basicUpdate a basic code discount in Shopify.Action🔗 Github
update-discount-code-bxgyUpdate a buy X get Y code discount in Shopify.Action🔗 Github
update-discount-code-free-shippingUpdate a free shipping code discount in Shopify.Action🔗 Github

Draft Orders

Function nameDescriptionTypeSource code
complete-draft-orderComplete a Shopify draft order and convert it into an order.Action🔗 Github
delete-draft-orderDelete a Shopify draft order.Action🔗 Github
send-draft-order-invoiceSend the invoice email for a Shopify draft order.Action🔗 Github

Events

Function nameDescriptionTypeSource code
list-eventsList Shopify store events for the activity feed.Action🔗 Github

Files

Function nameDescriptionTypeSource code
create-fileCreate a file resource in Shopify after staging an uploadAction🔗 Github
create-staged-uploadRequest staged upload targets before uploading files to Shopify.Action🔗 Github
delete-filesDelete one or more Shopify file resources.Action🔗 Github
get-fileRetrieve a Shopify file resource by GraphQL ID.Action🔗 Github
list-filesList Shopify file resources with cursor pagination.Action🔗 Github
update-fileUpdate metadata for a Shopify file resource.Action🔗 Github

Fulfillment Orders

Function nameDescriptionTypeSource code
accept-fulfillment-requestAccept a fulfillment request for a Shopify fulfillment order.Action🔗 Github
reject-fulfillment-requestReject a fulfillment request on a Shopify fulfillment order.Action🔗 Github

Fulfillments

Function nameDescriptionTypeSource code
cancel-fulfillment-requestCancel a pending fulfillment request on a Shopify fulfillment order.Action🔗 Github
cancel-fulfillmentCancel a Shopify fulfillmentAction🔗 Github
hold-fulfillment-orderPlace a hold on a Shopify fulfillment order to pause fulfillment.Action🔗 Github
move-fulfillment-orderMove a Shopify fulfillment order to a different location.Action🔗 Github
update-fulfillment-trackingUpdate tracking details on a Shopify fulfillment.Action🔗 Github

Gift Cards

Function nameDescriptionTypeSource code
create-gift-cardCreate a Shopify gift card.Action🔗 Github
disable-gift-cardDisable a Shopify gift card.Action🔗 Github
update-gift-cardUpdate a Shopify gift card.Action🔗 Github

Inventory

Function nameDescriptionTypeSource code
activate-inventory-item-at-locationActivate tracking for a Shopify inventory item at a location.Action🔗 Github
deactivate-inventory-item-at-locationDeactivate tracking for a Shopify inventory item at a location.Action🔗 Github
get-inventory-itemRetrieve a Shopify inventory item by GraphQL ID.Action🔗 Github
list-inventory-levelsList inventory levels for a location or inventory item.Action🔗 Github
move-inventory-quantitiesMove inventory quantities between Shopify locations.Action🔗 Github
set-inventory-quantitiesSet absolute inventory quantities for tracked items.Action🔗 Github
update-inventory-itemUpdate mutable fields on a Shopify inventory item.Action🔗 Github

Locations

Function nameDescriptionTypeSource code
get-locationRetrieve a Shopify location by GraphQL ID.Action🔗 Github

Markets

Function nameDescriptionTypeSource code
create-marketCreate a Shopify market for international selling.Action🔗 Github
delete-marketDelete a Shopify market.Action🔗 Github
get-marketRetrieve a Shopify market by GraphQL ID.Action🔗 Github
list-marketsList Shopify markets for the connected store.Action🔗 Github
update-marketUpdate a Shopify market.Action🔗 Github

Metafields

Function nameDescriptionTypeSource code
create-metafield-definitionCreate a Shopify metafield definition for a resource type.Action🔗 Github
delete-metafieldsDelete Shopify metafields in one call.Action🔗 Github
list-metafield-definitionsList Shopify metafield definitions for a resource type.Action🔗 Github
set-metafieldsCreate or update Shopify metafields in one call.Action🔗 Github

Metaobjects

Function nameDescriptionTypeSource code
create-metaobject-definitionCreate a Shopify metaobject definition.Action🔗 Github
create-metaobjectCreate a Shopify metaobject entry.Action🔗 Github
delete-metaobject-definitionDelete a Shopify metaobject definition.Action🔗 Github
delete-metaobjectDelete a Shopify metaobject entry.Action🔗 Github
get-metaobjectRetrieve a Shopify metaobject by GraphQL ID.Action🔗 Github
list-metaobject-definitionsList Shopify metaobject definitions with pagination.Action🔗 Github
list-metaobjectsList Shopify metaobjects by type with pagination.Action🔗 Github
update-metaobject-definitionUpdate a Shopify metaobject definition.Action🔗 Github
update-metaobjectUpdate a Shopify metaobject entry.Action🔗 Github
upsert-metaobjectCreate or update a Shopify metaobject by type and handle.Action🔗 Github

Orders

Function nameDescriptionTypeSource code
cancel-orderCancel a Shopify order.Action🔗 Github
close-orderClose a Shopify order to prevent further changes.Action🔗 Github
get-order-by-identifierRetrieve a Shopify order by the documented order identifier input.Action🔗 Github
get-orderRetrieve a Shopify order by GraphQL ID.Action🔗 Github
mark-order-as-paidMark a Shopify order as fully paid.Action🔗 Github
update-orderUpdate editable Shopify order fields.Action🔗 Github

Products

Function nameDescriptionTypeSource code
create-product-mediaAttach media to an existing Shopify productAction🔗 Github
create-product-optionsCreate one or more options on a Shopify product.Action🔗 Github
create-product-variantsCreate one or more variants for a Shopify product.Action🔗 Github
create-productCreate a Shopify product.Action🔗 Github
delete-product-mediaDelete media from a Shopify product.Action🔗 Github
delete-product-optionsDelete one or more options from a Shopify product.Action🔗 Github
delete-product-variantsDelete one or more variants from a Shopify product.Action🔗 Github
delete-productDelete a Shopify product by GraphQL ID.Action🔗 Github
get-product-by-identifierRetrieve a Shopify product by handle or another supported identifier.Action🔗 Github
get-productRetrieve a Shopify product by GraphQL ID.Action🔗 Github
list-productsList Shopify products with cursor pagination and optional search query.Action🔗 Github
update-product-mediaUpdate media details for a Shopify productAction🔗 Github
update-product-optionsUpdate options on a Shopify product.Action🔗 Github
update-product-variantsUpdate one or more variants for a Shopify product.Action🔗 Github
update-productUpdate a Shopify product.Action🔗 Github

Publications

Function nameDescriptionTypeSource code
publish-resourcePublish a Shopify resource to one or more sales channels.Action🔗 Github
unpublish-resourceUnpublish a Shopify resource from one or more sales channels.Action🔗 Github

Returns

Function nameDescriptionTypeSource code
approve-returnApprove a return request on a Shopify order.Action🔗 Github
cancel-returnCancel a return on a Shopify order.Action🔗 Github
close-returnClose a return on a Shopify order.Action🔗 Github
create-returnCreate a return for a Shopify order.Action🔗 Github
decline-returnDecline a return request on a Shopify order.Action🔗 Github
get-returnRetrieve a Shopify return by GraphQL ID.Action🔗 Github

Shop

Function nameDescriptionTypeSource code
get-shopRetrieve Shopify shop metadata for the connected store.Action🔗 Github

Tags

Function nameDescriptionTypeSource code
tags-addAdd tags to a Shopify resource.Action🔗 Github
tags-removeRemove tags from a Shopify resource.Action🔗 Github

URL Redirects

Function nameDescriptionTypeSource code
create-url-redirectCreate a URL redirect in a Shopify store.Action🔗 Github
delete-url-redirectDelete a URL redirect from a Shopify store.Action🔗 Github
list-url-redirectsList URL redirects in a Shopify store.Action🔗 Github
update-url-redirectUpdate a URL redirect in a Shopify store.Action🔗 Github

Webhooks

Function nameDescriptionTypeSource code
create-webhook-subscriptionCreate a webhook subscription in Shopify.Action🔗 Github
delete-webhook-subscriptionDelete a Shopify webhook subscription.Action🔗 Github
list-webhook-subscriptionsList webhook subscriptions registered for the Shopify app.Action🔗 Github
update-webhook-subscriptionUpdate a Shopify webhook subscription.Action🔗 Github

Others

Function nameDescriptionTypeSource code
adjust-inventory-quantitiesAdjust inventory quantities for tracked items.Action🔗 Github
create-discount-code-basicCreate a basic code discount in Shopify.Action🔗 Github
create-refundCreate a refund for a Shopify orderAction🔗 Github
deactivate-discount-codeDeactivate a code-based Shopify discount.Action🔗 Github
delete-metafield-definitionDelete a Shopify metafield definition.Action🔗 Github
get-metaobject-by-handleRetrieve a Shopify metaobject by type and handle.Action🔗 Github
list-locationsList Shopify locations for the connected store.Action🔗 Github
list-publicationsList available Shopify sales channel publications.Action🔗 Github
open-orderReopen a closed Shopify orderAction🔗 Github
release-fulfillment-holdRelease a hold on a Shopify fulfillment order.Action🔗 Github
update-metafield-definitionUpdate a Shopify metafield definition.Action🔗 Github
abandoned-checkoutsSync Shopify abandoned checkouts for retargeting workflows.Sync🔗 Github
collectionsSync Shopify collections with pagination and optional search filters.Sync🔗 Github
companiesSync Shopify B2B companies with contact and location data.Sync🔗 Github
discountsSync Shopify discount nodes with status and summary fields.Sync🔗 Github
eventsSync Shopify store events for audit and activity feed use cases.Sync🔗 Github
filesSync Shopify file resources including images and generic files.Sync🔗 Github
fulfillment-ordersSync Shopify fulfillment orders for operational workflows.Sync🔗 Github
gift-cardsSync Shopify gift cards with balance and customer dataSync🔗 Github
inventory-itemsSync Shopify inventory items with SKU, tracking, and cost data.Sync🔗 Github
inventory-levelsSync Shopify inventory quantities across all locations.Sync🔗 Github
locationsSync Shopify fulfillment and inventory locationsSync🔗 Github
marketsSync Shopify markets and their regional configuration.Sync🔗 Github
metaobjectsSync Shopify metaobjects for one or more metaobject types.Sync🔗 Github
ordersFetches a list of orders from Shopify.Sync🔗 Github
productsSync Shopify products with variants, tags, status, and merchandising fields.Sync🔗 Github
returnsSync Shopify returns for post-purchase and reverse logistics workflows.Sync🔗 Github
url-redirectsSync Shopify URL redirects for storefront migration and SEO workflows.Sync🔗 Github