Skip to content
Commerce Layer logoCommerce Layer logo

Commerce Layer Integrations

eCommerce

Build Commerce Layer automations with your AI agent. Run them on Zapier.

Add Zapier to Claude, ChatGPT, Cursor, or another AI agent, and your agent can build automations across Commerce Layer and 10,000+ other apps.
apps to connect
10,000+
ways to start a workflow
24
available app actions
46
  • Dependable AI workflows
  • Full audit trails and controls
  • Easy visual workflow manager
  • Free tier available
  • SOC 2 Type II, SOC 3, GDPR, and CCPA compliant

Top teams trust Zapier to automate work

  • Samsung
  • Okta
  • Mastercard
  • Nvidia
  • Airbnb

Commerce Layer MCP server: connect Commerce Layer to your AI agent with Zapier

Install Zapier once, then tell your agent what you want done. Behind the scenes, Zapier MCP finds the right triggers and actions to use with Commerce Layer and runs them—all with your credentials managed by Zapier and kept out of the model.

Paste into any AI tool
Connect to Zapier MCP at https://mcp.zapier.com/api/v1/connect and help me sign in to Zapier or sign up. Then connect my Commerce Layer account and help me build a Zap with Commerce Layer: ask me what I want to automate. Read the setup steps at https://zapier.com/AGENTS.md if you can't connect.

Paste this prompt into Claude, ChatGPT, Cursor, or your preferred AI agent to build Commerce Layer automations.

MCP server · Streamable HTTP
https://mcp.zapier.com/api/v1/connect

Install this server in Claude, ChatGPT, Cursor, VS Code, or any MCP client. You sign in once with OAuth.

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection commerce-layer

Call any app action from TypeScript. Zapier handles OAuth, token refresh, retries, and rate limits.

Terminal · no project
npx @zapier/install-zapier

Run this command to print setup instructions for your client, then follow the prompts to sign in.

Ask your AI agent to do it

Tell Claude, ChatGPT, or your go-to AI agent to install Zapier MCP, and it’ll get you started with Zapier.

Wire it into your own code

Connect your agent to Commerce Layer and 10,000+ more apps with the TypeScript SDK. Zapier handles OAuth and token refresh.

Set it up from your terminal

Tell your coding agent to run one command. It installs Zapier MCP so your agent can use Commerce Layer and other apps.

Use a premade Commerce Layer automation template to start building from anywhere: in your go-to agent interface, in code, or in Zapier.

With Zapier MCP installed, your AI agent can build automations across 10,000+ apps and 90,000+ triggers and actions. Automations run reliably on Zapier from an app event, on a schedule (cron), or from a webhook. Here are the Commerce Layer triggers and actions your agent can build with right away.

  • New Attachment

    Triggers when a new Attachment is created.

  • New Customer Event

    Triggers when a given customer event is fired.

  • New Customer

    Triggers when a new Customer is created.

  • New Customer Address Event

    Triggers when a customer address is created.

  • New Customer Subscription Event

    Triggers when a given customer_subscription event (one of create or destroy) is fired.

  • New Customer Password Reset Event

    Triggers when a customer password reset is requested.

  • New Gift Card Event

    Triggers when a given gift card event (one of purchase, activate, deactivate, redeem) is fired.

  • New Gift Card

    Triggers when a new Gift Card is created.

Your agent picks the right Commerce Layer action from what you ask. Connect Zapier once and it can use 57 Commerce Layer tools, each with typed inputs. Zapier handles Commerce Layer’s login, so you never paste an API key. The same actions run from TypeScript through the Zapier SDK.

Set up Commerce Layer MCP in Claude, Claude Code, ChatGPT, Cursor, and Codex

Zapier MCP works with any MCP client that supports Streamable HTTP. Connect or add Zapier in your AI tool, sign in when prompted, then ask for Commerce Layer.

