KashierDevelopersKashier Developers

Update a batch item

curl -X PUT "https://test-api.kashier.io/v2/batch-item/string" \  -H "Content-Type: application/json" \  -d '{    "batchItem": {      "description": "Product purchase",      "totalAmount": 100,      "paymentType": "simple",      "referenceId": "REF-001",      "isSuspendedPayment": false,      "dueDate": "2026-12-31 23:59:59+00:00",      "extraFees": [],      "items": []    }  }'
{  "_id": "string",  "batchId": "string",  "name": "string",  "amount": 0,  "currency": "string",  "dueDate": "string",  "status": "string",  "createdAt": "string",  "updatedAt": "string"}

Corrects a single row inside a batch before it is shared — most often to fix an amount or a due date that came in wrong from the imported sheet. The fields live under a batchItem wrapper and mirror the ones on an invoice.

Authorization

secretKey
Authorization<token>

Merchant secret key used to identify the merchant, obtained from Kashier's dashboard. Pass the raw secret key value in the Authorization header (NOT a "Bearer" token).

In: header

Path Parameters

batchItemId*string

The batch item's record id.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

PUT
/v2/batch-item/{batchItemId}