KashierDevelopersKashier Developers

Export customers

curl -X GET "https://test-api.kashier.io/v2/customers/export-async"
{  "message": "string"}

Exports the customers matching the given filters. The export is generated asynchronously and delivered to the merchant account's email address, so the response only acknowledges that the request is being processed.

Authorization

secretKey
Authorization<token>

Your secret key from the Kashier dashboard. Send the raw key value in the Authorization header, without a Bearer prefix.

In: header

Query Parameters

search?string

Search for a customer by name, phone number, or email address.

sortBy?string

Field to sort by: customer name, phone number, or email address.

sortType?integer

Sorting direction: 1 = ascending, -1 = descending.

Value in

  • 1
  • -1
startDate?string

Only export customers created after this date. Example: 01-06-2024

endDate?string

Only export customers created before this date. Example: 30-06-2024

Response Body

application/json

application/json

application/json

application/json

application/json

GET
/v2/customers/export-async