# Ecwid by Lightspeed + LearnWorlds Integrations: Connect with Zapier MCP
> zapier.com/apps/ecwid/integrations/learnworlds
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Ecwid by Lightspeed and LearnWorlds in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## 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

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

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

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action learnworlds write addCombo \
  --inputs '{}'
```

## Ecwid by Lightspeed

### Identity
Ecwid by Lightspeed is a cloud online store builder which lets you instantly launch an online store on any website, Facebook page, or multiple sites simultaneously.

- App slug: ecwid
- Operations published here: 18 (7 events, 6 functions, 3 queries, 2 search-or-write actions)

### Authentication
Zapier connects to Ecwid by Lightspeed 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 ecwid
```

### Capabilities

#### Events (7)

Events fire when something happens in Ecwid by Lightspeed. Use them to start a run.

##### New Abandoned Cart
Triggered when a customer leaves an online store without making a purchase.

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

##### New Customer
Triggers when a new customer is created.

- Type: read · Key: `new_customer`
- Requires: nothing
- Optional: email, acceptMarketing
- SDK: `runAction({ app: "ecwid", actionType: "read", action: "new_customer" })`
- CLI: `npx zapier-sdk run-action ecwid read new_customer`

##### New Order
Triggered when a new invoice is placed (with line item support).

- Type: read · Key: `new_order_with_lines`
- Requires: nothing
- Optional: paymentStatus, fulfillmentStatus
- SDK: `runAction({ app: "ecwid", actionType: "read", action: "new_order_with_lines" })`
- CLI: `npx zapier-sdk run-action ecwid read new_order_with_lines`

##### New Paid Order
Triggered when a new paid order is placed (with line item support).

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

##### New Pickup Order
Triggered when a new pickup order is placed (with line item support).

- Type: read · Key: `new_pickup_order_with_lines`
- Requires: nothing
- Optional: paymentStatus, fulfillmentStatus
- SDK: `runAction({ app: "ecwid", actionType: "read", action: "new_pickup_order_with_lines" })`
- CLI: `npx zapier-sdk run-action ecwid read new_pickup_order_with_lines`

##### New Product
Triggers when a new product is created.

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

##### New Shipping Order
Triggered when a new shipping order is placed (with line item support, without pickup orders).

- Type: read · Key: `new_shipping_order_with_lines`
- Requires: nothing
- Optional: paymentStatus, fulfillmentStatus
- SDK: `runAction({ app: "ecwid", actionType: "read", action: "new_shipping_order_with_lines" })`
- CLI: `npx zapier-sdk run-action ecwid read new_shipping_order_with_lines`

#### Functions (6)

Functions change something in Ecwid by Lightspeed.

##### Create Customer
Creates a new customer.

- Type: write · Key: `create_customer`
- Requires: email
- Optional: password, customerGroupId, name
- SDK: `runAction({ app: "ecwid", actionType: "write", action: "create_customer" })`
- CLI: `npx zapier-sdk run-action ecwid write create_customer`

##### Create Discount Coupon
Creates a discount coupon.

- Type: write · Key: `create_discount_coupon`
- Requires: name, code
- Optional: discount, discountType, status, launchDate, expirationDate, totalLimit, usesLimit, applicationLimit, orderCount, repeatCustomerOnly, catalogLimitProducts, catalogLimitCategories
- SDK: `runAction({ app: "ecwid", actionType: "write", action: "create_discount_coupon" })`
- CLI: `npx zapier-sdk run-action ecwid write create_discount_coupon`

##### Create Order
Creates a new order.

- Type: write · Key: `create_order`
- Requires: email, paymentStatus, fulfillmentStatus, name, price, quantity
- Optional: sku, weight, paymentMethod, total, tax, orderComments, shippingRate, shippingPersonName, shippingMethodName, shippingPersonCompanyName, shippingPersonStreet, shippingPersonCity, shippingPersonCountryCode, shippingPersonPostalCode, shippingPersonStateOrProvinceCode, shippingPersonPhone, billingPersonName, billingPersonCompanyName, billingPersonStreet, billingPersonCity, billingPersonCountryCode, billingPersonPostalCode, billingPersonStateOrProvinceCode, billingPersonPhone, subtotal, paymentModule, customerTaxExempt, customerTaxId, customerTaxIdValid, reversedTaxApplied, ipAddress, couponDiscount, refererUrl, volumeDiscount, customerId, hidden, membershipBasedDiscount, totalAndMembershipBasedDiscount, discount, globalReferer, createDate, customerGroup, trackingNumber, paymentMessage, externalTransactionId, affiliateId, privateAdminNotes, pickupTime, acceptMarketing, disableAllCustomerNotifications, externalFulfillment, externalOrderId
- SDK: `runAction({ app: "ecwid", actionType: "write", action: "create_order" })`
- CLI: `npx zapier-sdk run-action ecwid write create_order`

##### Create Product
Creates a new product.

