Batch update card transactions
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
-
cardTransactionIdstring · uuid -
customPropertiesarray of object-
groupIdstring · uuid -
valueIdsarray of string · uuidNote
Catalogue value ids for this group. Required; send
[](with an emptyinlineValues) to clear the group.SINGLE_SELECTandMULTI_SELECTgroups accept nothing else. See Custom properties on writes. -
inlineValuesarray of stringNote
Literal values for
TEXT,NUMERIC,BOOLEANandDATEgroups, as strings (yyyy-MM-ddfor dates). Rejected on select groups withCUSTOM_PROPERTY_VALUE_TYPE_MISMATCH. See Custom properties on writes.
-
-
linesarray of object-
lineIdstring · uuid -
customPropertiesarray of object-
groupIdstring · uuid -
valueIdsarray of string · uuidNote
Catalogue value ids for this group. Required; send
[](with an emptyinlineValues) to clear the group.SINGLE_SELECTandMULTI_SELECTgroups accept nothing else. See Custom properties on writes. -
inlineValuesarray of stringNote
Literal values for
TEXT,NUMERIC,BOOLEANandDATEgroups, as strings (yyyy-MM-ddfor dates). Rejected on select groups withCUSTOM_PROPERTY_VALUE_TYPE_MISMATCH. See Custom properties on writes.
-
-
descriptionstring -
accountIdstring · uuid -
taxCodeIdstring · uuid
-
-
postingDatestring · dateNote
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. -
descriptionstring
Response
application/json;charset=UTF-8This endpoint returns no content.