# StockAgile

Connect StockAgile as a webhook data source: how you paste Instasent's three webhook URLs into StockAgile so new customers and their orders flow into the Instasent ingest stream, what it syncs (note: no initial import), how fields map to attributes, and how consent is controlled through the data you send.

**Language:** en
**Audience:** platform
**TLDR:** StockAgile is a webhook platform: Instasent generates the credentials (three webhook URLs for customer created, customer updated and order updated) that you paste into StockAgile to receive contacts and orders in real time. It runs no initial import — for your history, use a CSV import.
**Translation key:** platform.data-sources.connectors.stockagile
**Search keywords:** StockAgile, Stockagile, webhook, webhook URL, retail, customer, orders, ecommerce, ingest stream, connect StockAgile, StockAgile integration, no initial import
**Related pages:** /platform/es/data-sources/connectors/stockagile, /platform/en/data-sources/connectors, /platform/en/data-sources/connectors/make, /platform/en/data-sources/connectors/zapier, /platform/en/data-sources/api-webhooks, /platform/en/consent
**Docs index (every page):** https://docs.instasent.com/llms.txt
**This zone's index:** https://docs.instasent.com/platform/en/llms.txt
**This page:** https://docs.instasent.com/platform/en/data-sources/connectors/stockagile/ (HTML) · https://docs.instasent.com/platform/en/data-sources/connectors/stockagile.md (Markdown)
**Other language (es):** https://docs.instasent.com/platform/es/data-sources/connectors/stockagile.md

StockAgile is a retail operating system that manages stock, sales, orders and customers.
It connects to Instasent as a **webhook platform**: you paste the webhook URLs Instasent
gives you into StockAgile so new customers and their orders flow into Instasent's ingest
stream as they happen.

## How to connect

StockAgile is a **[webhook platform](/platform/en/data-sources/connectors#webhook-platforms-we-give-you-the-credentials)**:
you don't create a credential — **Instasent gives you the webhook URLs**, and you paste
them into StockAgile. This is a **manual webhook**, and StockAgile uses **three separate
URLs**, one per event: **Customer created**, **Customer updated** and **Order updated**.
You can create the Instasent source **before** setting anything up in StockAgile; the
source waits for data in real time.

> **Warning**: StockAgile has **no initial import**: connecting it does not backfill your existing
> StockAgile customers or orders. Only customers and orders that change **after** you
> paste the webhook URLs flow into your audience. To bring your historical customers in,
> import them separately (for example via [CSV import](/platform/en/data-sources/csv-copy-paste)).

#### 1. Add the data source

In **Data sources**, select **Add data source** and choose **StockAgile** from the
Integrations section.

#### 2. Configure the source

Fill in the **Configure** step — **Connection name**, **Default country**, **Regional
settings** / **Locale** and **Timezone** — and Instasent creates the source.

#### 3. Copy the three webhook URLs

Instasent shows three **Webhook URLs** under **Setup instructions** — **Customer
created**, **Customer updated** and **Order updated**. Copy each one.

#### 4. Paste them into StockAgile

In StockAgile's webhook settings, register each URL against its matching event:
Customer created → the Customer created URL, Customer updated → the Customer updated
URL, Order updated → the Order updated URL.

#### 5. Watch the stream log

Back in Instasent, the source shows a **stream log** of the data arriving, so you can
confirm the connection is working.

For the endpoint shapes and the full setup, see
[API & webhooks](/platform/en/data-sources/api-webhooks).

![The StockAgile connector page with its description, what it enables, and the contact fields it maps, with Install StockAgile to start](/platform/en/data-sources/images/stockagile--1-connect.png)
*The StockAgile connector page: what it brings into Instasent and the contact fields it maps, with Install StockAgile to start.*

## What it syncs

StockAgile sends **contacts** and their **orders**, in **real time** as they change: a new
or updated customer arrives as a contact (`contact_id`), and an updated order arrives as an
order event with its parameters. Because there is **no initial import**, only changes made
after the webhooks are connected are synced — the source starts empty and fills as
StockAgile activity happens.

## Field mapping

The fields StockAgile sends are mapped to Instasent attributes the same way as any source —
you confirm which incoming values go into which Instasent attributes. See
[field mapping](/platform/en/data-sources/managing#field-mapping).

## Consent mapping

StockAgile passes through the customer fields it sends; it has no dedicated marketing
opt-in of its own. **Consent is controlled by the fields you map** — if a StockAgile
customer field represents a marketing opt-in and you map it to a consent attribute, that
value applies. {/* VERIFY: StockAgile is a retail/orders system and typically carries no explicit marketing-consent flag; whether a marketing signal arrives depends on the customer fields it sends and how you map them. */} The same rules apply as for any import: only set
`_accepts_marketing_*` to `false` on an **active opt-out**; "no data" stays `null`. See
[Consent](/platform/en/consent/marketing-preference-vs-suppression).

---

This is one page of the Instasent documentation. For the complete machine-readable index of every guide and API reference, fetch https://docs.instasent.com/llms.txt — start there for full context.
