Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 1.34 KB

CampaignConditions.md

File metadata and controls

29 lines (17 loc) · 1.34 KB

CampaignConditions

The conditions to apply to a campaign.

Properties

Name Type Description Notes
startTime OffsetDateTime The campaign's start time in UTC format. For example, 2021-09-23T03:30:00Z means 2021-09-23 11:30:00 (UTC +08:00).
endTime OffsetDateTime The campaign's end time in UTC format.
eaterType EaterTypeEnum The type of eater eligible for the campaign. * `all` - campaign will be applied to everyone. No limitation on campaign type. * `new` - campaign will be applied to consumers who have not ordered from this store in the last three months. Only applicable to order-level campaign.
minBasketAmount Double The minimum basket amount to be eligible for the campaign. Only applicable for order-level campaign. For example, 10.5 means the basket amount has to be at least $10.50. [optional]
bundleQuantity Integer Specify the bundle quantity for bundle offer campaign. [optional]
workingHour WorkingHour [optional]

Enum: EaterTypeEnum

Name Value
ALL "all"
NEW "new"
UNKNOWN_DEFAULT_OPEN_API "unknown_default_open_api"