- Type: write · Key: `create_product`
- Requires: name, price
- Optional: sku, description, quantity, weight, enabled, unlimited, compareToPrice, isShippingRequired, warningLimit
- SDK: `runAction({ app: "ecwid", actionType: "write", action: "create_product" })`
- CLI: `npx zapier-sdk run-action ecwid write create_product`

##### Update Product
Update an existing product in an Ecwid store referring to its ID.

- Type: write · Key: `update_product`
- Requires: productId
- Optional: sku, name, quantity, unlimited, price, compareToPrice, weight, enabled, description
- SDK: `runAction({ app: "ecwid", actionType: "write", action: "update_product" })`
- CLI: `npx zapier-sdk run-action ecwid write update_product`

##### Upload Main Image
If the product already has an image attached, the uploaded image will replace the existing one. Maximum allowed file size is 20Mb. JPG, PNG, and GIF are accepted.

- Type: write · Key: `upload_main_image`
- Requires: productId, externalUrl
- SDK: `runAction({ app: "ecwid", actionType: "write", action: "upload_main_image" })`
- CLI: `npx zapier-sdk run-action ecwid write upload_main_image`

#### Queries (3)

Queries read from Ecwid by Lightspeed and return data. They change nothing.

##### Find Customer
Search for customers by a keyword or basic filters: number of orders made, name, email, customer group and more.

- Type: search · Key: `find_customer`
- Requires: nothing
- Optional: keyword, name, email, groupId, minOrderCount, maxOrderCount, acceptMarketing, createdFrom, createdTo, updatedFrom, updatedTo
- SDK: `runAction({ app: "ecwid", actionType: "search", action: "find_customer" })`
- CLI: `npx zapier-sdk run-action ecwid search find_customer`

##### Find Order
Search orders in an Ecwid store. The response provides full details of the found orders.

- Type: search · Key: `find_order`
- Requires: nothing
- Optional: keywords, orderNumber, vendorOrderNumber, email, customerId, paymentStatus, fulfillmentStatus, acceptMarketing, refererId, productId, couponCode, totalFrom, totalTo, createdFrom, createdTo, updatedFrom, updatedTo, paymentMethod, shippingMethod
- SDK: `runAction({ app: "ecwid", actionType: "search", action: "find_order" })`
- CLI: `npx zapier-sdk run-action ecwid search find_order`

##### Find Product
Search products in a store catalog.

- Type: search · Key: `find_product_with_lines`
- Requires: nothing
- Optional: keyword, sku, productId, enabled
- SDK: `runAction({ app: "ecwid", actionType: "search", action: "find_product_with_lines" })`
- CLI: `npx zapier-sdk run-action ecwid search find_product_with_lines`

#### Search or Write Actions (2)

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

##### Find or Create Customer
Search for customers by a keyword or basic filters: number of orders made, name, email, customer group and more.

- Type: search_or_write · Key: `find_customer`
- Requires: email
- Optional: keyword, name, groupId, minOrderCount, maxOrderCount, acceptMarketing, createdFrom, createdTo, updatedFrom, updatedTo, password, customerGroupId
- SDK: `runAction({ app: "ecwid", actionType: "search_or_write", action: "find_customer" })`
- CLI: `npx zapier-sdk run-action ecwid search_or_write find_customer`

##### Find or Create Product
Search products in a store catalog.

- Type: search_or_write · Key: `find_product_with_lines`
- Requires: name, price
- Optional: keyword, sku, productId, enabled, description, quantity, weight, unlimited, compareToPrice, isShippingRequired, warningLimit
- SDK: `runAction({ app: "ecwid", actionType: "search_or_write", action: "find_product_with_lines" })`
- CLI: `npx zapier-sdk run-action ecwid search_or_write find_product_with_lines`

## LearnWorlds

### Identity
LearnWorlds is a premium learning platform via which you sell online courses under your own website.

- App slug: learnworlds
- Operations published here: 32 (23 events, 8 functions, 1 query)

