New KPMG Agentic ERP, now available with KPMG in 140+ countries Read the announcement

Batch update card transactions

PATCH
https://api.light.inc/v1/card-transactions/batch-update

Updates multiple card transactions in a single operation

Authorization

Send one of these on every request. See Authentication for how to get credentials.

  • API key

    Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.

  • Bearer token

Request body

application/json;charset=UTF-8

  • cardTransactionId string · uuid

  • customProperties array of object

    • groupId string · uuid

    • valueIds array of string · uuid

      Note

      Catalogue value ids for this group. Required; send [] (with an empty inlineValues) to clear the group. SINGLE_SELECT and MULTI_SELECT groups accept nothing else. See Custom properties on writes.

    • inlineValues array of string

      Note

      Literal values for TEXT, NUMERIC, BOOLEAN and DATE groups, as strings (yyyy-MM-dd for dates). Rejected on select groups with CUSTOM_PROPERTY_VALUE_TYPE_MISMATCH. See Custom properties on writes.

  • lines array of object

    • lineId string · uuid

    • customProperties array of object

      • groupId string · uuid

      • valueIds array of string · uuid

        Note

        Catalogue value ids for this group. Required; send [] (with an empty inlineValues) to clear the group. SINGLE_SELECT and MULTI_SELECT groups accept nothing else. See Custom properties on writes.

      • inlineValues array of string

        Note

        Literal values for TEXT, NUMERIC, BOOLEAN and DATE groups, as strings (yyyy-MM-dd for dates). Rejected on select groups with CUSTOM_PROPERTY_VALUE_TYPE_MISMATCH. See Custom properties on writes.

    • description string

    • accountId string · uuid

    • taxCodeId string · uuid

  • postingDate string · date

    Note

    Writable here and nowhere else on the card side, and returned by no card-transaction response. Read it back on the ledger line (GET /v1/ledger-transaction-lines, postingDate) once the transaction is posted.

  • description string

Response

application/json;charset=UTF-8This endpoint returns no content.