MCP server · Streamable HTTP · OAuth
https://mcp.zapier.com/api/v1/connect
  • Claude

    Connect Zapier in Claude and sign in when prompted. Claude setup guide

  • Claude Code

    Install Zapier MCP in Claude Code, then sign in from the terminal. Claude Code setup guide

  • ChatGPT

    Connect Zapier in ChatGPT and approve the sign-in. ChatGPT setup guide

  • Cursormcp.json

    Add Zapier to Cursor and sign in. Cursor setup guide

  • Codex

    Add Zapier to Codex and sign in. Codex setup guide

  • VS Code and other clientsmcp.json

    Add Zapier to any MCP client that supports Streamable HTTP.

  • OpenCodeopencode.json

    Add Zapier to OpenCode.

  • Terminal auto-installer

    Install Zapier MCP in whichever client you have.

How your agent gets these tools

  1. Connect Zapier to your AI tool (pick yours above) and sign in once in the browser. Zapier sets up your MCP server, with no token to paste.
  2. Ask your agent to connect Commerce Layer. It calls discover_zapier_actions to find the Commerce Layer actions, then enable_zapier_action to add them.
  3. Approve the Commerce Layer sign-in when prompted. If Commerce Layer isn’t connected yet, the first call returns a sign-in link.
  4. Ask for what you want done in plain language. Each enabled action becomes its own tool, named as below. Until then, execute_zapier_read_action and execute_zapier_write_action run it.

Use Commerce Layer in 36 AI tools with Zapier MCP

57 Commerce Layer MCP tools

ToolMCP nameWhat it does
New Attachmentcommerce_layer_new_attachment

Trigger · Read-only. Triggers when a new Attachment is created.

New Customer Eventcommerce_layer_new_customer_event

Trigger · Read-only. Triggers when a given customer event is fired.

Required: event (Customer event)

Optional: include_resources (Include resources)

New Customercommerce_layer_new_customer

Trigger · Read-only. Triggers when a new Customer is created.

New Customer Address Eventcommerce_layer_new_customer_address_event

Trigger · Read-only. Triggers when a customer address is created.

Required: event (Customer Address event)

New Customer Subscription Eventcommerce_layer_new_customer_subscription_event

Trigger · Read-only. Triggers when a given customer_subscription event (one of create or destroy) is fired.

Required: event (Customer Subscription event)

New Customer Password Reset Eventcommerce_layer_new_customer_password_reset_event

Trigger · Read-only. Triggers when a customer password reset is requested.

Required: event (Customer password reset event)

New Gift Card Eventcommerce_layer_new_gift_card_event

Trigger · Read-only. Triggers when a given gift card event (one of purchase, activate, deactivate, redeem) is fired.

Required: event (Gift Card event)

New Gift Cardcommerce_layer_new_gift_card

Trigger · Read-only. Triggers when a new Gift Card is created.

New Order Eventcommerce_layer_new_order_event

Trigger · Read-only. Triggers when a given order event (one of pending, place, approve, cancel, pay, start_fulfilling, fulfill is fired).

Required: event (Order event)

Optional: name (Webhook name), include_resources (Include resources)

New Ordercommerce_layer_new_order

Trigger · Read-only. Triggers when a new Order is created.

New Parcel Eventcommerce_layer_new_parcel_event

Trigger · Read-only. Triggers when a new parcel is created.

New Pricecommerce_layer_new_price

Trigger · Read-only. Triggers when a new Price is created.

New Price Importcommerce_layer_new_price_import

Trigger · Read-only. Triggers when a new Price import is created.

New Price Listcommerce_layer_new_price_list

Trigger · Read-only. Triggers when a new Price List is created.

New Refund Eventcommerce_layer_new_refund_event

Trigger · Read-only. Triggers when a given refund event is fired.

Required: event (Refund event)

Optional: include_resources (Include resources)

New Return Eventcommerce_layer_new_return_event

Trigger · Read-only. Triggers when a given return event is fired.

Required: event (Return event)

New Shipment Eventcommerce_layer_new_shipment_event