### Authentication
Zapier connects to LearnWorlds 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 learnworlds
```

### Capabilities

#### Events (23)

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

##### Assessment Completed
Triggers when a new assessment is completed.

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

##### New Certificate (Legacy)
Triggers when a user is awarded a certificate.

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

##### New Certificate
Triggers when a user is awarded a certificate.

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

##### Course Completed
Triggers when a user completes a course.

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

##### User Enrolled in Product
Triggers when a user is enrolled in a product (free, paid or private course, bundle or subscription).

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

##### New Lead (Legacy)
Triggers when a new email lead is captured.

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

##### New Lead
Triggers when a new email lead is captured.

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

##### Learning Program Completed
Triggers when a user completes a learning program.

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

##### Learning Activity Completed
Triggers when a user completes a learning activity.

- Type: read · Key: `lessonCompleted`
- Requires: course_id, unit_id
- SDK: `runAction({ app: "learnworlds", actionType: "read", action: "lessonCompleted" })`
- CLI: `npx zapier-sdk run-action learnworlds read lessonCompleted`

##### Order Paid
Triggers when an order is paid.

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

##### Payment Created
Triggers when a payment transaction for a purchase (including one-off purchase, subscription payment, or installment of a payment plan) is successfully charged. For a subscription or a payment plan, a new transaction is created for every single payment.

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

##### Payment Failed
Triggers when a recurring payment has failed (only for stripe installments and subscriptions).

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

##### User Previewed a Free Section
Triggers when a user has previewed a free section of a paid course.

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

##### New Enrollment Purchase (Legacy)
Triggers when a user is enrolled in or purchases a paid product.

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

##### Subscription or Payment Plan Canceled
Triggers when a user cancels their subscription or payment plan.

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

##### Subscription Updated
Triggers when a subscription is updated (either planned for cancellation or renewed, or the selected plan has been updated).

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

##### New Form Submission
Triggers when a new form is submitted.

- Type: read · Key: `surveySubmission`
- Requires: source, survey
- SDK: `runAction({ app: "learnworlds", actionType: "read", action: "surveySubmission" })`
- CLI: `npx zapier-sdk run-action learnworlds read surveySubmission`

##### Tag Added
Triggers when a selected tag is added to a user.

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

##### Tag Removed
Triggers when a selected tag is removed from a user.

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

##### User Unenrolled From Product
Triggers when a user is unenrolled from a product (paid or private course, bundle or subscription).

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

##### New User (Legacy)
Triggers when a new user is registered.

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

##### New User
Triggers when a new user is registered.

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

##### User Updated
Triggers when a user profile is updated.

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

#### Functions (8)

Functions change something in LearnWorlds.

##### Create and Enroll User (Legacy)
Adds a new user and also gives access to a paid course or bundle.

- Type: write · Key: `addCombo`
- Requires: username, email, product
- Optional: price, justification, avatar, phone, address, country, birthday, company, company_size, website, university, graduation_date
- SDK: `runAction({ app: "learnworlds", actionType: "write", action: "addCombo" })`
- CLI: `npx zapier-sdk run-action learnworlds write addCombo`

##### Enroll User in Product (Legacy)
Gives the user access to a paid course or bundle.

- Type: write · Key: `addProduct`
- Requires: email, product
- Optional: price, justification
- SDK: `runAction({ app: "learnworlds", actionType: "write", action: "addProduct" })`
- CLI: `npx zapier-sdk run-action learnworlds write addProduct`

##### Add Tags to User
Adds one or more tags to a Learnworlds User.

- Type: write · Key: `addTag`
- Requires: email, tags
- SDK: `runAction({ app: "learnworlds", actionType: "write", action: "addTag" })`
- CLI: `npx zapier-sdk run-action learnworlds write addTag`

##### Create User (Legacy)
Adds a new user to the school.

- Type: write · Key: `addUser`
- Requires: username, email
- Optional: phone, address, country, birthday, company, company_size, website, university, graduation_date
- SDK: `runAction({ app: "learnworlds", actionType: "write", action: "addUser" })`
- CLI: `npx zapier-sdk run-action learnworlds write addUser`

##### Create User
Adds a new user to the school. If a user with this email already exists, this user will be updated.

- Type: write · Key: `addUserV2`
- Requires: first_name, email
- Optional: last_name
- SDK: `runAction({ app: "learnworlds", actionType: "write", action: "addUserV2" })`
- CLI: `npx zapier-sdk run-action learnworlds write addUserV2`

##### Enroll User in Product
Gives the user access to a product: a course (paid, private) or bundle. If a user with this email already exists in Learnworlds, this user will be enrolled in the selected product. If not, then a new user will be created and then enrolled in the selected product.

- Type: write · Key: `enrollToProduct`
- Requires: email, product
- Optional: first_name, last_name, price, send_welcome_product_email, justification
- SDK: `runAction({ app: "learnworlds", actionType: "write", action: "enrollToProduct" })`
- CLI: `npx zapier-sdk run-action learnworlds write enrollToProduct`

##### Remove Tags From User
Removes one or more tags from a Learnworlds User.

- Type: write · Key: `removeTag`
- Requires: email, tags
- SDK: `runAction({ app: "learnworlds", actionType: "write", action: "removeTag" })`
- CLI: `npx zapier-sdk run-action learnworlds write removeTag`

##### Unenroll User From Product
Removes access from a course (paid, private) or bundle for the given user.

- Type: write · Key: `unenroll`
- Requires: email, product
- SDK: `runAction({ app: "learnworlds", actionType: "write", action: "unenroll" })`
- CLI: `npx zapier-sdk run-action learnworlds write unenroll`

#### Queries (1)

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

##### Find a User
Searches for a user in Learnworlds by email or user id.

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

## Links
- Ecwid by Lightspeed integrations: zapier.com/apps/ecwid/integrations.md
- LearnWorlds integrations: zapier.com/apps/learnworlds/integrations.md
- Full page: zapier.com/apps/ecwid/integrations/learnworlds
- SDK: npmjs.com/package/@zapier/zapier-sdk