Shopify (OAuth)

Integrate your application with the Shopify API

🚀 Quickstart

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

Create an integration

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

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.

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 Environment API key, integration ID, and connection ID:

curl "https://api.tenklo.dev/proxy/admin/api/2025-01/customers.json?limit=10" \
  -H "Authorization: Bearer <NANGO-API-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 Tenklo to inspect requests.

Implement Tenklo in your app

Follow our Auth implementation guide to integrate Tenklo in your app.

To obtain your own production credentials, follow the setup guide linked below.

📚 Shopify Integration Guides

Tenklo 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

Explore Nango-provided actions in your dashboard. Extend and customize them to fit your needs.

Others

Function nameDescriptionTypeSource code
accept-fulfillment-requestAccept a fulfillment request for a Shopify fulfillment order.Action🔗 Github
activate-automatic-discountActivate an automatic Shopify discount.Action🔗 Github
activate-discount-codeActivate a code-based Shopify discountAction🔗 Github
activate-inventory-item-at-locationActivate tracking for a Shopify inventory item at a location.Action🔗 Github
adjust-inventory-quantitiesAdjust inventory quantities for tracked items.Action🔗 Github
approve-returnApprove a return request on a Shopify order.Action🔗 Github
cancel-fulfillment-requestCancel a pending fulfillment request on a Shopify fulfillment order.Action🔗 Github
cancel-fulfillmentCancel a Shopify fulfillmentAction🔗 Github
cancel-orderCancel a Shopify order.Action🔗 Github
cancel-returnCancel a return on a Shopify order.Action🔗 Github
close-orderClose a Shopify order to prevent further changes.Action🔗 Github
close-returnClose a return on a Shopify order.Action🔗 Github
complete-draft-orderComplete a Shopify draft order and convert it into an order.Action🔗 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-collectionCreate a Shopify collection.Action🔗 Github
create-companyCreate a B2B company in Shopify.Action🔗 Github
create-customerCreate a Shopify customer record.Action🔗 Github
create-discount-code-basicCreate a basic code discount in Shopify.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
create-fileCreate a file resource in Shopify after staging an uploadAction🔗 Github
create-gift-cardCreate a Shopify gift card.Action🔗 Github
create-marketCreate a Shopify market for international selling.Action🔗 Github
create-metafield-definitionCreate a Shopify metafield definition for a resource type.Action🔗 Github
create-metaobject-definitionCreate a Shopify metaobject definition.Action🔗 Github
create-metaobjectCreate a Shopify metaobject entry.Action🔗 Github
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
create-refundCreate a refund for a Shopify orderAction🔗 Github
create-returnCreate a return for a Shopify order.Action🔗 Github
create-staged-uploadRequest staged upload targets before uploading files to Shopify.Action🔗 Github
create-url-redirectCreate a URL redirect in a Shopify store.Action🔗 Github
create-webhook-subscriptionCreate a webhook subscription in Shopify.Action🔗 Github
deactivate-automatic-discountDeactivate an automatic Shopify discount.Action🔗 Github
deactivate-discount-codeDeactivate a code-based Shopify discount.Action🔗 Github
deactivate-inventory-item-at-locationDeactivate tracking for a Shopify inventory item at a location.Action🔗 Github
decline-returnDecline a return request on a Shopify order.Action🔗 Github
delete-automatic-discountDelete an automatic Shopify discount.Action🔗 Github
delete-collectionDelete a Shopify collection by GraphQL ID.Action🔗 Github
delete-customerDelete a Shopify customer record.Action🔗 Github
delete-discount-codeDelete a code-based Shopify discount.Action🔗 Github
delete-draft-orderDelete a Shopify draft order.Action🔗 Github
delete-filesDelete one or more Shopify file resources.Action🔗 Github
delete-marketDelete a Shopify market.Action🔗 Github
delete-metafield-definitionDelete a Shopify metafield definition.Action🔗 Github
delete-metafieldsDelete Shopify metafields in one call.Action🔗 Github
delete-metaobject-definitionDelete a Shopify metaobject definition.Action🔗 Github
delete-metaobjectDelete a Shopify metaobject entry.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
delete-url-redirectDelete a URL redirect from a Shopify store.Action🔗 Github
delete-webhook-subscriptionDelete a Shopify webhook subscription.Action🔗 Github
disable-gift-cardDisable a Shopify gift card.Action🔗 Github
generate-customer-activation-urlGenerate an account activation URL for a Shopify customer.Action🔗 Github
get-collectionRetrieve a Shopify collection by GraphQL ID.Action🔗 Github
get-companyRetrieve a Shopify B2B company by GraphQL ID.Action🔗 Github
get-customer-segmentRetrieve a Shopify customer segment by GraphQL ID.Action🔗 Github
get-discountRetrieve a Shopify discount node by GraphQL ID.Action🔗 Github
get-fileRetrieve a Shopify file resource by GraphQL ID.Action🔗 Github
get-inventory-itemRetrieve a Shopify inventory item by GraphQL ID.Action🔗 Github
get-locationRetrieve a Shopify location by GraphQL ID.Action🔗 Github
get-marketRetrieve a Shopify market by GraphQL ID.Action🔗 Github
get-metaobject-by-handleRetrieve a Shopify metaobject by type and handle.Action🔗 Github
get-metaobjectRetrieve a Shopify metaobject by GraphQL ID.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
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
get-returnRetrieve a Shopify return by GraphQL ID.Action🔗 Github
get-shopRetrieve Shopify shop metadata for the connected store.Action🔗 Github
hold-fulfillment-orderPlace a hold on a Shopify fulfillment order to pause fulfillment.Action🔗 Github
list-abandoned-checkoutsList abandoned checkouts in a Shopify store.Action🔗 Github
list-collectionsList Shopify collections with cursor pagination.Action🔗 Github
list-companiesList Shopify B2B companies with cursor pagination.Action🔗 Github
list-customer-segmentsList Shopify customer segments with cursor pagination.Action🔗 Github
list-discountsList Shopify discount nodes with pagination.Action🔗 Github
list-eventsList Shopify store events for the activity feed.Action🔗 Github
list-filesList Shopify file resources with cursor pagination.Action🔗 Github
list-inventory-levelsList inventory levels for a location or inventory item.Action🔗 Github
list-locationsList Shopify locations for the connected store.Action🔗 Github
list-marketsList Shopify markets for the connected store.Action🔗 Github
list-metafield-definitionsList Shopify metafield definitions for a resource type.Action🔗 Github
list-metaobject-definitionsList Shopify metaobject definitions with pagination.Action🔗 Github
list-metaobjectsList Shopify metaobjects by type with pagination.Action🔗 Github
list-productsList Shopify products with cursor pagination and optional search query.Action🔗 Github
list-publicationsList available Shopify sales channel publications.Action🔗 Github
list-url-redirectsList URL redirects in a Shopify store.Action🔗 Github
list-webhook-subscriptionsList webhook subscriptions registered for the Shopify app.Action🔗 Github
mark-order-as-paidMark a Shopify order as fully paid.Action🔗 Github
move-fulfillment-orderMove a Shopify fulfillment order to a different location.Action🔗 Github
move-inventory-quantitiesMove inventory quantities between Shopify locations.Action🔗 Github
open-orderReopen a closed Shopify orderAction🔗 Github
publish-resourcePublish a Shopify resource to one or more sales channels.Action🔗 Github
reject-fulfillment-requestReject a fulfillment request on a Shopify fulfillment order.Action🔗 Github
release-fulfillment-holdRelease a hold on a Shopify fulfillment order.Action🔗 Github
send-customer-account-inviteSend an account invite email to a Shopify customer.Action🔗 Github
send-draft-order-invoiceSend the invoice email for a Shopify draft order.Action🔗 Github
set-customer-email-marketing-consentUpdate email marketing consent for a Shopify customer.Action🔗 Github
set-inventory-quantitiesSet absolute inventory quantities for tracked items.Action🔗 Github
set-metafieldsCreate or update Shopify metafields in one call.Action🔗 Github
tags-addAdd tags to a Shopify resource.Action🔗 Github
tags-removeRemove tags from a Shopify resource.Action🔗 Github
unpublish-resourceUnpublish a Shopify resource from one or more sales channels.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-collectionUpdate a Shopify collection.Action🔗 Github
update-companyUpdate a Shopify B2B company.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
update-fileUpdate metadata for a Shopify file resource.Action🔗 Github
update-fulfillment-trackingUpdate tracking details on a Shopify fulfillment.Action🔗 Github
update-gift-cardUpdate a Shopify gift card.Action🔗 Github
update-inventory-itemUpdate mutable fields on a Shopify inventory item.Action🔗 Github
update-marketUpdate a Shopify market.Action🔗 Github
update-metafield-definitionUpdate a Shopify metafield definition.Action🔗 Github
update-metaobject-definitionUpdate a Shopify metaobject definition.Action🔗 Github
update-metaobjectUpdate a Shopify metaobject entry.Action🔗 Github
update-orderUpdate editable Shopify order fields.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
update-url-redirectUpdate a URL redirect in a Shopify store.Action🔗 Github
update-webhook-subscriptionUpdate a Shopify webhook subscription.Action🔗 Github
upsert-metaobjectCreate or update a Shopify metaobject by type and handle.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

On this page