CompuDime API docs

Reference / Schemas

PromotionWindow

The deal's window as the store keeps it. beginTime counts only on the begin date (and not at all without one); endTime counts only on the end date, or on every day when there is no end date. Absent when the deal has no window.

Type: object.

NameTypeDescription
beginTimestringStore wall clock HH:MM; a stored value that is not four digits is passed as stored.
beginsstring (date)First day (YYYY-MM-DD, the store's calendar).
daysarray of stringThe weekdays it runs on; every day when absent.
endTimestringStore wall clock HH:MM, inclusive; a stored value that is not four digits is passed as stored.
expiresstring (date)Last day (YYYY-MM-DD, inclusive).

No other fields appear.