Sending orders through the order API
Have your own backend send every paid order to the CookieROAS order API.
For a store without a ready-made connection. Your backend sends every paid order to POST https://cookieroas.eu/api/public/order-feed. A small script on a schedule or a tool such as n8n or Make works too.

What you need
- A server where you can keep the key safe
- For each order: order number, time, amount and currency
Steps
Create a connection key
In the dashboard, open Tracking › Setup › Order source, choose Own backend and click Create key.
You see the full key (cro_live_…) only once. Copy what you need right away. If you lose it, create a new key; an existing key keeps working.

Send every paid order
Only use the key on a trusted server, never in the browser. Example:
curl -X POST https://cookieroas.eu/api/public/order-feed \
-H "Authorization: Bearer $COOKIEROAS_ORDER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"orders":[{"order_id":"ORDER-1001","ordered_at":"2026-11-18T10:00:00Z","amount_minor":12995,"currency":"EUR"}]}'
Place a test order
Check out one order in your store. The Place a test order step on the Order source page turns green once the order is in; the page checks every 15 seconds.

The fields
order_id: your order number, equal to the transaction_id on the thank-you page. Capitals count.
ordered_at: the order time with an explicit time zone, such as 2026-11-18T10:00:00Z. No older than 90 days.
amount_minor: the amount in cents (the currency's smallest unit), as a whole number.
currency: the three-letter currency code, such as EUR.
From 1 to 500 orders per call. Only send paid orders. An order you send twice counts once.
Check that it works
- The Place a test order step on Order source says Received.
- In Getting started, the Orders from the shop step is green, with the time of the last order.
- The amount and currency of the test order match your store.
- The API's response gives each order as
acceptedorduplicate.