Skip to main content
POST
/
tracker
/
transaction-bulk
curl -X POST https://api2.ecomailapp.cz/tracker/transaction-bulk \
  -H "key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "transaction_data": [
      {
        "transaction": {
          "order_id": "transaction_1001",
          "email": "foo@bar.cz",
          "shop": "myshop.cz",
          "amount": 1000,
          "timestamp": 1673342224,
          "status": "completed"
        },
        "transaction_items": [
          {
            "code": "product code 1",
            "title": "product name 1",
            "price": 400,
            "amount": "1"
          }
        ]
      }
    ]
  }'
{
  "inserts": 2
}

Documentation Index

Fetch the complete documentation index at: https://docs.ecomail.cz/llms.txt

Use this file to discover all available pages before exploring further.

Limited to 1000 transactions per request. Bulk imports do not trigger automations with the “Makes an order” trigger.
Timestamps are saved and returned in UTC+0.
transaction_data
array
required
Array of transaction objects, each containing a transaction and transaction_items object with the same structure as the single create endpoint.
curl -X POST https://api2.ecomailapp.cz/tracker/transaction-bulk \
  -H "key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "transaction_data": [
      {
        "transaction": {
          "order_id": "transaction_1001",
          "email": "foo@bar.cz",
          "shop": "myshop.cz",
          "amount": 1000,
          "timestamp": 1673342224,
          "status": "completed"
        },
        "transaction_items": [
          {
            "code": "product code 1",
            "title": "product name 1",
            "price": 400,
            "amount": "1"
          }
        ]
      }
    ]
  }'
{
  "inserts": 2
}