Books

Bulk update journal entries

Changed on
put/journal-entries/{booksId}

Request

  • Base URL
    https://api.mercury.com/api/v1
  • URL
    https://api.mercury.com/api/v1/journal-entries/{booksId}
  • Auth
    • HTTP bearer
    • or HTTP basic

Path parameters

booksIdstring uuid required

Request body

datetimestring yyyy-mm-ddThh:MM:ssZ
descriptionstring nullable

An arbitrary string on the object, useful for displaying to the user.

idstring base58 (max length 22) required

The unique ID of the object.

Example request

[
  {
    "datetime": "2016-07-22T00:00:00Z",
    "id": "7JRNsKwy2Lw66caxVU7WGC",
    "line_entry_changes": {
      "create": [
        {
          "ledger_id": "7JRNsKwy2Lw66caxVU7WGC",
          "tag_ids": [
            "7JRNsKwy2Lw66caxVU7WGC"
          ]
        }
      ],
      "delete": [
        "7JRNsKwy2Lw66caxVU7WGC"
      ],
      "update": [
        {
          "id": "7JRNsKwy2Lw66caxVU7WGC",
          "ledger_id": "7JRNsKwy2Lw66caxVU7WGC",
          "tag_ids": [
            "7JRNsKwy2Lw66caxVU7WGC"
          ]
        }
      ]
    }
  }
]

Changes