Skip to content

Commit 5cc98b0

Browse files
author
Patrick Kosterman
committed
Member & coupon samples updated.
1 parent b46bc42 commit 5cc98b0

File tree

3 files changed

+8
-42
lines changed

3 files changed

+8
-42
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pass links at scale without the need for Developer Resources or the need to impl
4343

4444
![Project Encryption Key](/images/project-key.png)
4545

46-
* Create your CSV file (you can find samples in the [examples](/examples) folder).
46+
* Create your CSV file (you can find samples in the [examples](/examples) folder; just delete the columns that you don't need).
4747
* Ensure the CSV file contains the correct [headers](#available-field-names) (otherwise we won't be able to map it to the correct pass field).
4848
* Run the tool from the command-line: `./encrypted-link-generator-osx -in in.csv -out out.csv -url https://pskt.io/c/wrsynr -key f33332e108e3e5e040924d7dd7651f6f54b242525bf4e8733ea12ac3538af755` (replace values with your own).
4949
* Open up `out.csv`, test and distribute your links.
@@ -102,7 +102,7 @@ The following fields are currently supported. These are the field names to use a
102102
* `utm_content`: used for A/B testing and content-targeted ads. Use content to differentiate ads or links that point to the same URL.
103103

104104
## Examples
105-
Example CSV files with all supported field names are found in the [examples](/examples) folder in this repo.
105+
Example CSV files with all supported field names are found in the [examples](/examples) folder in this repo; just delete the columns that you don't need.
106106

107107
## PassKit Portal
108108
The [https://app.passkit.com](https://app.passkit.com) allows you to easily design loyalty cards, membership cards and coupons for both Apple Wallet and Google Pay.

examples/example-coupon-data.csv

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
person.displayName,person.emailAddress,members.member.externalId,members.tier.name,members.member.points
2-
Patrick,[email protected],5197353159,tier_2_test,4499
3-
Paul,[email protected],1144162438,tier_2_test,6216
4-
Nick,[email protected],2393143824,tier_2_test,8615
5-
Doron,[email protected],9221382193,tier_2_test,775
6-
Patrick,[email protected],7026223667,tier_2_test,2674
7-
Danny,[email protected],7435777951,tier_2_test,4074
8-
Paul,[email protected],7153676628,tier_2_test,4231
9-
Nick,[email protected],4846523053,tier_2_test,6217
10-
Patrick,[email protected],5413119962,tier_2_test,3243
11-
Nick,[email protected],2279250821,tier_2_test,4659
12-
Danny,[email protected],1341974216,tier_2_test,7034
13-
Paul,[email protected],4229258992,tier_2_test,9047
14-
Danny,[email protected],752170706,tier_2_test,9579
15-
Danny,[email protected],658167190,tier_2_test,1203
16-
Patrick,[email protected],9108666682,tier_2_test,1021
17-
Patrick,[email protected],2633506293,tier_2_test,1610
18-
Midori,[email protected],383133041,tier_2_test,3189
19-
Jesse,[email protected],8785340552,tier_2_test,1192
20-
Danny,[email protected],5695793516,tier_2_test,6035
1+
universal.optIn,universal.expiryDate,person.surname,person.forename,person.otherNames,person.salutation,person.suffix,person.displayName,person.gender,person.dateOfBirth,person.emailAddress,person.mobileNumber,person.externalId,singleUseCoupons.coupon.externalId,singleUseCoupons.coupon.sku,meta.customField,utm_source,utm_medium,utm_name,utm_term,utm_content
2+
TRUE,2021-06-22T23:59:00-05:00,Kosterman,Patrick,,Mr,,Patrick Kosterman,male,1986-06-22,[email protected],,ABC,ABC,SKU10,USD 10,facebook,social,,,
3+
FALSE,2021-06-22T23:59:00-05:00,Tomes,Paul,,Mr,,Paul Tomes,male,1971-08-05,[email protected],,DEF,DEF,SKU20,USD 20,instagram,social,,,

examples/example-member-data.csv

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
person.displayName,person.emailAddress,members.member.externalId,members.tier.name,members.member.points
2-
Patrick,[email protected],5197353159,tier_2_test,4499
3-
Paul,[email protected],1144162438,tier_2_test,6216
4-
Nick,[email protected],2393143824,tier_2_test,8615
5-
Doron,[email protected],9221382193,tier_2_test,775
6-
Patrick,[email protected],7026223667,tier_2_test,2674
7-
Danny,[email protected],7435777951,tier_2_test,4074
8-
Paul,[email protected],7153676628,tier_2_test,4231
9-
Nick,[email protected],4846523053,tier_2_test,6217
10-
Patrick,[email protected],5413119962,tier_2_test,3243
11-
Nick,[email protected],2279250821,tier_2_test,4659
12-
Danny,[email protected],1341974216,tier_2_test,7034
13-
Paul,[email protected],4229258992,tier_2_test,9047
14-
Danny,[email protected],752170706,tier_2_test,9579
15-
Danny,[email protected],658167190,tier_2_test,1203
16-
Patrick,[email protected],9108666682,tier_2_test,1021
17-
Patrick,[email protected],2633506293,tier_2_test,1610
18-
Midori,[email protected],383133041,tier_2_test,3189
19-
Jesse,[email protected],8785340552,tier_2_test,1192
20-
Danny,[email protected],5695793516,tier_2_test,6035
1+
universal.optIn,universal.expiryDate,person.surname,person.forename,person.otherNames,person.salutation,person.suffix,person.displayName,person.gender,person.dateOfBirth,person.emailAddress,person.mobileNumber,person.externalId,members.tier.name,members.member.externalId,members.member.points,members.member.tierPoints,members.member.secondaryPoints,members.member.groupingIdentifier,members.member.profileImage,meta.customField,utm_source,utm_medium,utm_name,utm_term,utm_content
2+
TRUE,2021-06-22T23:59:00-05:00,Kosterman,Patrick,,Mr,,Patrick Kosterman,male,1986-06-22,[email protected],,ABC,blue,ABC,1000,10,200,AZSD,https://passkit.com/images/[email protected],My custom value,facebook,social,,,
3+
FALSE,2021-06-22T23:59:00-05:00,Tomes,Paul,,Mr,,Paul Tomes,male,1971-08-05,[email protected],,DEF,blue,DEF,2000,20,400,AZSD,https://passkit.com/images/[email protected],My custom value,instagram,social,,,

0 commit comments

Comments
 (0)