Skip to main content

Promotions

FieldDescriptionData typeExample value
promotionIdThe unique ID for the promotion templateGUID33E4499D-1259-48F9-8E0D-A6B001157EC5
promotionNameGiven name of the promotionstring20% discount on purchase - Welcome offer
promotionTypeType of the promotionstringLoyaltyBar, Code, MobileSwipe, Bonuscheck
externalIdThe external promotion ID, set by API only.stringABC123
validFromDateTimeValid fromdatetime2020-06-30T09:00:00+01:00
validToDateValid todatetime2020-07-30T00:00:00+01:00
externalPromotionCodeIf type is Bonuscheck then it will be populated with the bonuscheck number.string24587495
createdOnWhen the promotion template was createddatetime2020-05-30T00:00:00+01:00
changedOnWhen the promotion was last changeddatetime2020-07-29T10:00:00+01:00
deletedOnWhen the promotion was deleteddatetime2020-07-30T00:00:00+01:00

PromotionRecipient

FieldDescriptionData typeExample value
promotionRecipientIdThe unique ID for each promotion assignmentGUID66E4499D-1259-48F9-8E0D-A6B001157EC5
promotionIdThe unique ID for the promotion templateGUID33E4499D-1259-48F9-8E0D-A6B001157EC5
contactIdThe unique contact IDGUID99E4499D-3459-48F9-8E0D-A6B001157ED7
isUsedWhether the promotion has been used or notbooleanfalse
usedInStoreIdIn which store the promotion was usedstring1001
UsageDateTimeWhen the promotion was useddatetime2020-07-29T12:00:00+01:00
validFromDateTimeWhen the promotion is valid fromdatetime2020-05-30T00:00:00+01:00
validToDateTimeWhen the promotion is valid untildatetime2020-07-29T10:00:00+01:00
createdOnDateTimeWhen the promotion was createddatetime2020-07-30T00:00:00+01:00
receiptExternalIdThe unique external ID for the receiptstring4646f3ef-732a-4bae-a352-ae8ae843e003
valueValue on promotiondecimal73.0000
valueTypeType of valueStringEXTERNALOFFER, PERCENT, MONEY
changeTypeType of changeStringCREATE, DELETE