Batches Edit
batches_editUpdate an existing batch by sending a complete JSON:API payload to the Pingen API, allowing changes to batch details within an organisation.
Instructions
Edit a batch. PATCH /organisations/{organisationId}/batches/{batchId}
payload is the full JSON:API document (BatchEditPATCH), sent verbatim.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"organisation_id": "<organisation_id>",
"batch_id": "<batch_id>",
"payload": "<payload>"
},
"name": "batches_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | ||
| batch_id | Yes | ||
| organisation_id | Yes |