Commerce Layer logo

Integrate Commerce Layer with your AI CRM

Commerce Layer provides transactional commerce and analytics APIs for managing orders, inventory, pricing, customers, fulfillment, and related ecommerce operations.

Explore Triggers and Actions

Create Customer

Create one Commerce Layer customer from an email and optional external-reference metadata. Use a unique email or reference for automation. This mutation is cleanly undoable with DELETE_CUSTOMER using the returned customer ID.

ActionTry it

Delete Customer

Permanently delete one Commerce Layer customer by exact ID. This irreversible operation requires explicit confirmation and is intended only for confirmed cleanup or erasure, never bulk deletion. Never infer or enumerate customer IDs; call GET_CUSTOMER first unless deleting a fixture created in the same workflow.

ActionTry it

Get Customer

Retrieve one customer by its Commerce Layer resource ID.

ActionTry it

Get Order

Retrieve one Commerce Layer order by ID, optionally including customer, line-item, shipment, or return context.

ActionTry it

Get Order Metric

Compute one common order KPI over optional date, market, currency, and status filters using the Commerce Layer Metrics API.

ActionTry it

List Customers

Return one page of customers, optionally filtered by an exact email address.

ActionTry it

List Orders

Return one page of orders, newest first by default, for operational review and follow-up by order ID.

ActionTry it

List SKUs

Return one page of catalog SKUs for product discovery and ID lookup.

ActionTry it

List Stock Items

Return one page of stock items with inventory quantities and SKU codes.

ActionTry it

Update Customer

Update selected attributes of one Commerce Layer customer. Only non-null fields supplied by the caller are changed. Inspect the customer first when rollback matters; restoring the captured values reverses this update.

ActionTry it

How the Commerce Layer integration works

The Commerce Layer integration connects your Dench AI CRM directly to Commerce Layer, so agents can read and act on your Commerce Layer data as part of everyday work — answering questions in chat, keeping your CRM in sync, and running automations without anyone copying data between tools.

10 actions are available for agents to invoke on your behalf. Every call runs through Commerce Layer's own authorization, scoped to the account you connect.

Set up Commerce Layer in Dench

  1. 1

    Sign in to your Dench workspace and open Integrations.

  2. 2

    Find Commerce Layer and click Connect — you'll authorize access through Commerce Layer's own sign-in flow. No API keys or code required.

  3. 3

    Ask an agent to use Commerce Layer in chat, or call it from an automation.

  4. 4

    Manage or disconnect the connection any time from workspace settings.

Frequently asked questions

How does the Commerce Layer integration work with Dench?

The Dench Commerce Layer integration connects your AI CRM to Commerce Layer, so AI agents can work with your Commerce Layer data as part of chats, automations, and CRM workflows. You connect your account once, and every agent in your workspace can use it — governed by your workspace permissions.

What actions can AI agents perform with Commerce Layer via Dench?

The Commerce Layer integration currently exposes 10 actions, including Create Customer, Delete Customer, Get Customer, Get Order, Get Order Metric, and List Customers. Agents invoke them on your behalf from chat or from automations.

Do I need to write code to connect Commerce Layer to Dench?

No. You connect Commerce Layer from your Dench workspace using Commerce Layer's own sign-in and authorization flow — no API keys to copy, no glue code to maintain.

Is the Commerce Layer integration secure?

Connections are authorized through Commerce Layer's own authentication flow, and Dench stores only the authorization needed to act on your behalf. You can review and disconnect the Commerce Layer connection from your workspace settings at any time.

Commerce Layer | Dench AI CRM