younifyd
Menu

Export Loyalty Balance

Export customer loyalty balance to CSV

GET/v1/loyalty_programs/{loyaltyProgramId}/export_customer_balance

Use it in a workflow

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

Request

Path parameters

loyaltyProgramIdstringrequired

The identifier for the loyalty program.

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 {{exportLoyaltyBalance.response.data.<field>}}.

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