Skip to main content
Send your orders, customers, product variants and refunds to Eyk over HTTPS, one object or a batch per request. Eyk stores every request and processes it in the night run.

Before you start

You need:
  • The Custom data page, read once.
  • The Custom Data API source added in Eyk under Sources.
  • An API key, created on the Configure tab of that source with Create API key. The key is shown once.
  • Your organization id, the UUID after /org/ in the URL of your Eyk environment.

Endpoints

Every request carries the header X-API-Key and a JSON body: one object, or an array of up to 100 objects. Every object carries your organization_id. Timestamps are ISO 8601 with a timezone offset, for example 2026-03-14T10:15:00Z. Every field, with its type and meaning, is in the Data API reference.
1

Validate a first object

Send one product variant with debug=true. Eyk validates the object and your key and stores nothing. A 200 means the object is accepted.
2

Send variants and customers

Repeat without debug=true for every variant your order lines refer to, in batches of up to 100. Then send your customers to /v1/customers. email is required on a customer.
3

Send orders

Refer to the customer and the variants by id. Every amount excludes tax.
customer and product_variant also take the full object instead of the id. Then you can skip the separate customer and variant requests.
4

Send refunds

Send each refund to /v1/refunds with the order_id of the refunded order, the amount refunded for goods, and the refunded lines in items when you have them.
5

Send changes as they happen

Send a record again, in full, with a later updated_at whenever it changes. Per id the latest updated_at wins.
6

Send cost corrections

Optional. When a second system, such as an ERP, knows the real shipping cost or cost of goods, send an order update. Only the fields you name change. Per field, the update with the highest priority wins, then the latest occurred_at.
A field that was removed from the API is accepted and ignored, and the response carries a Warning header that names it.

Check it worked

Open the Custom Data API source in Eyk under Sources. The Monitor tab lists orders, refunds, product variants and customers received per day. Data appears in reports the morning after Eyk’s night run.

Troubleshooting

A timestamp has no timezone offset. Send 2026-03-14T10:15:00Z or 2026-03-14T12:15:00+02:00.
The API key does not belong to this organization_id. Check the id after /org/ in your Eyk URL, and the scope chosen when the key was created.
The array holds more than 100 objects. Split it.
Two lines in one order share an id. Line ids must be unique within the order.
Reports update once a night. If the order is still missing the next morning, check the Monitor tab for the day you sent it. Then check that its variant_id and customer_id values match records you sent.