# Commerce Layer MCP

Vendor: Commerce Layer  
Category: other  
Auth: OAUTH2  
Composio slug: `commerce_layer`

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

## Tools

- **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.
- **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 G
- **Get Customer** — Retrieve one customer by its Commerce Layer resource ID.
- **Get Order** — Retrieve one Commerce Layer order by ID, optionally including customer, line-item, shipment, or return context.
- **Get Order Metric** — Compute one common order KPI over optional date, market, currency, and status filters using the Commerce Layer Metrics API.
- **List Customers** — Return one page of customers, optionally filtered by an exact email address.
- **List Orders** — Return one page of orders, newest first by default, for operational review and follow-up by order ID.
- **List SKUs** — Return one page of catalog SKUs for product discovery and ID lookup.
- **List Stock Items** — Return one page of stock items with inventory quantities and SKU codes.
- **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.

## Setup

1. Create or open a Switchy Project.
2. Open Integrations and connect Commerce Layer.
3. Authorise through oauth2.
4. Teammates can now @-mention Commerce Layer tools in chat.

---
Last verified: 2026-09-04T02:00:56.012Z  
Canonical URL: https://switchy.build/directory/mcps/commerce-layer