Commit Redeemable Distribution
Triggers configuration and scheduling of a mass offer campaign on Punchh. This is used by an external platform to request Punchh to deliver offers to a target segment of guests using the Punchh mass offer campaign functionality. When using this endpoint to request scheduling of a mass offer campaign on Punchh, the mass offer campaign created will not have any marketing communication configured (email, push notification, SMS, etc.), and the mass offer campaign will only distribute a Punchh redeemable to the guests in the targeted segment.
For more information, see Headless Offers Management - Distribution
- Type: string
Content - Type requiredapplication/json
- Type: string
Accept requiredapplication/json
- Type: string
Authorization requiredBearer token for admin authorization, who is making a call on behalf of the customer
- Type: string
campaign _type requiredCampaign type. For example: mass gifting campaign, coupon campaign (currently only mass gifting campaign is supported)
- Type: string
category requiredGift type. For example: gift_redeemable, gift_fixed_point (currently only gift_redeemable is supported)
- Type: string
external _campaign _id ID of third-party campaign
- Type: string
name requiredCampaign name
- Type: string
redeemable _uuid requiredRedeemable UUID
- Type: integer
segment _id requiredSegment ID of the group of users for mass gifting
- Type: string
start _time requiredStart time of the campaign
- Type: object
200 - Type: integer
campaign _id ID of the campaign
- Type: string
external _source _id ID of third-party campaign
- Type: integer
redeemable _id ID of the redeemable
- Type: string
redeemable _image _url Image URL for the redeemable
- Type: string
redeemable _properties Specifies the redeemable attribute
- Type: stringFormat: date-time
start _time Start time of the campaign
- Type: string
time _zone Time zone of the campaign
- Type: object
400 - Type: object
404 - Type: object
422
{
"redeemable_id": 20416,
"redeemable_image_url": "IMAGE_URL_GOES_HERE",
"redeemable_properties": "attribute",
"campaign_id": 99511494,
"external_source_id": "2",
"start_time": "2021-09-14 06:44 PM",
"timezone": "Etc/UTC"
}