Counterparties Change History

Get a list of changes to your counterparties

You can get a list of changes that have been made to your buyers and suppliers by using our Counterparties Change History endpoint (https://stage.api.finexio.com/v2/counterparties/history). This list will include any changes including newly created counterparties.

You can narrow the list down by page number using Pagination or by specific Counterparty by using the 'object_id' parameter. The object_id is the unique id for the Counterparty.

{
  "count": 3,
  "next": "https://stage.api.finexio.com/v2/counterparties/history/?page=1",
  "previous": null,
  "results": [
    {
      "object_id": "0b575520-d4fc-47a5-a27a-7b2c062e075f",
      "actor": "testqa123",
      "remote_addr": "0.0.0.0",
      "timestamp": "2023-03-23T17:55:09.492067",
      "action": "Updated",
      "changes": {"name": [
                    "Old Value",
                    "New Value"
                ],
                "primary_contact_name": [
                    "Old Value",
                    "New Value"
                ],
                "primary_contact_phone": [
                    "Old Value",
                    "New Value"
                ]
            }
        },
    {
            "object_id": "66449894-e0f4-4193-8d23-88c3526920bb",
            "actor": "testqa123",
            "remote_addr": "20.118.210.76",
            "timestamp": "2023-03-20T19:07:31.350266",
            "action": "Updated",
            "changes": {
                "name": [
                    "Old Value",
                    "New Value"
                ],
                "primary_contact_name": [
                    "Old Value",
                    "New Value"
                ],
                "primary_contact_phone": [
                    "Old Value",
                    "New Value"
                ]
            }
          },
    {
            "object_id": "2c87f559-a0c7-4526-8dbc-77e06f2bc8d6",
            "actor": "testqa123",
            "remote_addr": "193.239.87.85",
            "timestamp": "2023-03-21T00:55:35.351549",
            "action": "Created",
            "changes": {
                "address_1": [
                    "None",
                    "4000 Warner Boulevard"
                ],
                "city": [
                    "None",
                    "Burbank"
                ],
                "country": [
                    "None",
                    "USA"
                ],
                "name": [
                    "None",
                    "Acme Co."
                ],
                "on_demand_enabled": [
                    "None",
                    "False"
                ],
                "state": [
                    "None",
                    "CA"
                ],
                "zipcode": [
                    "None",
                    "91505"
                ],
                "payment_method": [
                    "None",
                    "PrintedCheck"
                ],
                "change_reason": [
                    "None",
                    "New Supplier"
                ]
            }
        }
    ]
}