younifyd
Menu

Export Loyalty Card Balances

Export all card transaction logs

GET/v1/loyalty_programs/{loyaltyProgramId}/export_card_balances

Use it in a workflow

  1. Add a step and choose the Talon.One connector.
  2. Pick the Export Loyalty Card Balances action (under management).
  3. Fill in the fields below, then reference the result from later steps as {{exportLoyaltyCardBalances.response.data}}.

Request

Path parameters

loyaltyProgramIdinteger (int64)required

Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.

Query parameters

endDatestring (date-time)

Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.

Response

Returns 200 with a string (csv). Read it in later steps with {{exportLoyaltyCardBalances.response.data.<field>}}.

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

Export Loyalty Card Balances — Talon.One — Documentation