Create Flash Sale
Description: Create a new flash sale campaign with special discounts, limited stock, and a short time frame.
Path: /api/v1/pricing/createFlashSale
Method: POST
Request
Attributes
* = required
priceAdditionalHoursFlashSale
integer
Additional Hours Flash Sale price. Only applies to hourly booking (bookingtype = 1)
startDate
string
Start date Flash Sale.
Format: Y-m-d
Applicable only for applyType = 2 (Weekday) and 1 (Today)
endDate
string
End date Flash Sale.
Format: Y-m-d
Applicable only for applyType = 2 (Weekday) and 1 (Today)
applyType
integer
Applicable date frame type.
Possible enum values:
1= Today
2 = Weekday
3 = Special day
dayOfWeekList
array
Weekdays. The value is from 0-> 6 corresponding from Sunday to Saturday. Applicable only for applyType = 2 (Weekday)
Example
Response
Attributes
Example
Last updated