younifyd
Menu

Export Loyalty Cards

Export loyalty cards

GET/v1/loyalty_programs/{loyaltyProgramId}/cards/export

Use it in a workflow

  1. Add a step and choose the Talon.One connector.
  2. Pick the Export Loyalty Cards action (under management).
  3. Fill in the fields below, then reference the result from later steps as {{exportLoyaltyCards.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

batchIdstring

Filter results by loyalty card batch ID.

createdBeforestring (date-time)

Only return loyalty cards created before this timestamp. **Note:** This must be an RFC3339 timestamp string.

createdAfterstring (date-time)

Only return loyalty cards created after this timestamp. **Note:** This must be an RFC3339 timestamp string.

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

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

Export Loyalty Cards — Talon.One — Documentation