# EditionGuard + Magento 2.X Integrations: Connect with Zapier MCP
> zapier.com/apps/editionguard/integrations/magento-v2
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate EditionGuard and Magento 2.X 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 · customer`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action magento-v2 write customer \
  --inputs '{}'
```

## EditionGuard

### Identity
EditionGuard provides you freedom with eBook selling tools that are easy to use and customize, built on top of an industry standard DRM system for security. Now you can sell eBooks the way that makes you happy, without having to give up on your profits.

- App slug: editionguard
- Operations published here: 3 (1 event, 1 function, 1 query)

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

- Auth type: other
- 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 editionguard
```

### Capabilities

#### Events (1)

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

##### Get Books
Triggers when getting list of book resource ids under your account.

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

#### Functions (1)

Functions change something in EditionGuard.

##### Send eBook Download Links
This action will create a transaction for a given e-book and send the download link(s) to your customers. The returned response will include a download link for fulfillment of the transaction. You may extract and deliver this link to your end-users by any means you prefer through other Zapier integrations.

- Type: write · Key: `send_download_links`
- Requires: ebook_title, resource, website_name, customer_email, order_number, quantity
- SDK: `runAction({ app: "editionguard", actionType: "write", action: "send_download_links" })`
- CLI: `npx zapier-sdk run-action editionguard write send_download_links`

#### Queries (1)

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

##### Find EBook by Resource Id
Using this search, you can find an eBook on your EditionGuard account using its unique resource id.

- Type: search · Key: `find_ebook_by_resource_id`
- Requires: nothing
- Optional: resource_id
- SDK: `runAction({ app: "editionguard", actionType: "search", action: "find_ebook_by_resource_id" })`
- CLI: `npx zapier-sdk run-action editionguard search find_ebook_by_resource_id`

## Magento 2.X

### Identity
Magento 2.X is the premier open source e-commerce app used by millions of customers each and every day.

- App slug: magento-v2
- Operations published here: 8 (6 events, 2 functions)

### Authentication
Zapier connects to Magento 2.X via other. Your code references a connection, not a raw credential.

- Auth type: other
- 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 magento-v2
```

### Capabilities

#### Events (6)

Events fire when something happens in Magento 2.X. Use them to start a run.

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

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

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

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

##### New Order
Triggers when a new order is created (with line item support).

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

##### New Sales Order Credit Memo
Triggers when a new sales order creditmemo is created.

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

##### New Sales Order Invoice
Triggers when a new sales order invoice is created (with line item support).

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

##### New Sales Order Shipment
Triggers when a new sales order is created (with line item support).

- Type: read · Key: `sales_order_shipment`
- Requires: nothing
- Optional: shipment_delay_notice, delay_for_tracking_data
- SDK: `runAction({ app: "magento-v2", actionType: "read", action: "sales_order_shipment" })`
- CLI: `npx zapier-sdk run-action magento-v2 read sales_order_shipment`

#### Functions (2)

Functions change something in Magento 2.X.

##### Create Customer
Create a new customer

- Type: write · Key: `customer`
- Requires: email, firstname, lastname, password
- Optional: middlename, prefix, suffix, gender, dob, default_billing, default_shipping, taxvat, group_id, store_id, website_id
- SDK: `runAction({ app: "magento-v2", actionType: "write", action: "customer" })`
- CLI: `npx zapier-sdk run-action magento-v2 write customer`

##### Create Sales Order Comment
Create a new sales order comment

- Type: write · Key: `sales_order_comment`
- Requires: order_id
- Optional: comment, is_customer_notified, is_visible_on_front
- SDK: `runAction({ app: "magento-v2", actionType: "write", action: "sales_order_comment" })`
- CLI: `npx zapier-sdk run-action magento-v2 write sales_order_comment`

## Links
- EditionGuard integrations: zapier.com/apps/editionguard/integrations.md
- Magento 2.X integrations: zapier.com/apps/magento-v2/integrations.md
- Full page: zapier.com/apps/editionguard/integrations/magento-v2
- SDK: npmjs.com/package/@zapier/zapier-sdk