Bulk batches

Create a batch

Creates an empty batch. batchType decides which import sheet the batch expects — withCustomer when each row carries the customer's details so Kashier can create or match a customer record, withoutCustomer when the rows are amounts only. Fill the batch afterwards with importBatchItems.

post/v2/batch

Request

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

Request body

batchNamestring required

A name for the batch, used to find it again in the list.

currency'EGP' | 'USD' | 'GBP' | 'EUR' required

Currency the batch's rows are billed in, for example EGP.

batchType'withCustomer' | 'withoutCustomer'

Which import sheet the batch expects — rows that carry customer details, or rows that are amounts only.

Response

The created batch, still empty.

messagestring

Changes

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