younifyd
Menu

Export Loyalty Card Transactions

Export Loyalty Card Transactions

POST/v1/loyalties/members/{memberId}/transactions/export

Use it in a workflow

  1. Add a step and choose the Voucherify connector.
  2. Pick the Export Loyalty Card Transactions action (under Loyalties).
  3. Fill in the fields below, then reference the result from later steps as {{exportLoyaltyCardTransactions.response.data}}.

Request

Path parameters

memberIdstringrequired

A unique code identifying the loyalty card that you are looking to export transaction data for.

Request body

Enter the body as JSON in the step's Body field.

parametersobject

List of available fields and filters that can be exported with an order along with the sorting order of the returned data.

orderany

How the export is filtered, where the dash - preceding a sorting option means sorting in a descending order.

fieldsarray<string>

Array of strings containing the data in the export. These fields define the headers in the CSV file.

filtersany

Filter conditions.

json
{
  "parameters": {
    "order": null,
    "fields": [
      "id"
    ],
    "filters": null
  }
}

Response

Returns 200 with a any. Read it in later steps with {{exportLoyaltyCardTransactions.response.data.<field>}}.

Need more? See the Voucherify guide for connection setup and behaviour shared by every action.

Export Loyalty Card Transactions — Voucherify — Documentation