younifyd
Menu

Export Loyalty Ledger

Export customer's transaction logs

GET/v1/loyalty_programs/{loyaltyProgramId}/profile/{integrationId}/export_log

Use it in a workflow

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

Request

Path parameters

loyaltyProgramIdstringrequired

The identifier for the loyalty program.

integrationIdstringrequired

The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier.

Query parameters

rangeStartstring (date-time)required

Only return results from after this timestamp. > [!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.

rangeEndstring (date-time)required

Only return results from before this timestamp. > [!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.

dateFormatstring

Determines the format of dates in the export document.

One ofexcelISO8601

Response

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

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

Export Loyalty Ledger — Talon.One — Documentation