Expenses - Bulk

Update expenses

Changed on

Bulk update expenses.

patch/api/v2/expenses

Request

  • Base URL
    https://developer.productive.io (the document declares no server; this is the origin it was published from)
  • URL
    https://developer.productive.io/api/v2/expenses
  • Auth
    none declared

Request body

Example request

{
  "data": {
    "type": "expenses",
    "attributes": {
      "name": "Design software license",
      "amount": "199.00",
      "currency": "USD",
      "date": "2026-03-01",
      "billable": true
    },
    "relationships": {
      "person": {
        "data": {
          "type": "people",
          "id": "12"
        }
      },
      "deal": {
        "data": {
          "type": "deals",
          "id": "89"
        }
      }
    }
  }
}

Response

Collection expense

Example response

{
  "data": [
    {
      "id": "345",
      "type": "expenses",
      "attributes": {
        "name": "Design software license",
        "amount": "199.00",
        "currency": "USD",
        "date": "2026-03-01",
        "billable": true,
        "status": "pending",
        "created_at": "2026-03-01T10:00:00.000+00:00",
        "updated_at": "2026-03-01T10:00:00.000+00:00",
        "note": null
      },
      "relationships": {
        "person": {
          "data": {
            "type": "people",
            "id": "12"
          }
        },
        "deal": {
          "data": {
            "type": "deals",
            "id": "89"
          }
        }
      }
    }
  ],
  "included": [],
  "meta": {
    "current_page": 1,
    "total_pages": 5,
    "total_count": 42,
    "page_size": 30,
    "max_page_size": 200
  }
}

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • breaking

      the response's property type changed from object to array for status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status