{
  "opencollection": "1.0.0",
  "info": {
    "name": "Iterable Export Campaigns Commerce API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Api-Key",
      "value": "{{Api-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Commerce",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Track a purchase event",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.iterable.com/api/commerce/trackPurchase",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Tracks a purchase event for a user, including the items purchased, total value, and associated properties. Purchase data is used for revenue attribution and campaign triggering."
        },
        {
          "info": {
            "name": "Update a user's shopping cart",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.iterable.com/api/commerce/updateCart",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the shopping cart contents for a user. Cart data can be used for abandoned cart campaigns and personalization."
        }
      ]
    }
  ],
  "bundled": true
}