{
  "opencollection": "1.0.0",
  "info": {
    "name": "Thanx Consumer Account Campaigns API",
    "version": "v4.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Campaigns",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Campaigns",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.thanx.com/partner/campaigns",
            "params": [
              {
                "name": "merchant_id",
                "value": "92b7b0dac4",
                "type": "query"
              }
            ]
          },
          "docs": "Lists campaigns for a merchant."
        },
        {
          "info": {
            "name": "Create Campaign",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.thanx.com/partner/campaigns",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a marketing campaign with treatment and control variants."
        },
        {
          "info": {
            "name": "Get Campaign",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.thanx.com/partner/campaigns/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieves a single campaign by identifier."
        },
        {
          "info": {
            "name": "Issue Rewards",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.thanx.com/partner/campaigns/issue",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Issues campaign rewards to a batch of identifiers (up to 10,000 per request). Returns an asynchronous issuance job."
        }
      ]
    }
  ],
  "bundled": true
}