Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1 KB

UpdateCouponCollectionRequest.md

File metadata and controls

24 lines (18 loc) · 1 KB

Brevo::UpdateCouponCollectionRequest

Properties

Name Type Description Notes
default_coupon String A default coupon to be used in case there are no coupons left [optional]
expiration_date Time Specify an expiration date for the coupon collection in RFC3339 format. Use null to remove the expiration date. [optional]
remaining_days_alert Integer Send a notification alert (email) when the remaining days until the expiration date are equal or fall bellow this number. Use null to disable alerts. [optional]
remaining_coupons_alert Integer Send a notification alert (email) when the remaining coupons count is equal or fall bellow this number. Use null to disable alerts. [optional]

Example

require 'brevo'

instance = Brevo::UpdateCouponCollectionRequest.new(
  default_coupon: 10 OFF,
  expiration_date: 2024-01-01T00:00Z,
  remaining_days_alert: 5,
  remaining_coupons_alert: 5
)