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.
| Name | Type | Description |
|---|---|---|
beginTime | string | Store wall clock HH:MM; a stored value that is not four digits is passed as stored. |
begins | string (date) | First day (YYYY-MM-DD, the store's calendar). |
days | array of string | The weekdays it runs on; every day when absent. |
endTime | string | Store wall clock HH:MM, inclusive; a stored value that is not four digits is passed as stored. |
expires | string (date) | Last day (YYYY-MM-DD, inclusive). |
No other fields appear.