Trigger · Read-only. Triggers when a given shipment event (one of upcoming, cancel, on_hold, picking, packing, ready_to_ship, ship is fired).

Required: event (Shipment event)

Optional: include_resources (Include resources)

New Shipping Categorycommerce_layer_new_shipping_category

Trigger · Read-only. Triggers when a Shipping Category is created.

New SKUcommerce_layer_new_sku

Trigger · Read-only. Triggers when a new SKU is created.

New SKU Importcommerce_layer_new_sku_import

Trigger · Read-only. Triggers when a new SKU import is created.

New Stock Itemcommerce_layer_new_stock_item

Trigger · Read-only. Triggers when a new Stock Item is created.

New Stock Item Importcommerce_layer_new_stock_item_import

Trigger · Read-only. Triggers when a new Stock Item import is created.

New Stock Locationcommerce_layer_new_stock_location

Trigger · Read-only. Triggers when a new Stock Location is created.

New Stock Transfer Eventcommerce_layer_new_stock_transfer_event

Trigger · Read-only. Triggers when a given stock transfer event (one of create, upocoming, picking, in_transit, complete, cancel is fired).

Required: event (Stock Transfer event)

Optional: include_resources (Include resources)

Find Attachmentcommerce_layer_find_attachment

Search · Read-only. Finds a Attachment by name.

Required: name

Find Customercommerce_layer_find_customer

Search · Read-only. Finds a customer by id or reference.

Required: id_or_reference (ID or Reference)

Find Gift Cardcommerce_layer_find_gift_card

Search · Read-only. Finds a gift card by id or reference.

Required: id_or_reference (ID or Reference)

Find Ordercommerce_layer_find_order

Search · Read-only. Finds an order by id or reference.

Required: id_or_reference (ID or Reference)

Find Pricecommerce_layer_find_price

Search · Read-only. Finds a price by price list.

Required: price_list_id

Find Price Importcommerce_layer_find_price_import

Search · Read-only. Finds a Price Import by status.

Required: status

Find Price Listcommerce_layer_find_price_list

Search · Read-only. Finds a Price List by name.

Required: name

Find Shipping Categorycommerce_layer_find_shipping_category

Search · Read-only. Finds an Shipping Category by name.

Required: name

Find SKUcommerce_layer_find_sku

Search · Read-only. Finds an SKU by code.

Required: code

Find SKU Importcommerce_layer_find_sku_import

Search · Read-only. Finds an SKU Import by status.

Required: status

Find Stock Itemcommerce_layer_find_stock_item

Search · Read-only. Finds an stock item by stock location id.

Required: stock_location_id (Stock Location)

Find Stock Item Importcommerce_layer_find_stock_item_import

Search · Read-only. Finds a Stock Item Import by status.

Required: status

Find Stock Location commerce_layer_find_stock_location

Search · Read-only. Finds a Stock Location by name.

Required: name

Activate Gift Cardcommerce_layer_activate_gift_card

Action · Writes data. Activate gift card.

Required: id

Optional: action

Create Attachmentcommerce_layer_create_attachment

Action · Writes data. Creates a new Attachment.

Required: attachable_type, attachable_id, name, url

Optional: description

Balance Change Gift Cardcommerce_layer_balance_change_gift_card

Action · Writes data. Change balance of a gift card.

Required: id, balance_change_cents

Create Customercommerce_layer_create_customer

Action · Writes data. Creates a new Customer.

Required: email

Create Gift Cardcommerce_layer_create_gift_card

Action · Writes data. Creates a new Gift Card.

Required: currency_code (Currency Code), balance_cents (Balance cents)

Create Ordercommerce_layer_create_order

Action · Writes data. Creates a new Order.

Required: market_id (Market ID)

Create Pricecommerce_layer_create_price

Action · Writes data. Creates a new Price.

Required: price_list_id (Price List), sku_code, amount_cents

Optional: compare_at_amount_cents

Create Price Importcommerce_layer_create_price_import

