Get Spend

GET /api/spend/dealspend

Get's spend breakdown by deal

Query parameters

Responses

  • default application/json

    Return example

    Hide response attribute Show response attribute object
    • data object

      Additional properties are allowed.

      Hide data attributes Show data attributes object
      • lastDate string(date-time)
      • spend array[object]
        Hide spend attributes Show spend attributes object
        • data object

          Additional properties are allowed.

          Hide data attributes Show data attributes object
        • name string
GET /api/spend/dealspend
curl \
 -X GET http://api.example.com/api/spend/dealspend?psaid=42 \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (default)
{
  "data": {
    "lastDate": "2024-05-04T09:42:00+00:00",
    "spend": [
      {
        "data": {
          "data": [
            "string"
          ],
          "headings": [
            "string"
          ]
        },
        "name": "Sheet Name"
      }
    ]
  }
}