# Zapier — SHOPLINE Integrations
> zapier.com/apps/shopline/integrations
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Identity
SHOPLINE is an Software as a Service (SaaS) company that focuses on facilitating global omnichannel e-commerce brands to do business via DTC websites.

- App slug: shopline
- Operations published here: 20 (6 events, 8 functions, 3 queries, 3 search-or-write actions)

## Authentication
Zapier connects to SHOPLINE via oauth. Your code references a connection, not a raw credential.

- Auth type: oauth
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection shopline
```

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`.

Zap editor: every operation below is also configurable without code at zapier.com/apps/shopline/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect SHOPLINE through mcp.zapier.com to expose these operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli` (see Authentication above to connect an account)

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · create_customer`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "shopline", owner: "me" });

const { data } = await zapier.runAction({
  app: "shopline",
  actionType: "write",
  action: "create_customer",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action shopline write create_customer \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing SHOPLINE's actions, or a search action's matches. In TypeScript, iterate with `.pages()` or `.items()` rather than assuming a single page:

```typescript
for await (const action of zapier.listActions({ app: "shopline" }).items()) {
  console.log(action.key);
}
```

From the shell, the same `--cursor`/`--max-items`/`--page-size` flags work on `list-actions` and directly on `run-action`. Add `--json` for output a script can parse instead of formatted text:

```bash
npx zapier-sdk list-actions shopline --page-size 50 --max-items 200 --json
```

### Events (6)

Events fire when something happens in SHOPLINE. Use them to start a run.

#### New Cancelled Order
Triggers when an order is "cancelled".

- Type: read · Key: `cancel_order`
- Requires: nothing
- SDK: `runAction({ app: "shopline", actionType: "read", action: "cancel_order" })`
- CLI: `npx zapier-sdk run-action shopline read cancel_order`

#### New Customer
Triggers when a new customer is added to your Shopline account.

- Type: read · Key: `create_customer`
- Requires: nothing
- SDK: `runAction({ app: "shopline", actionType: "read", action: "create_customer" })`
- CLI: `npx zapier-sdk run-action shopline read create_customer`

#### New Order
Triggers when a new order is added to your Shopline account.

- Type: read · Key: `create_order`
- Requires: nothing
- Optional: financial_status, fulfillment_status, order_status
- SDK: `runAction({ app: "shopline", actionType: "read", action: "create_order" })`
- CLI: `npx zapier-sdk run-action shopline read create_order`

#### New Product
Triggers when a new customer is added to your Shopline account.

- Type: read · Key: `create_product`
- Requires: nothing
- SDK: `runAction({ app: "shopline", actionType: "read", action: "create_product" })`
- CLI: `npx zapier-sdk run-action shopline read create_product`

#### Updated Customer
Triggers when a customer's information is updated.

- Type: read · Key: `update_customer`
- Requires: nothing
- SDK: `runAction({ app: "shopline", actionType: "read", action: "update_customer" })`
- CLI: `npx zapier-sdk run-action shopline read update_customer`

#### Updated Order
Triggers when an order is updated (with line item support).

- Type: read · Key: `update_order`
- Requires: nothing
- Optional: financial_status, fulfillment_status, order_status
- SDK: `runAction({ app: "shopline", actionType: "read", action: "update_order" })`
- CLI: `npx zapier-sdk run-action shopline read update_order`

### Functions (8)

Functions change something in SHOPLINE.

#### Create Customer
Creates a new customer

- Type: write · Key: `create_customer`
- Requires: first_name, last_name, email
- Optional: company_name, address1, address2, city, state, country, country_code, zip, phone, tags, accepts_marketing
- SDK: `runAction({ app: "shopline", actionType: "write", action: "create_customer" })`
- CLI: `npx zapier-sdk run-action shopline write create_customer`

#### Create Order
Creates a new order (with line item support).

- Type: write · Key: `create_order`
- Requires: nothing
- Optional: email, product_id, variant_id, quantity, price, title, location_id, note, shipping_address_first_name, shipping_address_last_name, shipping_address_company, shipping_address_email, shipping_address_phone, shipping_address_address1, shipping_address_address2, shipping_address_city, shipping_address_country, shipping_address_state, shipping_address_zip, billing_address_first_name, billing_address_last_name, billing_address_company, billing_address_email, billing_address_phone, billing_address_address1, billing_address_address2, billing_address_city, billing_address_country, billing_address_state, billing_address_zip, send_receipt, send_fulfillment_receipt, inventory_behaviour, financial_status, fulfillment_status, current_extra_total_discounts, taxes_included, total_shipping_price
- SDK: `runAction({ app: "shopline", actionType: "write", action: "create_order" })`
- CLI: `npx zapier-sdk run-action shopline write create_order`

#### Create Product
Creates a new product

- Type: write · Key: `create_product`
- Requires: title
- Optional: subtitle, vendor, body_html, tags, images_src, spu, is_publish
- SDK: `runAction({ app: "shopline", actionType: "write", action: "create_product" })`
- CLI: `npx zapier-sdk run-action shopline write create_product`

#### Create Product Variant
Create a new product variant.

- Type: write · Key: `create_product_variant`
- Requires: option1, price
- Optional: product_id, compare_at_price, sku
- SDK: `runAction({ app: "shopline", actionType: "write", action: "create_product_variant" })`
- CLI: `npx zapier-sdk run-action shopline write create_product_variant`

#### Update Customer
Updates an existing customer. Replaces only data that is set.

- Type: write · Key: `update_customer`
- Requires: nothing
- Optional: customer_id, first_name, last_name, email, tags, phone, accepts_marketing
- SDK: `runAction({ app: "shopline", actionType: "write", action: "update_customer" })`
- CLI: `npx zapier-sdk run-action shopline write update_customer`

#### Update Inventory Quantity
Updates the quantity of an existing product variant.

- Type: write · Key: `update_inventory_quantity`
- Requires: location_id, product_id, inventory_item_id
- Optional: available_adjustment, available
- SDK: `runAction({ app: "shopline", actionType: "write", action: "update_inventory_quantity" })`
- CLI: `npx zapier-sdk run-action shopline write update_inventory_quantity`

#### Update Product
Updates an existing product. Replaces only data that is set.

- Type: write · Key: `update_product`
- Requires: nothing
- Optional: product_id, title, subtitle, vendor, body_html, tags, images_src, spu, is_publish
- SDK: `runAction({ app: "shopline", actionType: "write", action: "update_product" })`
- CLI: `npx zapier-sdk run-action shopline write update_product`

#### Update Product Variant
Updates an existing product variant. Replaces only data that is set.

- Type: write · Key: `update_product_variant`
- Requires: product_id, variant_id
- Optional: price, compare_at_price, sku
- SDK: `runAction({ app: "shopline", actionType: "write", action: "update_product_variant" })`
- CLI: `npx zapier-sdk run-action shopline write update_product_variant`

### Queries (3)

Queries read from SHOPLINE and return data. They change nothing.

#### Find Customer by Email
Finds a customer by email. Optionally, create a customer if none are found.

- Type: search · Key: `find_customer`
- Requires: email
- SDK: `runAction({ app: "shopline", actionType: "search", action: "find_customer" })`
- CLI: `npx zapier-sdk run-action shopline search find_customer`

#### Find Product by Title
Finds a product by title search Optionally, create a product if none are found.

- Type: search · Key: `find_product_by_title`
- Requires: title
- SDK: `runAction({ app: "shopline", actionType: "search", action: "find_product_by_title" })`
- CLI: `npx zapier-sdk run-action shopline search find_product_by_title`

#### Find Product Variant by Title
Finds a Product variant by title search Optionally, create a variant if none are found

- Type: search · Key: `find_variant_by_title`
- Requires: product_id, title
- SDK: `runAction({ app: "shopline", actionType: "search", action: "find_variant_by_title" })`
- CLI: `npx zapier-sdk run-action shopline search find_variant_by_title`

### Search or Write Actions (3)

These operations search for a match first, and create one only if nothing is found.

#### Find or Create Customers
Finds a customer by email. Optionally, create a customer if none are found.

- Type: search_or_write · Key: `find_customer`
- Requires: email, first_name, last_name
- Optional: company_name, address1, address2, city, state, country, country_code, zip, phone, tags, accepts_marketing
- SDK: `runAction({ app: "shopline", actionType: "search_or_write", action: "find_customer" })`
- CLI: `npx zapier-sdk run-action shopline search_or_write find_customer`

#### Find or Create Products
Finds a product by title search Optionally, create a product if none are found.

- Type: search_or_write · Key: `find_product_by_title`
- Requires: title
- Optional: subtitle, vendor, body_html, tags, images_src, spu, is_publish
- SDK: `runAction({ app: "shopline", actionType: "search_or_write", action: "find_product_by_title" })`
- CLI: `npx zapier-sdk run-action shopline search_or_write find_product_by_title`

#### Find or Create Product Variant
Finds a Product variant by title search Optionally, create a variant if none are found

- Type: search_or_write · Key: `find_variant_by_title`
- Requires: product_id, title, option1, price
- Optional: compare_at_price, sku
- SDK: `runAction({ app: "shopline", actionType: "search_or_write", action: "find_variant_by_title" })`
- CLI: `npx zapier-sdk run-action shopline search_or_write find_variant_by_title`

## Popular integrations
- [SHOPLINE + WooCommerce](zapier.com/apps/shopline/integrations/woocommerce.md)
- [SHOPLINE + ShipStation](zapier.com/apps/shopline/integrations/shipstation.md)
- [SHOPLINE + RO App](zapier.com/apps/shopline/integrations/ro-app.md)
- [SHOPLINE + SleekFlow](zapier.com/apps/shopline/integrations/sleekflow.md)
- [SHOPLINE + GoodAPI: Plant Trees](zapier.com/apps/shopline/integrations/goodapi-plant-trees.md)
- [SHOPLINE + 1ClickImpact](zapier.com/apps/shopline/integrations/1clickimpact.md)
- [SHOPLINE + Microsoft SharePoint](zapier.com/apps/shopline/integrations/sharepoint.md)
- [SHOPLINE + Shippo](zapier.com/apps/shopline/integrations/shippo.md)
- [SHOPLINE + PassKit Membership](zapier.com/apps/shopline/integrations/passkit-membership.md)
- [SHOPLINE + Shopstar](zapier.com/apps/shopline/integrations/shopstar.md)
- [SHOPLINE + WhatsApp Business](zapier.com/apps/shopline/integrations/whatsapp-business.md)
- [SHOPLINE + SQL Server](zapier.com/apps/shopline/integrations/sql-server.md)
- [SHOPLINE + Lightspeed Retail POS (X-Series)](zapier.com/apps/shopline/integrations/lightspeed-retail-pos-x-series.md)
- [SHOPLINE + Epson Connect](zapier.com/apps/shopline/integrations/epson-connect.md)
- [SHOPLINE + Kwixéo](zapier.com/apps/shopline/integrations/kwixeo.md)
- [SHOPLINE + Bookafy](zapier.com/apps/shopline/integrations/bookafy.md)
- [SHOPLINE + Seller.Tools](zapier.com/apps/shopline/integrations/sellertools.md)

## Links
- Full app page: zapier.com/apps/shopline/integrations
- MCP: zapier.com/mcp/shopline
- SDK: npmjs.com/package/@zapier/zapier-sdk