Action · Writes data. Creates a new Price Import.

Required: parent_resource_id (Price List), inputs, cleanup_records

Create Price Listcommerce_layer_create_price_list

Action · Writes data. Creates a new Price List.

Required: name, currency_code (Currency Code)

Purchase Gift Cardcommerce_layer_purchase_gift_card

Action · Writes data. Purchase gift card.

Required: id

Optional: action

Create Shipping Categorycommerce_layer_create_shipping_category

Action · Writes data. Creates a new Shipping Category.

Required: name

Create SKUcommerce_layer_create_sku

Action · Writes data. Creates a new SKU.

Required: code, name, shipping_category_id (Shipping Category)

Create SKU Importcommerce_layer_create_sku_import

Action · Writes data. Creates a new SKU Import.

Required: inputs, cleanup_records

Create Stock Itemcommerce_layer_create_stock_item

Action · Writes data. Creates a new Stock Item.

Required: stock_location_id (Stock Location), sku_code, quantity

Create Stock Item Importcommerce_layer_create_stock_item_import

Action · Writes data. Creates a new Stock Item Import.

Required: parent_resource_id (Stock Location), inputs, cleanup_records

Create Stock Location commerce_layer_create_stock_location

Action · Writes data. Creates a new Stock Location .

Required: name, address_id

Trigger Ordercommerce_layer_trigger_order

Action · Writes data. Execute an action on an Order.

Required: id, action

Update Customer Referencecommerce_layer_update_customer_reference

Action · Writes data. Update customer data setting external identifier.

Required: id (Customer ID)

Optional: reference, reference_origin (Reference Origin)

Update Shipmentcommerce_layer_update_shipment

Action · Writes data. Updates a Shipment.

Required: id

Optional: reference, metadata

Update SKUcommerce_layer_update_sku

Action · Writes data. Updates an SKU.

Required: id, code, name, shipping_category_id (Shipping Category)

Commerce Layer API with the Zapier SDK, without pasting an API key

The Zapier SDK gives your code one way to call Commerce Layer. You connect your account once, and your code references that connection instead of a raw token.

activate_gift_card (Activate Gift Card) requires id. Every Commerce Layer action and its inputs are listed under Commerce Layer triggers and actions above. Zapier handles OAuth, token refresh, retries and rate limits. Read the SDK docs

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection commerce-layer
TypeScript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: connection } = await zapier.findFirstConnection({ app: "commerce-layer", owner: "me" });

const { data } = await zapier.runAction({
  app: "commerce-layer",
  actionType: "write",
  action: "activate_gift_card",
  connection: connection.id,
  inputs: {
    id: "",
  },
});
Zapier SDK CLI
npx zapier-sdk run-action commerce-layer write activate_gift_card \
  --inputs '{"id":""}'

Frequently asked questions about automating with Commerce Layer

How do I connect Commerce Layer to Claude?

Connect Zapier in Claude, sign in to Zapier, then ask Claude to connect Commerce Layer. Claude finds the Commerce Layer actions and adds them. If Commerce Layer needs a sign-in, you approve it once.

Can I use the Commerce Layer API without managing API keys?

With the Zapier SDK you connect your Commerce Layer account to Zapier once, and your code runs actions through that connection. Zapier handles Commerce Layer’s login, so you never paste an API key into your code.

What can an AI agent do with Commerce Layer?

Through Zapier MCP, your agent can use 57 Commerce Layer tools, such as New Attachment, New Customer Event, and New Customer. 37 tools only read data, so you can start with those before you let your agent make changes.

My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

Point your AI agent to this page’s markdown file to build Commerce Layer automations. It covers how Commerce Layer connects, every trigger and action with its inputs, and how to run them with Zapier MCP, the SDK, or the CLI. To start from a ready-made Zap instead, have it search zapier.sh.

About Commerce Layer

Commerce Layer is a lightning fast, super flexible and ultra secure REST API that lets you build cutting-edge ecommerce.

Related categories: eCommerce