需求背景:
6月份日本站点会有优惠券促销活动,活动从5.26号就开始预热。截止到6.4号

需求内容:
1、优惠券对象:所有独立账号日本站点的店铺。
2、优惠券策略:
优惠券折扣:10%-20%
优惠券开始时间:5.26号;结束时间:6.4号
限制每位买家只能兑换一次:否(买家可兑换多次)
目标买家:所有买家
折扣类型:折扣
预算类型:金额
优惠券预算:100
执行间隔:无
是否循环发送优惠券:否
SELECT
a.OrderSourceID,
a.OrderSourceName,
ThreeMonthSaleNum AS '90天销量',
FirstOrderTime AS '平台&站点首单时间'
FROM
RB_Amazon_Product_Base (NOLOCK) AS a
LEFT JOIN dbo.RB_OrderSource(NOLOCK) AS b ON a.CustomerID = b.CustomerID AND a.OrderSourceID = b.ID
LEFT JOIN dbo.RB_Admin(NOLOCK) AS c ON a.CustomerID = c.CustomerID AND b.SaleAdminID = c.ID
LEFT JOIN dbo.RB_Amazon_Modify_Listing (nolock) AS d ON a.CustomerID = d.CustomerID
AND a.OrderSourceSKU = d.OrderSourceSku AND a.OrderSourceID = d.OrderSourceId
LEFT JOIN dbo.RB_FirstOrder_PatformCountry (nolock) AS e ON a.CustomerID = d.CustomerID AND a.SKU = e.Sku
WHERE a.CustomerID = 1 AND a.OrderSourceSKUID > 0 AND c.UserFullPathName LIKE '%亚马逊智能运营%' and e.OrderSourceType = 1
AND a.OrderSourceCountry = 'JP'
and d.status = 1
and (a.ThreeMonthSaleNum > 0 or (e.FirstOrderTime >= '2022-3-22' and a.KykcNum > 0))
ORDER BY FirstOrderTime
注意:
1、所有独立账号日本站点的店铺的feedback评分要求:3.5分以上或则无评论。
2、优惠券需要在5.24号或5.24号之前就要提交到亚马逊后台,否则超过提交时间则无效。
3、SQL筛选出来的店铺,需要过滤掉实验的账号
4、每个店铺根据【平台&站点首单时间】降序,每个店铺每天发1000个,发到5.24号,停止发送。

