# GrazeCart + Affiliatly Integrations: Connect with Zapier MCP
> zapier.com/apps/grazecart/integrations/affiliatly
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate GrazeCart and Affiliatly 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, `read · edit_affiliate`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action affiliatly read edit_affiliate \
  --inputs '{}'
```

## GrazeCart

### Identity
Sell more and streamline operations with the easiest eCommerce platform built for perishable food suppliers.

- App slug: grazecart
- Operations published here: 3 (3 events)

### Authentication
Zapier connects to GrazeCart 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 grazecart
```

### Capabilities

#### Events (3)

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

##### Customer Registered
Triggers when a new customer registers on your site.

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

##### Order Placed
Triggers when a new order is placed that meets any configured criteria.

- Type: read · Key: `orders_create`
- Requires: nothing
- Optional: delivery_methods, sales_channels
- SDK: `runAction({ app: "grazecart", actionType: "read", action: "orders_create" })`
- CLI: `npx zapier-sdk run-action grazecart read orders_create`

##### Subscription Created
Triggers when a customer places a new subscription order.

- Type: read · Key: `subscribers_create`
- Requires: nothing
- Optional: delivery_methods, sales_channels
- SDK: `runAction({ app: "grazecart", actionType: "read", action: "subscribers_create" })`
- CLI: `npx zapier-sdk run-action grazecart read subscribers_create`

## Affiliatly

### Identity
Affiliatly is an affiliate tracking software for e-commerce store owners.

- App slug: affiliatly
- Operations published here: 7 (7 events)

### Authentication
Zapier connects to Affiliatly 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 affiliatly
```

### Capabilities

#### Events (7)

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

##### Updated Affiliate
Triggers when there is an update in the affiliate's data made by the administrator or staff member.

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

##### Updated Order
Triggers when the order's data is edited in the app, manually or automatically.

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

##### New Affiliate Registration
Triggers when new affiliate registers for your affiliate program and includes the affiliate's data.

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

##### New Order Tracked
Triggers when new order is tracked and associated with an affiliate.

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

##### Marked Payout Affiliate
Triggers when the affiliate's earnings were marked as paid.

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

##### Affiliate Reached Payout
Triggers when the affiliate generated enough earnings and have reached the minimum payout sum.

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

##### Removed Affiliate
Triggers when an affiliate's account is removed by the administrator or staff member.

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

## Links
- GrazeCart integrations: zapier.com/apps/grazecart/integrations.md
- Affiliatly integrations: zapier.com/apps/affiliatly/integrations.md
- Full page: zapier.com/apps/grazecart/integrations/affiliatly
- SDK: npmjs.com/package/@zapier/zapier-sdk