CreateUberEatsPromotionRequest
Fields
- storeIdstring
REQUIRED. The storefront to run the promotion on, as
fetchStoresreports it. - promoTypestring
REQUIRED. The promotion mechanic — see
UberEatsPromoType.Possible values: [FLATOFF, PERCENTOFF, BOGO, FREEITEM_MINBASKET, MENU_ITEM_DISCOUNT, FREEDELIVERY] - startsAtstring<date-time>
REQUIRED. When the promotion starts running.
- endsAtstring<date-time>
REQUIRED. When the promotion stops running. Must be after
startsAt. - externalPromotionIdstring
Your reference for this promotion; echoed back on order-level attribution.
- discountobject
Mechanic-specific parameters — the branch of
UberEatsDiscountfor yourpromoType, e.g.minBasket+discountValueforFLATOFF;percentValue+maxDiscountforPERCENTOFF;targetItemIdsforBOGO; per-itemitemsforMENU_ITEM_DISCOUNT. When present,discount.promoTypemust equalpromoTypeor the request is a400. REQUIRED forPERCENTOFFandMENU_ITEM_DISCOUNT: omitting it there is a400. - budgetUberEatsPromotionBudget
The spend ceiling.
amountis an INTEGER IN MINOR UNITS — seeUberEatsPromotionBudget. - allowUnlimitedApplyboolean
Whether one customer may redeem repeatedly.
- userGroupstring
ONE-3409, ADDITIVE. Uber requires SOME
user_groupat create time; omit this and OneTablet defaults it toALL_CUSTOMERSon your behalf. SeeUberEatsUserGroup.Possible values: [ALL_CUSTOMERS, FIRST_TIME_CUSTOMER]