Upsert offers group
Authorizations
Opaque Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Body
The group of offers to create or update
Unique ID for the group
1 - 100List of all campaign IDs available in the group. All campaign dates should intersect, but not necessarily overlap group dates. All campaigns should have the same type, and should be published
Date from which tickets within the group can be turned into a coupon.
Date from which tickets within the group can no longer be turned into a coupon.
Amount of campaigns that should be active to allow assigning tickets to group. Constraint is resolved when assigning tickets to group.
For example:
-
If group has MinimumActiveCampaignsRequired = 2, but has only 1 campaign, it will not be possible to assign tickets to the group.
-
If group has MinimumActiveCampaignsRequired = 2, has 2 campaigns, one of which is already expired, it will not be possible to assign tickets to the group.
-
If group has MinimumActiveCampaignsRequired = 2, has 2 campaigns, one of which is out of coupons, it will not be possible to assign tickets to the group.
Response
OK
Unique ID for the group
1 - 100Customer specific campaign type. Determines how or by which service campaign will be used. Types used so far: game, appCoupon, gift, preferredStore, memberOffer, stampCard, stickersCampaign. All campaigns within the group have the same type
1 - 255All campaigns that are assigned to the group. Includes campaigns that have no coupons left or already expired.
Amount of campaigns that should be active to allow assigning tickets to group. Constraint is resolved when assigning tickets to group.
For example:
-
If group has MinimumActiveCampaignsRequired = 2, but has only 1 campaign, it will not be possible to assign tickets to the group.
-
If group has MinimumActiveCampaignsRequired = 2, has 2 campaigns, one of which is already expired, it will not be possible to assign tickets to the group.
-
If group has MinimumActiveCampaignsRequired = 2, has 2 campaigns, one of which is out of coupons, it will not be possible to assign tickets to the group.
Date from which tickets within the group can be turned into a coupon.
Date from which tickets within the group can no longer be turned into a coupon.
Amount of tickets reserved or assigned in the group, that are not yet turned into coupons.