Commerce Layer

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

10 actions Integration catalog
Request access
Connect Commerce Layer once you're in Boring.
01 · WHAT THE AGENT CAN DO

Actions

Every capability is a discrete, logged action the agent calls by name — scoped to what you authorize and recorded in the run trace.

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