# Commerce Layer + Barcode Lookup Integrations: Connect with Zapier MCP
> zapier.com/apps/commerce-layer/integrations/barcode-lookup
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Commerce Layer and Barcode Lookup 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, `write · activate_gift_card`.
- **SDK**:

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

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

const { data } = await zapier.runAction({
  app: "commerce-layer",
  actionType: "write",
  action: "activate_gift_card",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action commerce-layer write activate_gift_card \
  --inputs '{}'
```

## Commerce Layer

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

- App slug: commerce-layer
- Operations published here: 70 (24 events, 20 functions, 13 queries, 13 search-or-write actions)

### Authentication
Zapier connects to Commerce Layer 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 commerce-layer
```

### Capabilities

#### Events (24)

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

##### New Attachment
Triggers when a new Attachment is created.

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

##### New Customer Event
Triggers when a given customer event is fired.

- Type: read · Key: `customer`
- Requires: event
- Optional: include_resources
- SDK: `runAction({ app: "commerce-layer", actionType: "read", action: "customer" })`
- CLI: `npx zapier-sdk run-action commerce-layer read customer`

##### New Customer
Triggers when a new Customer is created.

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

##### New Customer Address Event
Triggers when a customer address is created.

- Type: read · Key: `customer_address`
- Requires: event
- SDK: `runAction({ app: "commerce-layer", actionType: "read", action: "customer_address" })`
- CLI: `npx zapier-sdk run-action commerce-layer read customer_address`

##### New Customer Subscription Event
Triggers when a given customer_subscription event (one of create or destroy) is fired.

- Type: read · Key: `customer_subscription`
- Requires: event
- SDK: `runAction({ app: "commerce-layer", actionType: "read", action: "customer_subscription" })`
- CLI: `npx zapier-sdk run-action commerce-layer read customer_subscription`

##### New Customer Password Reset Event
Triggers when a customer password reset is requested.

- Type: read · Key: `cutomer_password_reset`
- Requires: event
- SDK: `runAction({ app: "commerce-layer", actionType: "read", action: "cutomer_password_reset" })`
- CLI: `npx zapier-sdk run-action commerce-layer read cutomer_password_reset`

##### New Gift Card Event
Triggers when a given gift card event (one of purchase, activate, deactivate, redeem) is fired.

- Type: read · Key: `gift_card`
- Requires: event
- SDK: `runAction({ app: "commerce-layer", actionType: "read", action: "gift_card" })`
- CLI: `npx zapier-sdk run-action commerce-layer read gift_card`

##### New Gift Card
Triggers when a new Gift Card is created.

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

##### New Order Event
Triggers when a given order event (one of pending, place, approve, cancel, pay, start_fulfilling, fulfill is fired).

- Type: read · Key: `order`
- Requires: event
- Optional: name, include_resources
- SDK: `runAction({ app: "commerce-layer", actionType: "read", action: "order" })`
- CLI: `npx zapier-sdk run-action commerce-layer read order`

##### New Order
Triggers when a new Order is created.

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

##### New Parcel Event
Triggers when a new parcel is created.

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

##### New Price
Triggers when a new Price is created.

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

##### New Price Import
Triggers when a new Price import is created.

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

##### New Price List
Triggers when a new Price List is created.

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

##### New Refund Event
Triggers when a given refund event is fired.

- Type: read · Key: `refund`
- Requires: event
- Optional: include_resources
- SDK: `runAction({ app: "commerce-layer", actionType: "read", action: "refund" })`
- CLI: `npx zapier-sdk run-action commerce-layer read refund`

##### New Return Event
Triggers when a given return event is fired.

- Type: read · Key: `return`
- Requires: event
- SDK: `runAction({ app: "commerce-layer", actionType: "read", action: "return" })`
- CLI: `npx zapier-sdk run-action commerce-layer read return`

##### New Shipment Event
Triggers when a given shipment event (one of upcoming, cancel, on_hold, picking, packing, ready_to_ship, ship is fired).

- Type: read · Key: `shipment`
- Requires: event
- Optional: include_resources
- SDK: `runAction({ app: "commerce-layer", actionType: "read", action: "shipment" })`
- CLI: `npx zapier-sdk run-action commerce-layer read shipment`

##### New Shipping Category
Triggers when a Shipping Category is created.

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

##### New SKU
Triggers when a new SKU is created.

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

##### New SKU Import
Triggers when a new SKU import is created.

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

##### New Stock Item
Triggers when a new Stock Item is created.

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

##### New Stock Item Import
Triggers when a new Stock Item import is created.

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

##### New Stock Location
Triggers when a new Stock Location is created.

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

##### New Stock Transfer Event
Triggers when a given stock transfer event (one of create, upocoming, picking, in_transit, complete, cancel is fired).

- Type: read · Key: `stock_transfer`
- Requires: event
- Optional: include_resources
- SDK: `runAction({ app: "commerce-layer", actionType: "read", action: "stock_transfer" })`
- CLI: `npx zapier-sdk run-action commerce-layer read stock_transfer`

#### Functions (20)

Functions change something in Commerce Layer.

##### Activate Gift Card
Activate gift card.

- Type: write · Key: `activate_gift_card`
- Requires: id
- Optional: action
- SDK: `runAction({ app: "commerce-layer", actionType: "write", action: "activate_gift_card" })`
- CLI: `npx zapier-sdk run-action commerce-layer write activate_gift_card`

##### Create Attachment
Creates a new Attachment.

- Type: write · Key: `attachmentCreate`
- Requires: attachable_type, attachable_id, name, url
- Optional: description
- SDK: `runAction({ app: "commerce-layer", actionType: "write", action: "attachmentCreate" })`
- CLI: `npx zapier-sdk run-action commerce-layer write attachmentCreate`

##### Balance Change Gift Card
Change balance of a gift card.

- Type: write · Key: `balance_change_gift_card`
- Requires: id, balance_change_cents
- SDK: `runAction({ app: "commerce-layer", actionType: "write", action: "balance_change_gift_card" })`
- CLI: `npx zapier-sdk run-action commerce-layer write balance_change_gift_card`

##### Create Customer
Creates a new Customer.

- Type: write · Key: `customerCreate`
- Requires: email
- SDK: `runAction({ app: "commerce-layer", actionType: "write", action: "customerCreate" })`
- CLI: `npx zapier-sdk run-action commerce-layer write customerCreate`

##### Create Gift Card
Creates a new Gift Card.

- Type: write · Key: `gift_cardCreate`
- Requires: currency_code, balance_cents
- SDK: `runAction({ app: "commerce-layer", actionType: "write", action: "gift_cardCreate" })`
- CLI: `npx zapier-sdk run-action commerce-layer write gift_cardCreate`

##### Create Order
Creates a new Order.

- Type: write · Key: `orderCreate`
- Requires: market_id
- SDK: `runAction({ app: "commerce-layer", actionType: "write", action: "orderCreate" })`
- CLI: `npx zapier-sdk run-action commerce-layer write orderCreate`

##### Create Price
Creates a new Price.

- Type: write · Key: `priceCreate`
- Requires: price_list_id, sku_code, amount_cents
- Optional: compare_at_amount_cents
- SDK: `runAction({ app: "commerce-layer", actionType: "write", action: "priceCreate" })`
- CLI: `npx zapier-sdk run-action commerce-layer write priceCreate`

##### Create Price Import
Creates a new Price Import.

- Type: write · Key: `price_importCreate`
- Requires: parent_resource_id, inputs, cleanup_records
- SDK: `runAction({ app: "commerce-layer", actionType: "write", action: "price_importCreate" })`
- CLI: `npx zapier-sdk run-action commerce-layer write price_importCreate`

##### Create Price List
Creates a new Price List.

- Type: write · Key: `price_listCreate`
- Requires: name, currency_code
- SDK: `runAction({ app: "commerce-layer", actionType: "write", action: "price_listCreate" })`
- CLI: `npx zapier-sdk run-action commerce-layer write price_listCreate`

##### Purchase Gift Card
Purchase gift card.

- Type: write · Key: `purchase_gift_card`
- Requires: id
- Optional: action
- SDK: `runAction({ app: "commerce-layer", actionType: "write", action: "purchase_gift_card" })`
- CLI: `npx zapier-sdk run-action commerce-layer write purchase_gift_card`

##### Create Shipping Category
Creates a new Shipping Category.

- Type: write · Key: `shipping_categoryCreate`
- Requires: name
- SDK: `runAction({ app: "commerce-layer", actionType: "write", action: "shipping_categoryCreate" })`
- CLI: `npx zapier-sdk run-action commerce-layer write shipping_categoryCreate`

##### Create SKU
Creates a new SKU.

- Type: write · Key: `skuCreate`
- Requires: code, name, shipping_category_id
- SDK: `runAction({ app: "commerce-layer", actionType: "write", action: "skuCreate" })`
- CLI: `npx zapier-sdk run-action commerce-layer write skuCreate`

##### Create SKU Import
Creates a new SKU Import.

- Type: write · Key: `sku_importCreate`
- Requires: inputs, cleanup_records
- SDK: `runAction({ app: "commerce-layer", actionType: "write", action: "sku_importCreate" })`
- CLI: `npx zapier-sdk run-action commerce-layer write sku_importCreate`

##### Create Stock Item
Creates a new Stock Item.

- Type: write · Key: `stock_itemCreate`
- Requires: stock_location_id, sku_code, quantity
- SDK: `runAction({ app: "commerce-layer", actionType: "write", action: "stock_itemCreate" })`
- CLI: `npx zapier-sdk run-action commerce-layer write stock_itemCreate`

##### Create Stock Item Import
Creates a new Stock Item Import.

- Type: write · Key: `stock_item_importCreate`
- Requires: parent_resource_id, inputs, cleanup_records
- SDK: `runAction({ app: "commerce-layer", actionType: "write", action: "stock_item_importCreate" })`
- CLI: `npx zapier-sdk run-action commerce-layer write stock_item_importCreate`

##### Create Stock Location 
Creates a new Stock Location .

- Type: write · Key: `stock_locationCreate`
- Requires: name, address_id
- SDK: `runAction({ app: "commerce-layer", actionType: "write", action: "stock_locationCreate" })`
- CLI: `npx zapier-sdk run-action commerce-layer write stock_locationCreate`

##### Trigger Order
Execute an action on an Order.

- Type: write · Key: `trigger_order`
- Requires: id, action
- SDK: `runAction({ app: "commerce-layer", actionType: "write", action: "trigger_order" })`
- CLI: `npx zapier-sdk run-action commerce-layer write trigger_order`

##### Update Customer Reference
Update customer data setting external identifier.

- Type: write · Key: `update_customer_ref`
- Requires: id
- Optional: reference, reference_origin
- SDK: `runAction({ app: "commerce-layer", actionType: "write", action: "update_customer_ref" })`
- CLI: `npx zapier-sdk run-action commerce-layer write update_customer_ref`

##### Update Shipment
Updates a Shipment.

- Type: write · Key: `update_shipment`
- Requires: id
- Optional: reference, metadata
- SDK: `runAction({ app: "commerce-layer", actionType: "write", action: "update_shipment" })`
- CLI: `npx zapier-sdk run-action commerce-layer write update_shipment`

##### Update SKU
Updates an SKU.

- Type: write · Key: `update_sku`
- Requires: id, code, name, shipping_category_id
- SDK: `runAction({ app: "commerce-layer", actionType: "write", action: "update_sku" })`
- CLI: `npx zapier-sdk run-action commerce-layer write update_sku`

#### Queries (13)

Queries read from Commerce Layer and return data. They change nothing.

##### Find Attachment
Finds a Attachment by name.

- Type: search · Key: `attachmentSearch`
- Requires: name
- SDK: `runAction({ app: "commerce-layer", actionType: "search", action: "attachmentSearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search attachmentSearch`

##### Find Customer
Finds a customer by id or reference.

- Type: search · Key: `customerSearch`
- Requires: id_or_reference
- SDK: `runAction({ app: "commerce-layer", actionType: "search", action: "customerSearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search customerSearch`

##### Find Gift Card
Finds a gift card by id or reference.

- Type: search · Key: `gift_cardSearch`
- Requires: id_or_reference
- SDK: `runAction({ app: "commerce-layer", actionType: "search", action: "gift_cardSearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search gift_cardSearch`

##### Find Order
Finds an order by id or reference.

- Type: search · Key: `orderSearch`
- Requires: id_or_reference
- SDK: `runAction({ app: "commerce-layer", actionType: "search", action: "orderSearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search orderSearch`

##### Find Price
Finds a price by price list.

- Type: search · Key: `priceSearch`
- Requires: price_list_id
- SDK: `runAction({ app: "commerce-layer", actionType: "search", action: "priceSearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search priceSearch`

##### Find Price Import
Finds a Price Import by status.

- Type: search · Key: `price_importSearch`
- Requires: status
- SDK: `runAction({ app: "commerce-layer", actionType: "search", action: "price_importSearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search price_importSearch`

##### Find Price List
Finds a Price List by name.

- Type: search · Key: `price_listSearch`
- Requires: name
- SDK: `runAction({ app: "commerce-layer", actionType: "search", action: "price_listSearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search price_listSearch`

##### Find Shipping Category
Finds an Shipping Category by name.

- Type: search · Key: `shipping_categorySearch`
- Requires: name
- SDK: `runAction({ app: "commerce-layer", actionType: "search", action: "shipping_categorySearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search shipping_categorySearch`

##### Find SKU
Finds an SKU by code.

- Type: search · Key: `skuSearch`
- Requires: code
- SDK: `runAction({ app: "commerce-layer", actionType: "search", action: "skuSearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search skuSearch`

##### Find SKU Import
Finds an SKU Import by status.

- Type: search · Key: `sku_importSearch`
- Requires: status
- SDK: `runAction({ app: "commerce-layer", actionType: "search", action: "sku_importSearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search sku_importSearch`

##### Find Stock Item
Finds an stock item by stock location id.

- Type: search · Key: `stock_itemSearch`
- Requires: stock_location_id
- SDK: `runAction({ app: "commerce-layer", actionType: "search", action: "stock_itemSearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search stock_itemSearch`

##### Find Stock Item Import
Finds a Stock Item Import by status.

- Type: search · Key: `stock_item_importSearch`
- Requires: status
- SDK: `runAction({ app: "commerce-layer", actionType: "search", action: "stock_item_importSearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search stock_item_importSearch`

##### Find Stock Location 
Finds a Stock Location by name.

- Type: search · Key: `stock_locationSearch`
- Requires: name
- SDK: `runAction({ app: "commerce-layer", actionType: "search", action: "stock_locationSearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search stock_locationSearch`

#### Search or Write Actions (13)

These operations search for a match first, and create one only if nothing is found.

##### Find or Create Attachment
Finds a Attachment by name.

- Type: search_or_write · Key: `attachmentSearch`
- Requires: name, attachable_type, attachable_id, url
- Optional: description
- SDK: `runAction({ app: "commerce-layer", actionType: "search_or_write", action: "attachmentSearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search_or_write attachmentSearch`

##### Find or Create Customer
Finds a customer by id or reference.

- Type: search_or_write · Key: `customerSearch`
- Requires: id_or_reference, email
- SDK: `runAction({ app: "commerce-layer", actionType: "search_or_write", action: "customerSearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search_or_write customerSearch`

##### Find or Create Gift Card
Finds a gift card by id or reference.

- Type: search_or_write · Key: `gift_cardSearch`
- Requires: id_or_reference, currency_code, balance_cents
- SDK: `runAction({ app: "commerce-layer", actionType: "search_or_write", action: "gift_cardSearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search_or_write gift_cardSearch`

##### Find or Create Order
Finds an order by id or reference.

- Type: search_or_write · Key: `orderSearch`
- Requires: id_or_reference, market_id
- SDK: `runAction({ app: "commerce-layer", actionType: "search_or_write", action: "orderSearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search_or_write orderSearch`

##### Find or Create Price
Finds a price by price list.

- Type: search_or_write · Key: `priceSearch`
- Requires: price_list_id, sku_code, amount_cents
- Optional: compare_at_amount_cents
- SDK: `runAction({ app: "commerce-layer", actionType: "search_or_write", action: "priceSearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search_or_write priceSearch`

##### Find or Create Price Import
Finds a Price Import by status.

- Type: search_or_write · Key: `price_importSearch`
- Requires: status, parent_resource_id, inputs, cleanup_records
- SDK: `runAction({ app: "commerce-layer", actionType: "search_or_write", action: "price_importSearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search_or_write price_importSearch`

##### Find or Create Price List
Finds a Price List by name.

- Type: search_or_write · Key: `price_listSearch`
- Requires: name, currency_code
- SDK: `runAction({ app: "commerce-layer", actionType: "search_or_write", action: "price_listSearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search_or_write price_listSearch`

##### Find or Create Shipping Category
Finds an Shipping Category by name.

- Type: search_or_write · Key: `shipping_categorySearch`
- Requires: name
- SDK: `runAction({ app: "commerce-layer", actionType: "search_or_write", action: "shipping_categorySearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search_or_write shipping_categorySearch`

##### Find or Create SKU
Finds an SKU by code.

- Type: search_or_write · Key: `skuSearch`
- Requires: code, name, shipping_category_id
- SDK: `runAction({ app: "commerce-layer", actionType: "search_or_write", action: "skuSearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search_or_write skuSearch`

##### Find or Create SKU Import
Finds an SKU Import by status.

- Type: search_or_write · Key: `sku_importSearch`
- Requires: status, inputs, cleanup_records
- SDK: `runAction({ app: "commerce-layer", actionType: "search_or_write", action: "sku_importSearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search_or_write sku_importSearch`

##### Find or Create Stock Item
Finds an stock item by stock location id.

- Type: search_or_write · Key: `stock_itemSearch`
- Requires: stock_location_id, sku_code, quantity
- SDK: `runAction({ app: "commerce-layer", actionType: "search_or_write", action: "stock_itemSearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search_or_write stock_itemSearch`

##### Find or Create Stock Item Import
Finds a Stock Item Import by status.

- Type: search_or_write · Key: `stock_item_importSearch`
- Requires: status, parent_resource_id, inputs, cleanup_records
- SDK: `runAction({ app: "commerce-layer", actionType: "search_or_write", action: "stock_item_importSearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search_or_write stock_item_importSearch`

##### Find or Create Stock Location 
Finds a Stock Location by name.

- Type: search_or_write · Key: `stock_locationSearch`
- Requires: name, address_id
- SDK: `runAction({ app: "commerce-layer", actionType: "search_or_write", action: "stock_locationSearch" })`
- CLI: `npx zapier-sdk run-action commerce-layer search_or_write stock_locationSearch`

## Barcode Lookup

### Identity
Barcode Lookup is a product search engine that helps you to find information for over one billion items worldwide.

- App slug: barcode-lookup
- Operations published here: 1 (1 query)

### Authentication
Zapier connects to Barcode Lookup 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 barcode-lookup
```

### Capabilities

#### Queries (1)

Queries read from Barcode Lookup and return data. They change nothing.

##### Search by Barcode
Lookup product information with the barcode.

- Type: search · Key: `barcode`
- Requires: barcode
- SDK: `runAction({ app: "barcode-lookup", actionType: "search", action: "barcode" })`
- CLI: `npx zapier-sdk run-action barcode-lookup search barcode`

## Links
- Commerce Layer integrations: zapier.com/apps/commerce-layer/integrations.md
- Barcode Lookup integrations: zapier.com/apps/barcode-lookup/integrations.md
- Full page: zapier.com/apps/commerce-layer/integrations/barcode-lookup
- SDK: npmjs.com/package/@zapier/zapier-sdk