Modified endpoints
POST /api/v1/integrations/offer-providers/custom/offers
Added fields to the payload scheme
Name | Type | Sample | Notes |
offers.offerData.dailyCap | int? | “dailyCap”: “10” |
|
offers.offerData.weeklyCap | int? | “weeklyCap”: “10” |
|
offers.offerData.monthlyCap | int? | “monthlyCap”: “10” |
|
offers.offerData.allTimeCap | int? | “allTimeCap”: “10” |
|
offers.offerData.offerEvents.dailyCap | int? | “dailyCap”: “10” |
|
offers.offerData.offerEvents.weeklyCap | int? | “weeklyCap”: “10” |
|
offers.offerData.offerEvents.monthyCap | int? | “monthlyCap”: “10” |
|
offers.offerData.offerEvents.allTimeCap | int? | “allTimeCap”: “10” |
|
Remarks:
For multi-event offers, it is not possible to set cap values (dailyCap, weeklyCap, monthlyCap, allTimeCap) directly on the offer level.
Instead, these values must be defined at the individual event level within offerEvents.
If any cap is provided on the offer level for a multi-event offer, the API will return a validation error.
Additionally, all cap values must be greater than or equal to 1.
