Home > widget-integration > CountdownCampaign
CountdownCampaign interface
Campaign data as returned by sip-api GET /bc-sf-filter/countdown-timer. Shape matches Redis hash field in bc-sf-filter:{tenantId}:countdown_timer.
Signature:
export interface CountdownCampaign
Remarks
updated_at, start_date, and end_date are Unix timestamps in milliseconds. product_ids and collection_ids are present only when the campaign targets specific products or collections rather than the entire store.
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
number[] |
(Optional) | ||
|
string | null | |||
|
number |
(Optional) | ||
|
number[] |
(Optional) | ||
|
{ timerSettings: CountdownTimerSettings; generalSettings: CountdownGeneralSettings; styleSettings: CountdownStyleSettings; styleSettingsCartDrawer?: CountdownStyleSettings; } | |||
|
number |
(Optional) | ||
|
string | |||
|
number |