DlcServiceLoyaltyPromotionsDiscounts
Contains all properties related to a punchh promotion.
- brandType: integer
_id Not supported in punchh.
- channelsType:Properties: 2
Array containing channels the reward can be redeemed on. Always returns all 5 channels: web, mobile, kiosk, pos, posintegrated
- createdType: string
_at Not supported in punchh.
- dateType: string | null
_from Not supported in punchh.
- dateType: string | null
_to Date when the promotion will expire and can no longer be used.
- descriptionType: string
The description of the promotion.
- discountType:
_conditions Properties: 5Not supported in punchh.
- discountType: array of object
_tags Not supported in punchh.
- idType: integer
It indicates the internal id of the discount.
- imageType:Properties: 3
Object containing image URL links.
- isType: boolean
_registered _only Not supported in punchh.
- maxType: integer
_redemption _count Not supported in punchh.
- nameType: string
The name of the promotion.
- positionType: integer
Not supported in punchh.
- reductionType: integer
_amount Not supported in punchh.
- reductionType: integer
_level _type Not supported in punchh.
- reductionType: integer
_percentage Not supported in punchh.
- reductionType: integer
_price Not supported in punchh.
- reductionType: integer
_type Not supported in punchh.
- referenceType: string
_type Possible values: "Promotion". It indicates the type of discount being a loyalty promotion.
- showType: boolean
_only _in _ordering _flow Not supported in punchh.
- trackingType: string
_code Not supported in punchh.
- translationsType: array of object | null
Not supported in punchh.
- typeType: integer
_id Possible values: 3. It indicates the type of discount being a promotion.
- updatedType: string
_at Not supported in punchh.
- venueType: array of object
_codes Array of venue_ids that the promotion can be redeemed at. If empty, it can be redeemed at all locations.
{
"id": 10005906790,
"type_id": 3,
"reference_type": "Promotion",
"brand_id": 0,
"position": 0,
"name": "$5 off Test Reward ",
"description": "99 pts= $5 off",
"tracking_code": "",
"max_redemption_count": 0,
"date_from": null,
"date_to": null,
"reduction_type": 0,
"reduction_level_type": 0,
"reduction_price": 0,
"reduction_amount": 0,
"reduction_percentage": 0,
"is_registered_only": false,
"show_only_in_ordering_flow": false,
"image": {
"fullsize": "https://res.cloudinary.com/punchh/image/upload/fl_lossy,q_auto/v1/static/punchh-icon-thumb.png",
"thumbnail_medium": "https://res.cloudinary.com/punchh/image/upload/fl_lossy,q_auto/v1/static/punchh-icon-thumb.png",
"thumbnail_small": "https://res.cloudinary.com/punchh/image/upload/fl_lossy,q_auto/v1/static/punchh-icon-thumb.png"
},
"channels": [
{
"type_id": 3,
"reference_type": "DiscountMobileChannel"
},
{
"type_id": 5,
"reference_type": "DiscountPosIntegratedChannel"
},
{
"type_id": 1,
"reference_type": "DiscountPosChannel"
},
{
"type_id": 4,
"reference_type": "DiscountWebChannel"
},
{
"type_id": 2,
"reference_type": "DiscountKioskChannel"
}
],
"discount_tags": [],
"discount_conditions": [
{
"id": 0,
"type_id": 1,
"reference_type": "DiscountConditionSpecificStore",
"discount_id": 10005906790,
"properties": {
"venue_ids": []
}
}
],
"translations": null,
"created_at": "2023-07-27T01:47:10-07:00",
"updated_at": "",
"venue_codes": []
}
