SHOPLINE (OAuth)
Integrate your application with the SHOPLINE API via OAuth
🚀 Quickstart
Connect to SHOPLINE with Tenklo and see data flow in 2 minutes.
In Tenklo (free signup), go to the Integrations tab -> Configure New Integration -> SHOPLINE (OAuth).
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.
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.
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.
-
How to register your own SHOPLINE OAuth app
Register an app on the SHOPLINE Partner Portal and obtain your OAuth client ID and secret. -
How do I link my account?
Connect your SHOPLINE store using the Connect UI
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 name | Description | Type | Source code |
|---|---|---|---|
add-order-risk | Add a fraud risk flag to an order. | Action | 🔗 Github |
add-product-to-collection | Link one product to one collection (creates a single "collect" relationship row). | Action | 🔗 Github |
adjust-inventory-level | Adjust an inventory item's available quantity at a location by a relative delta. | Action | 🔗 Github |
bulk-add-products-to-collection | Add multiple products to a manual collection in one call. | Action | 🔗 Github |
bulk-remove-products-from-collection | Remove multiple products from a manual collection in one call. | Action | 🔗 Github |
cancel-fulfillment | Cancel a fulfillment. | Action | 🔗 Github |
cancel-order | Cancel an order. | Action | 🔗 Github |
create-customer-address | Add a new address to a customer. | Action | 🔗 Github |
create-customer | Create a customer. | Action | 🔗 Github |
create-discount-code | Create a redeemable discount code under a price rule | Action | 🔗 Github |
create-fulfillment | Create a fulfillment for an order's line items, with optional tracking info. | Action | 🔗 Github |
create-manual-collection | Create a manual (custom) collection. | Action | 🔗 Github |
create-order | Create an order directly (not a draft/checkout flow). | Action | 🔗 Github |
create-price-rule | Create a discount price rule. | Action | 🔗 Github |
create-product-image | Add an image to a product from a URL | Action | 🔗 Github |
create-product-variant | Create a new variant on a product. | Action | 🔗 Github |
create-product | Create a product. | Action | 🔗 Github |
create-smart-collection | Create a smart collection with membership rules. | Action | 🔗 Github |
delete-customer-address | Delete a customer address. | Action | 🔗 Github |
delete-customer | Delete a customer. | Action | 🔗 Github |
delete-discount-code | Delete a discount code. | Action | 🔗 Github |
delete-manual-collection | Delete a manual collection. | Action | 🔗 Github |
delete-order | Permanently delete an order. | Action | 🔗 Github |
delete-price-rule | Delete a price rule. | Action | 🔗 Github |
delete-product-image | Delete a product image | Action | 🔗 Github |
delete-product-variant | Delete a product variant. | Action | 🔗 Github |
delete-product | Delete a product. | Action | 🔗 Github |
delete-smart-collection | Delete a smart collection. | Action | 🔗 Github |
get-collection-product-link | Retrieve a single product-collection relationship ("collect") by ID. | Action | 🔗 Github |
get-customer-address | Retrieve a single customer address by ID. | Action | 🔗 Github |
get-customer-count | Get the total count of customers. | Action | 🔗 Github |
get-customer | Retrieve a single customer by ID. | Action | 🔗 Github |
get-discount-code-by-code | Look up a discount code by the code string itself (not its ID or price rule). | Action | 🔗 Github |
get-discount-code | Retrieve a single discount code by its ID (scoped to its price rule). | Action | 🔗 Github |
get-inventory-item | Retrieve a single inventory item by ID. | Action | 🔗 Github |
get-inventory-levels | Get available inventory quantities for inventory items, optionally scoped to locations. | Action | 🔗 Github |
get-location | Retrieve a single location by ID. | Action | 🔗 Github |
get-manual-collection | Retrieve a single manual collection by ID. | Action | 🔗 Github |
get-order-count | Get the total count of orders, optionally filtered. | Action | 🔗 Github |
get-order-fraud-risks | List fraud risk assessments for an order. | Action | 🔗 Github |
get-order-transactions | Query payment transactions for an order. | Action | 🔗 Github |
get-order | Retrieve a single order (via list-orders scoped by the ids param - no dedicated single-order endpoint exists). | Action | 🔗 Github |
get-price-rule | Retrieve a single price rule by ID. | Action | 🔗 Github |
get-product-count | Get the total count of products, optionally filtered. | Action | 🔗 Github |
get-product-image | Retrieve a single product image by ID. | Action | 🔗 Github |
get-product-variant | Retrieve a single product variant by ID. | Action | 🔗 Github |
get-product | Retrieve a single product by ID. | Action | 🔗 Github |
get-smart-collection | Retrieve a single smart collection by ID. | Action | 🔗 Github |
list-collection-product-links | List product-collection relationships ("collects"), filterable by product or collection. | Action | 🔗 Github |
list-customer-addresses | Batch-fetch addresses for one or more customers by ID. | Action | 🔗 Github |
list-customers | List customers with filtering and pagination. | Action | 🔗 Github |
list-discount-codes-for-price-rule | List all discount codes attached to a given price rule. | Action | 🔗 Github |
list-inventory-items | Retrieve inventory items by ID. | Action | 🔗 Github |
list-locations | List all store locations. | Action | 🔗 Github |
list-manual-collections | List manual (custom) collections. | Action | 🔗 Github |
list-order-fulfillments | List all fulfillments for an order. | Action | 🔗 Github |
list-order-refunds | List refunds associated with an order | Action | 🔗 Github |
list-orders | List orders with filtering and pagination. | Action | 🔗 Github |
list-price-rules | List discount price rules with filtering and pagination. | Action | 🔗 Github |
list-product-images | List images for a product by image IDs. | Action | 🔗 Github |
list-product-variants | List variants for a product. | Action | 🔗 Github |
list-products-in-collection | List products belonging to a collection (manual or smart). | Action | 🔗 Github |
list-products | List products with filtering and pagination. | Action | 🔗 Github |
list-smart-collections | List smart (intelligent, rule-based) collections. | Action | 🔗 Github |
remove-order-risk | Remove a fraud risk assessment from an order. | Action | 🔗 Github |
remove-product-from-collection | Remove a single product-collection relationship ("collect") by its ID | Action | 🔗 Github |
search-customers | Fuzzy/structured search for customers. | Action | 🔗 Github |
set-default-customer-address | Mark an address as a customer's default. | Action | 🔗 Github |
set-inventory-level | Set an inventory item's available quantity at a location to an absolute value. | Action | 🔗 Github |
update-customer-address | Update an existing customer address. | Action | 🔗 Github |
update-customer | Update a customer's fields. | Action | 🔗 Github |
update-discount-code | Update a discount code. | Action | 🔗 Github |
update-fulfillment-tracking | Update (overwrite) tracking info on an existing fulfillment. | Action | 🔗 Github |
update-inventory-item | Update an inventory item (e.g. enable tracking, set cost). | Action | 🔗 Github |
update-manual-collection | Update a manual collection's fields. | Action | 🔗 Github |
update-order-risk | Update an existing fraud risk assessment on an order. | Action | 🔗 Github |
update-order | Update an order's fields (notes, tags, contact info, shipping address). | Action | 🔗 Github |
update-price-rule | Update a price rule's fields. | Action | 🔗 Github |
update-product-image | Update a product image's metadata (alt text, position, variant association). | Action | 🔗 Github |
update-product-variant | Update a product variant's fields. | Action | 🔗 Github |
update-product | Update a product's fields, including adding options, variants, and media. | Action | 🔗 Github |
update-smart-collection | Update a smart collection's fields or rules. | Action | 🔗 Github |
customers | Sync customers, including embedded addresses and marketing consent | Sync | 🔗 Github |
discount-codes | Sync discount codes (the redeemable code strings), scoped per price rule. | Sync | 🔗 Github |
locations | Sync store locations. | Sync | 🔗 Github |
manual-collections | Sync manual (custom) collections from SHOPLINE | Sync | 🔗 Github |
orders | Sync orders, including embedded line items, fulfillments, refunds, and payment details. | Sync | 🔗 Github |
price-rules | Sync discount price rules (the rule/scope/value definitions backing discount codes). | Sync | 🔗 Github |
products | Sync products, including their embedded variants, options, and images/media. | Sync | 🔗 Github |
smart-collections | Sync smart (intelligent, rule-based) collections. | Sync | 🔗 Github |