---
title: "Connect a non-Shopify store (custom store)"
description: "Create a custom store in Settings > Stores, get the ingestion key and the store_id, then send your data through the Commerce API."
url: https://help.getkanal.com/en/articles/126-connect-a-non-shopify-store-custom-store
collection: "API"
updated: 2026-10-21
language: en
alternates: [fr-fr]
---

# Connect a non-Shopify store (custom store)

Create a custom store in Settings > Stores, get the ingestion key and the store_id, then send your data through the Commerce API.

If your store does not run on Shopify (custom-built site, headless or another platform), you can still use it with Kanal. Create a **custom store**: your developers then send your orders, abandoned checkouts, customers and shipments to Kanal through the Commerce API. Orders and shipments trigger your WhatsApp automations.

> **Warning:** **Abandoned checkouts: reminders not available yet.** Checkouts from a custom store are saved, but no abandoned checkout trigger is offered in the interface yet. They therefore do not trigger any reminder for now.

## Step 1: create the custom store

1.  Click your team name, then **Settings**.
    
2.  Open **Stores**, then click **Add a store**.
    
3.  Choose **Custom store** and fill in the requested information.
    

The store then appears in the list under **Settings > Stores**. Open it to access its **API & ingestion** and **Guide** tabs.

## Step 2: get the ingestion key

The **API & ingestion** tab provides an **API ingestion key**. This key only works for this store: it cannot write to any other store of your team.

> **Warning:** **The full key is shown only once.** Copy it as soon as it is created and keep it somewhere safe. If you lose it, regenerate it from the same tab.

-   Share it with your developer and keep it server-side only, never in a browser or a mobile app.
    
-   If the key has leaked, or if a contractor should no longer have access, regenerate or revoke it from the same tab, then update your integration.
    

Use it like a regular API key, in the `Authorization: Bearer <your key>` header. A key created in **Settings > Developers > API Keys** also works, but it gives access to every store of your team. For a custom store, prefer the ingestion key, which is limited to that single store.

## Step 3: find your store\_id

The **Guide** tab shows an example cURL request. The store's `store_id` is the number that follows `/stores/` in that URL: in `.../stores/123/orders`, the `store_id` is `123`. This numeric identifier appears in the path of every Commerce API call. You do not need to ask support for it.

## Step 4: send your data

Every Commerce API URL starts with:

```text
https://api.getkanal.com/api/v1/stores/{store_id}/
```

> **Warning:** Check that your request URLs contain `/api/v1/` right after the domain name. A URL such as `https://api.getkanal.com/v1/stores/...` does not work.

<table style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p>Endpoint</p></th><th colspan="1" rowspan="1"><p>Use</p></th></tr><tr><td colspan="1" rowspan="1"><p><code>POST /api/v1/stores/{store_id}/orders</code></p></td><td colspan="1" rowspan="1"><p>Create or update an order</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>POST /api/v1/stores/{store_id}/checkouts</code></p></td><td colspan="1" rowspan="1"><p>Create or update an abandoned checkout (saved, no reminder for now)</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>POST /api/v1/stores/{store_id}/customers</code></p></td><td colspan="1" rowspan="1"><p>Create or update a customer record</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>POST /api/v1/stores/{store_id}/shipments</code></p></td><td colspan="1" rowspan="1"><p>Create or update a shipment</p></td></tr></tbody></table>

Example of sending an order, with `store_id` 123:

```bash
curl -X POST https://api.getkanal.com/api/v1/stores/123/orders \
  -H "Authorization: Bearer YOUR_INGESTION_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "external_id": "ORDER-1001",
    "total_price": 49.90,
    "currency": "EUR",
    "customer": { "phone": "+33612345678", "first_name": "Marie" }
  }'
```

Each endpoint (fields, statuses, errors, limits) is detailed in [Commerce API: send your store data to Kanal](https://help.getkanal.com/en/articles/110-commerce-api-send-your-store-data-to-kanal.md). The full technical reference is on [developers.getkanal.com](https://developers.getkanal.com/docs/reference).

## What triggers your automations

-   **Order**: an order sent with the customer's phone number (`customer.phone`) can start your automations that use the **Store order created** trigger. Without a phone number, the order is saved but triggers nothing.
    
-   **Shipment**: a shipment starts your automations that use the **Store shipment update** trigger only if it contains a tracking number (`tracking_number`), a tracking URL (`tracking_url`) and a status (`status`), and if the linked order is known to Kanal with a contact. Otherwise, the shipment is saved but no message is sent.
    
-   **Abandoned checkout**: not available yet. The checkout is saved, but no automation can be triggered by it yet.
    

> **Info:** An order does not create a customer record. To sync your customers' profiles (tags, lifetime value, order count), also send them through `POST /customers`.

To learn more about keys and authentication errors, see [API authentication and keys](https://help.getkanal.com/en/articles/14-api-authentication-and-keys.md).
