SHOPLINE (OAuth)

Integrate your application with the SHOPLINE API via OAuth

🚀 Quickstart

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

Create the integration

In Tenklo (free signup), go to the Integrations tab -> Configure New Integration -> SHOPLINE (OAuth).

Authorize SHOPLINE

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

Call the SHOPLINE API

Make your first request to the SHOPLINE API. Replace the placeholders below with your Environment API key from Environment Settings > API Keys, integration ID (Integrations tab), and connection ID (Connections tab):

curl "https://api.tenklo.dev/proxy/admin/openapi/v20260601/products/products.json" \
  -H "Authorization: Bearer <NANGO-API-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>"

Or fetch credentials with 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.

📚 SHOPLINE (OAuth) Integration Guides

Nango-maintained guides for common use cases.

Official docs: SHOPLINE app authorization

Register a Public app with SHOPLINE, not a Custom app — Custom apps are scoped to a single merchant, so they can't be installed by multiple merchants.

For merchants who'd rather skip app registration entirely, see the simpler SHOPLINE integration, which uses a static admin-generated access token instead of OAuth.

🧩 Pre-built syncs & actions for SHOPLINE (OAuth)

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

Others

Function nameDescriptionTypeSource code
add-order-riskAdd a fraud risk flag to an order.Action🔗 Github
add-product-to-collectionLink one product to one collection (creates a single "collect" relationship row).Action🔗 Github
adjust-inventory-levelAdjust an inventory item's available quantity at a location by a relative delta.Action🔗 Github
bulk-add-products-to-collectionAdd multiple products to a manual collection in one call.Action🔗 Github
bulk-remove-products-from-collectionRemove multiple products from a manual collection in one call.Action🔗 Github
cancel-fulfillmentCancel a fulfillment.Action🔗 Github
cancel-orderCancel an order.Action🔗 Github
create-customer-addressAdd a new address to a customer.Action🔗 Github
create-customerCreate a customer.Action🔗 Github
create-discount-codeCreate a redeemable discount code under a price ruleAction🔗 Github
create-fulfillmentCreate a fulfillment for an order's line items, with optional tracking info.Action🔗 Github
create-manual-collectionCreate a manual (custom) collection.Action🔗 Github
create-orderCreate an order directly (not a draft/checkout flow).Action🔗 Github
create-price-ruleCreate a discount price rule.Action🔗 Github
create-product-imageAdd an image to a product from a URLAction🔗 Github
create-product-variantCreate a new variant on a product.Action🔗 Github
create-productCreate a product.Action🔗 Github
create-smart-collectionCreate a smart collection with membership rules.Action🔗 Github
delete-customer-addressDelete a customer address.Action🔗 Github
delete-customerDelete a customer.Action🔗 Github
delete-discount-codeDelete a discount code.Action🔗 Github
delete-manual-collectionDelete a manual collection.Action🔗 Github
delete-orderPermanently delete an order.Action🔗 Github
delete-price-ruleDelete a price rule.Action🔗 Github
delete-product-imageDelete a product imageAction🔗 Github
delete-product-variantDelete a product variant.Action🔗 Github
delete-productDelete a product.Action🔗 Github
delete-smart-collectionDelete a smart collection.Action🔗 Github
get-collection-product-linkRetrieve a single product-collection relationship ("collect") by ID.Action🔗 Github
get-customer-addressRetrieve a single customer address by ID.Action🔗 Github
get-customer-countGet the total count of customers.Action🔗 Github
get-customerRetrieve a single customer by ID.Action🔗 Github
get-discount-code-by-codeLook up a discount code by the code string itself (not its ID or price rule).Action🔗 Github
get-discount-codeRetrieve a single discount code by its ID (scoped to its price rule).Action🔗 Github
get-inventory-itemRetrieve a single inventory item by ID.Action🔗 Github
get-inventory-levelsGet available inventory quantities for inventory items, optionally scoped to locations.Action🔗 Github
get-locationRetrieve a single location by ID.Action🔗 Github
get-manual-collectionRetrieve a single manual collection by ID.Action🔗 Github
get-order-countGet the total count of orders, optionally filtered.Action🔗 Github
get-order-fraud-risksList fraud risk assessments for an order.Action🔗 Github
get-order-transactionsQuery payment transactions for an order.Action🔗 Github
get-orderRetrieve a single order (via list-orders scoped by the ids param - no dedicated single-order endpoint exists).Action🔗 Github
get-price-ruleRetrieve a single price rule by ID.Action🔗 Github
get-product-countGet the total count of products, optionally filtered.Action🔗 Github
get-product-imageRetrieve a single product image by ID.Action🔗 Github
get-product-variantRetrieve a single product variant by ID.Action🔗 Github
get-productRetrieve a single product by ID.Action🔗 Github
get-smart-collectionRetrieve a single smart collection by ID.Action🔗 Github
list-collection-product-linksList product-collection relationships ("collects"), filterable by product or collection.Action🔗 Github
list-customer-addressesBatch-fetch addresses for one or more customers by ID.Action🔗 Github
list-customersList customers with filtering and pagination.Action🔗 Github
list-discount-codes-for-price-ruleList all discount codes attached to a given price rule.Action🔗 Github
list-inventory-itemsRetrieve inventory items by ID.Action🔗 Github
list-locationsList all store locations.Action🔗 Github
list-manual-collectionsList manual (custom) collections.Action🔗 Github
list-order-fulfillmentsList all fulfillments for an order.Action🔗 Github
list-order-refundsList refunds associated with an orderAction🔗 Github
list-ordersList orders with filtering and pagination.Action🔗 Github
list-price-rulesList discount price rules with filtering and pagination.Action🔗 Github
list-product-imagesList images for a product by image IDs.Action🔗 Github
list-product-variantsList variants for a product.Action🔗 Github
list-products-in-collectionList products belonging to a collection (manual or smart).Action🔗 Github
list-productsList products with filtering and pagination.Action🔗 Github
list-smart-collectionsList smart (intelligent, rule-based) collections.Action🔗 Github
remove-order-riskRemove a fraud risk assessment from an order.Action🔗 Github
remove-product-from-collectionRemove a single product-collection relationship ("collect") by its IDAction🔗 Github
search-customersFuzzy/structured search for customers.Action🔗 Github
set-default-customer-addressMark an address as a customer's default.Action🔗 Github
set-inventory-levelSet an inventory item's available quantity at a location to an absolute value.Action🔗 Github
update-customer-addressUpdate an existing customer address.Action🔗 Github
update-customerUpdate a customer's fields.Action🔗 Github
update-discount-codeUpdate a discount code.Action🔗 Github
update-fulfillment-trackingUpdate (overwrite) tracking info on an existing fulfillment.Action🔗 Github
update-inventory-itemUpdate an inventory item (e.g. enable tracking, set cost).Action🔗 Github
update-manual-collectionUpdate a manual collection's fields.Action🔗 Github
update-order-riskUpdate an existing fraud risk assessment on an order.Action🔗 Github
update-orderUpdate an order's fields (notes, tags, contact info, shipping address).Action🔗 Github
update-price-ruleUpdate a price rule's fields.Action🔗 Github
update-product-imageUpdate a product image's metadata (alt text, position, variant association).Action🔗 Github
update-product-variantUpdate a product variant's fields.Action🔗 Github
update-productUpdate a product's fields, including adding options, variants, and media.Action🔗 Github
update-smart-collectionUpdate a smart collection's fields or rules.Action🔗 Github
customersSync customers, including embedded addresses and marketing consentSync🔗 Github
discount-codesSync discount codes (the redeemable code strings), scoped per price rule.Sync🔗 Github
locationsSync store locations.Sync🔗 Github
manual-collectionsSync manual (custom) collections from SHOPLINESync🔗 Github
ordersSync orders, including embedded line items, fulfillments, refunds, and payment details.Sync🔗 Github
price-rulesSync discount price rules (the rule/scope/value definitions backing discount codes).Sync🔗 Github
productsSync products, including their embedded variants, options, and images/media.Sync🔗 Github
smart-collectionsSync smart (intelligent, rule-based) collections.Sync🔗 Github

On this page