Skip to main content
PATCH
/
v1
/
card-transactions
/
batch-update
Batch update card transactions
curl --request PATCH \
  --url https://api.light.inc/v1/card-transactions/batch-update \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json;charset=UTF-8' \
  --data '[
  {
    "cardTransactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "customProperties": [
      {
        "groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "valueIds": [
          "3c90c3cc-0d44-4b50-8888-8dd25736052a"
        ],
        "inlineValues": [
          "<string>"
        ]
      }
    ],
    "lines": [
      {
        "lineId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "customProperties": [
          {
            "groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "valueIds": [
              "3c90c3cc-0d44-4b50-8888-8dd25736052a"
            ],
            "inlineValues": [
              "<string>"
            ]
          }
        ],
        "description": "<string>",
        "accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "taxCodeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      }
    ],
    "description": "<string>"
  }
]'
"<any>"

Authorizations

Authorization
string
header
required

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

Body

application/json;charset=UTF-8 · object[]
cardTransactionId
string<uuid>
customProperties
object[] | null
lines
object[] | null
description
string | null

Response

default - application/json;charset=UTF-8

default response

The response is of type any.

I