v1

latestOpenAPI 3.1.02026-08-04103211436.0 KB
Transactions

Update transaction

Updates the synchronization status, additional info or custom attribute values of a transaction identified by id. Only the fields you send are changed. Note that updating an id that does not match any transaction also returns 200 without applying any change — no 404 is raised.

patch/transactions/{companyId}/{id}

Path parameters

idstring required
companyIdstring required

Request body

additionalInfoobject

Free-form key/value metadata to attach to the transaction.

syncboolean nullable

Marks the transaction as synchronized with your ERP.

Example request

{
  "attributes": [
    {
      "customId": "cost-center",
      "value": "Marketing",
      "valueCustomId": "marketing"
    }
  ]
}

Response

Successful Response

idstring required

Embat transaction ID