{
  "opencollection": "1.0.0",
  "info": {
    "name": "Partnerize Brands Attribution Databases API",
    "version": "1.4.99"
  },
  "items": [
    {
      "info": {
        "name": "Databases",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Partner Databases",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.partnerize.com/user/publisher/:publisher_id/database",
            "params": [
              {
                "name": "publisher_id",
                "value": "1l1007802",
                "type": "path",
                "description": "ID of the partner"
              }
            ]
          },
          "docs": "Return the details of all Databases attached to the Partner account."
        },
        {
          "info": {
            "name": "Create Partner Database",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.partnerize.com/user/publisher/:publisher_id/database",
            "params": [
              {
                "name": "publisher_id",
                "value": "1l1007802",
                "type": "path",
                "description": "ID of the partner"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create one or more Databases against the partner entity. Each Database is sent as an array within a top level `databases` array."
        },
        {
          "info": {
            "name": "Update Partner Databases",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.partnerize.com/user/publisher/:publisher_id/database",
            "params": [
              {
                "name": "publisher_id",
                "value": "1l1007802",
                "type": "path",
                "description": "ID of the partner"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update one or more Databases against the Partner entity. Each Database is sent as an array within a top level `databases` array and must contain its associated `database_id`."
        },
        {
          "info": {
            "name": "Retrieve a Partner Database",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.partnerize.com/user/publisher/:publisher_id/database/:database_id",
            "params": [
              {
                "name": "publisher_id",
                "value": "1l1007802",
                "type": "path",
                "description": "ID of the partner"
              },
              {
                "name": "database_id",
                "value": "111111l300347",
                "type": "path",
                "description": "ID of the partner database"
              }
            ]
          },
          "docs": "Retrieves the specified Partner Database."
        }
      ]
    }
  ],
  "bundled": true
}