Promotions - export fields
Promotions
Field | Description | Data type | Example value |
PromotionId | The unique ID for the promotion template | GUID | 33E4499D-1259-48F9-8E0D-A6B001157EC5 |
PromotionName | Given name of the promotion | string | 20% discount on purchase - Welcome offer |
PromotionType | Type of the promotion | string | LoyaltyBar, Code, MobileSwipe, Bonuscheck |
ValidFromDateTime | Valid from | datetime | 2020-06-30T09:00:00+01:00 |
ValidToDate | Valid to | datetime | 2020-07-30T00:00:00+01:00 |
ExternalPromotionCode | If type is Bonuscheck then it will be populated with the bonuscheck number. | string | 24587495 |
CreatedOn | When the promotion template was created | datetime | 2020-05-30T00:00:00+01:00 |
ChangedOn | When the promotion was last changed | datetime | 2020-07-29T10:00:00+01:00 |
DeletedOn | When the promotion was deleted | datetime | 2020-07-30T00:00:00+01:00 |
PromotionRecipient
Field | Description | Data type | Example value |
PromotionRecipientId | The unique ID for each promotion assignment | GUID | 66E4499D-1259-48F9-8E0D-A6B001157EC5 |
PromotionId | The unique ID for the promotion template | GUID | 33E4499D-1259-48F9-8E0D-A6B001157EC5 |
ContactId | The unique contact ID | GUID | 99E4499D-3459-48F9-8E0D-A6B001157ED7 |
IsUsed | Whether the promotion has been used or not | boolean | false |
IsUsedInStoreId | In which store the promotion was used | string | 1001 |
UsageDateTime | When the promotion was used | datetime | 2020-07-29T12:00:00+01:00 |
ValidFromDateTime | When the promotion template was created | datetime | 2020-05-30T00:00:00+01:00 |
ValidToDateTime | When the promotion was last changed | datetime | 2020-07-29T10:00:00+01:00 |
CreatedOnDateTime | When the promotion was deleted | datetime | 2020-07-30T00:00:00+01:00 |
ChangedOnDateTime | When the promotion was last changed | datetime | 2020-07-29T10:00:00+01:00 |
PurchaseId | Which receipt ID was connected to the usage of promotion | string | 29785620594 |