Bulk batches

Delete a batch or empty it

Deletes a batch, or just its contents. Pass operation=batch to remove the batch itself, or operation=batch_items to empty it and keep the batch so you can re-import a corrected sheet into it.

delete/v2/batch/{batchId}

Request

  • Base URL: https://test-api.kashier.io
  • URL: https://test-api.kashier.io/v2/batch/{batchId}
  • Auth: API key in header Authorization

Path parameters

batchIdstring required

The batch's record id.

Query parameters

operation'batch' | 'batch_items' required

What to delete — the batch itself, or only the items inside it.

Response

The batch was deleted, or emptied.

messagestring

Changes

No recorded changes to this operation across all 1 revision of this API.