> ## Documentation Index
> Fetch the complete documentation index at: https://nango-wari-integration-config-credentials-api.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# SHOPLINE (OAuth)

> Integrate your application with the SHOPLINE API via OAuth

## 🚀 Quickstart

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

<Steps>
  <Step id="create-integration" title="Create the integration">
    In Nango ([free signup](https://app.nango.dev)), go to the Integrations tab -> *Configure New Integration* -> *SHOPLINE (OAuth)*.
  </Step>

  <Step id="authorize" title="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.
  </Step>

  <Step id="call-api" title="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):

    <Tabs>
      <Tab title="cURL">
        ```bash theme={null}
        curl "https://api.nango.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>"
        ```
      </Tab>

      <Tab title="Node">
        Install Nango's backend SDK with `npm i @nangohq/node`. Then run:

        ```typescript theme={null}
        import { Nango } from '@nangohq/node';

        const nango = new Nango({ apiKey: '<NANGO-API-KEY>' });

        const res = await nango.get({
            endpoint: '/admin/openapi/v20260601/products/products.json',
            providerConfigKey: '<INTEGRATION-ID>',
            connectionId: '<CONNECTION-ID>'
        });

        console.log(res.data);
        ```
      </Tab>
    </Tabs>

    Or fetch credentials with the [Node SDK](/reference/sdks/node#get-a-connection-with-credentials) or [API](/reference/api/connection/get).

    ✅ You're connected! Check the Logs tab in Nango to inspect requests.
  </Step>

  <Step id="implement" title="Implement Nango in your app">
    Follow our [Auth implementation guide](/guides/primitives/auth) to integrate Nango in your app.

    To obtain your own production credentials, follow the setup guide linked below.
  </Step>
</Steps>

## 📚 SHOPLINE (OAuth) Integration Guides

Nango-maintained guides for common use cases.

* [How to register your own SHOPLINE OAuth app](/api-integrations/shopline-oauth/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?](/api-integrations/shopline-oauth/connect)\
  Connect your SHOPLINE store using the Connect UI

Official docs: [SHOPLINE app authorization](https://developer.shopline.com/docs/apps/api-instructions-for-use/app-authorization/)

<Note>
  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](/api-integrations/shopline) integration, which uses a static admin-generated access token instead of OAuth.
</Note>

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

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

### Others

| Function name                          | Description                                                                                                    | Type                                           | Source code                                                                                                                                         |
| -------------------------------------- | -------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| `add-order-risk`                       | Add a fraud risk flag to an order.                                                                             | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/add-order-risk.ts)                       |
| `add-product-to-collection`            | Link one product to one collection (creates a single "collect" relationship row).                              | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/add-product-to-collection.ts)            |
| `adjust-inventory-level`               | Adjust an inventory item's available quantity at a location by a relative delta.                               | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/adjust-inventory-level.ts)               |
| `bulk-add-products-to-collection`      | Add multiple products to a manual collection in one call.                                                      | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/bulk-add-products-to-collection.ts)      |
| `bulk-remove-products-from-collection` | Remove multiple products from a manual collection in one call.                                                 | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/bulk-remove-products-from-collection.ts) |
| `cancel-fulfillment`                   | Cancel a fulfillment.                                                                                          | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/cancel-fulfillment.ts)                   |
| `cancel-order`                         | Cancel an order.                                                                                               | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/cancel-order.ts)                         |
| `create-customer-address`              | Add a new address to a customer.                                                                               | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/create-customer-address.ts)              |
| `create-customer`                      | Create a customer.                                                                                             | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/create-customer.ts)                      |
| `create-discount-code`                 | Create a redeemable discount code under a price rule                                                           | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/create-discount-code.ts)                 |
| `create-fulfillment`                   | Create a fulfillment for an order's line items, with optional tracking info.                                   | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/create-fulfillment.ts)                   |
| `create-manual-collection`             | Create a manual (custom) collection.                                                                           | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/create-manual-collection.ts)             |
| `create-order`                         | Create an order directly (not a draft/checkout flow).                                                          | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/create-order.ts)                         |
| `create-price-rule`                    | Create a discount price rule.                                                                                  | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/create-price-rule.ts)                    |
| `create-product-image`                 | Add an image to a product from a URL                                                                           | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/create-product-image.ts)                 |
| `create-product-variant`               | Create a new variant on a product.                                                                             | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/create-product-variant.ts)               |
| `create-product`                       | Create a product.                                                                                              | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/create-product.ts)                       |
| `create-smart-collection`              | Create a smart collection with membership rules.                                                               | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/create-smart-collection.ts)              |
| `delete-customer-address`              | Delete a customer address.                                                                                     | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/delete-customer-address.ts)              |
| `delete-customer`                      | Delete a customer.                                                                                             | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/delete-customer.ts)                      |
| `delete-discount-code`                 | Delete a discount code.                                                                                        | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/delete-discount-code.ts)                 |
| `delete-manual-collection`             | Delete a manual collection.                                                                                    | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/delete-manual-collection.ts)             |
| `delete-order`                         | Permanently delete an order.                                                                                   | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/delete-order.ts)                         |
| `delete-price-rule`                    | Delete a price rule.                                                                                           | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/delete-price-rule.ts)                    |
| `delete-product-image`                 | Delete a product image                                                                                         | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/delete-product-image.ts)                 |
| `delete-product-variant`               | Delete a product variant.                                                                                      | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/delete-product-variant.ts)               |
| `delete-product`                       | Delete a product.                                                                                              | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/delete-product.ts)                       |
| `delete-smart-collection`              | Delete a smart collection.                                                                                     | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/delete-smart-collection.ts)              |
| `get-collection-product-link`          | Retrieve a single product-collection relationship ("collect") by ID.                                           | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/get-collection-product-link.ts)          |
| `get-customer-address`                 | Retrieve a single customer address by ID.                                                                      | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/get-customer-address.ts)                 |
| `get-customer-count`                   | Get the total count of customers.                                                                              | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/get-customer-count.ts)                   |
| `get-customer`                         | Retrieve a single customer by ID.                                                                              | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/get-customer.ts)                         |
| `get-discount-code-by-code`            | Look up a discount code by the code string itself (not its ID or price rule).                                  | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/get-discount-code-by-code.ts)            |
| `get-discount-code`                    | Retrieve a single discount code by its ID (scoped to its price rule).                                          | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/get-discount-code.ts)                    |
| `get-inventory-item`                   | Retrieve a single inventory item by ID.                                                                        | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/get-inventory-item.ts)                   |
| `get-inventory-levels`                 | Get available inventory quantities for inventory items, optionally scoped to locations.                        | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/get-inventory-levels.ts)                 |
| `get-location`                         | Retrieve a single location by ID.                                                                              | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/get-location.ts)                         |
| `get-manual-collection`                | Retrieve a single manual collection by ID.                                                                     | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/get-manual-collection.ts)                |
| `get-order-count`                      | Get the total count of orders, optionally filtered.                                                            | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/get-order-count.ts)                      |
| `get-order-fraud-risks`                | List fraud risk assessments for an order.                                                                      | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/get-order-fraud-risks.ts)                |
| `get-order-transactions`               | Query payment transactions for an order.                                                                       | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/get-order-transactions.ts)               |
| `get-order`                            | Retrieve a single order (via list-orders scoped by the ids param - no dedicated single-order endpoint exists). | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/get-order.ts)                            |
| `get-price-rule`                       | Retrieve a single price rule by ID.                                                                            | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/get-price-rule.ts)                       |
| `get-product-count`                    | Get the total count of products, optionally filtered.                                                          | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/get-product-count.ts)                    |
| `get-product-image`                    | Retrieve a single product image by ID.                                                                         | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/get-product-image.ts)                    |
| `get-product-variant`                  | Retrieve a single product variant by ID.                                                                       | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/get-product-variant.ts)                  |
| `get-product`                          | Retrieve a single product by ID.                                                                               | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/get-product.ts)                          |
| `get-smart-collection`                 | Retrieve a single smart collection by ID.                                                                      | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/get-smart-collection.ts)                 |
| `list-collection-product-links`        | List product-collection relationships ("collects"), filterable by product or collection.                       | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/list-collection-product-links.ts)        |
| `list-customer-addresses`              | Batch-fetch addresses for one or more customers by ID.                                                         | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/list-customer-addresses.ts)              |
| `list-customers`                       | List customers with filtering and pagination.                                                                  | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/list-customers.ts)                       |
| `list-discount-codes-for-price-rule`   | List all discount codes attached to a given price rule.                                                        | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/list-discount-codes-for-price-rule.ts)   |
| `list-inventory-items`                 | Retrieve inventory items by ID.                                                                                | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/list-inventory-items.ts)                 |
| `list-locations`                       | List all store locations.                                                                                      | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/list-locations.ts)                       |
| `list-manual-collections`              | List manual (custom) collections.                                                                              | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/list-manual-collections.ts)              |
| `list-order-fulfillments`              | List all fulfillments for an order.                                                                            | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/list-order-fulfillments.ts)              |
| `list-order-refunds`                   | List refunds associated with an order                                                                          | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/list-order-refunds.ts)                   |
| `list-orders`                          | List orders with filtering and pagination.                                                                     | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/list-orders.ts)                          |
| `list-price-rules`                     | List discount price rules with filtering and pagination.                                                       | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/list-price-rules.ts)                     |
| `list-product-images`                  | List images for a product by image IDs.                                                                        | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/list-product-images.ts)                  |
| `list-product-variants`                | List variants for a product.                                                                                   | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/list-product-variants.ts)                |
| `list-products-in-collection`          | List products belonging to a collection (manual or smart).                                                     | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/list-products-in-collection.ts)          |
| `list-products`                        | List products with filtering and pagination.                                                                   | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/list-products.ts)                        |
| `list-smart-collections`               | List smart (intelligent, rule-based) collections.                                                              | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/list-smart-collections.ts)               |
| `remove-order-risk`                    | Remove a fraud risk assessment from an order.                                                                  | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/remove-order-risk.ts)                    |
| `remove-product-from-collection`       | Remove a single product-collection relationship ("collect") by its ID                                          | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/remove-product-from-collection.ts)       |
| `search-customers`                     | Fuzzy/structured search for customers.                                                                         | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/search-customers.ts)                     |
| `set-default-customer-address`         | Mark an address as a customer's default.                                                                       | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/set-default-customer-address.ts)         |
| `set-inventory-level`                  | Set an inventory item's available quantity at a location to an absolute value.                                 | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/set-inventory-level.ts)                  |
| `update-customer-address`              | Update an existing customer address.                                                                           | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/update-customer-address.ts)              |
| `update-customer`                      | Update a customer's fields.                                                                                    | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/update-customer.ts)                      |
| `update-discount-code`                 | Update a discount code.                                                                                        | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/update-discount-code.ts)                 |
| `update-fulfillment-tracking`          | Update (overwrite) tracking info on an existing fulfillment.                                                   | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/update-fulfillment-tracking.ts)          |
| `update-inventory-item`                | Update an inventory item (e.g. enable tracking, set cost).                                                     | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/update-inventory-item.ts)                |
| `update-manual-collection`             | Update a manual collection's fields.                                                                           | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/update-manual-collection.ts)             |
| `update-order-risk`                    | Update an existing fraud risk assessment on an order.                                                          | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/update-order-risk.ts)                    |
| `update-order`                         | Update an order's fields (notes, tags, contact info, shipping address).                                        | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/update-order.ts)                         |
| `update-price-rule`                    | Update a price rule's fields.                                                                                  | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/update-price-rule.ts)                    |
| `update-product-image`                 | Update a product image's metadata (alt text, position, variant association).                                   | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/update-product-image.ts)                 |
| `update-product-variant`               | Update a product variant's fields.                                                                             | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/update-product-variant.ts)               |
| `update-product`                       | Update a product's fields, including adding options, variants, and media.                                      | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/update-product.ts)                       |
| `update-smart-collection`              | Update a smart collection's fields or rules.                                                                   | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/actions/update-smart-collection.ts)              |
| `customers`                            | Sync customers, including embedded addresses and marketing consent                                             | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/syncs/customers.ts)                              |
| `discount-codes`                       | Sync discount codes (the redeemable code strings), scoped per price rule.                                      | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/syncs/discount-codes.ts)                         |
| `locations`                            | Sync store locations.                                                                                          | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/syncs/locations.ts)                              |
| `manual-collections`                   | Sync manual (custom) collections from SHOPLINE                                                                 | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/syncs/manual-collections.ts)                     |
| `orders`                               | Sync orders, including embedded line items, fulfillments, refunds, and payment details.                        | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/syncs/orders.ts)                                 |
| `price-rules`                          | Sync discount price rules (the rule/scope/value definitions backing discount codes).                           | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/syncs/price-rules.ts)                            |
| `products`                             | Sync products, including their embedded variants, options, and images/media.                                   | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/syncs/products.ts)                               |
| `smart-collections`                    | Sync smart (intelligent, rule-based) collections.                                                              | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopline-oauth/syncs/smart-collections.ts)                      |

***
