HomeGuidesAPI ReferenceChangelogDiscussions
HomeLog In
Guides

Search Promotions

Function

To get detailed information of couple promotions sorted by time
利用時間範圍選取與排序獲取數筆優惠活動

URL

GET <<api_domain>>/v1/promotions/search

Request parameters

ParameterTypeDescriptionExample
updated_afterDateTimeFilter data by updated_at after.
取得 updated_at 大於某段時間的 Date.

- should use UTC time
ruby updated_after=2018-01-01 00:00:00 +0000
updated_beforeDateTimeFilter data by updated_at before.
取得 updated_at 小於某段時間的 Date.

- should use UTC time
ruby updated_before=2018-01-01 00:00:00 +0000
created_afterDateTimeFilter data by created_at after.
取得 created_at 大於某段時間的 Date.

- should use UTC time
ruby created_after=2018-01-01 00:00:00 +0000
created_beforeDateTimeFilter data by created_at before.
取得 created_at 小於某段時間的 Date.

- should use UTC time
ruby created_before=2018-01-01 00:00:00 +0000
start_afterDateTimeFilter data by start_at after.
取得 start_at 大於某段時間的 Date.

- should use UTC time
ruby start_after=2018-01-01 00:00:00 +0000
start_beforeDateTimeFilter data by start_at before.
取得 start_at 小於某段時間的 Date.

- should use UTC time
ruby start_before=2018-01-01 00:00:00 +0000
end_afterDateTimeFilter data by end_at after.
取得 end_at 大於某段時間的 Date.

- should use UTC time
ruby end_after=2018-01-01 00:00:00 +0000
end_beforeDateTimeFilter data by end_at before.
取得 end_at 小於某段時間的 Date.

- should use UTC time
ruby end_before=2018-01-01 00:00:00 +0000
apply_methodStringApply Method
促銷方式

- auto_apply: 自動套用
coupon: 優惠券
affiliate_campaign: 推薦活動
ruby apply_method=coupon
coupon_type[]ArrayCoupon Type
優惠券形式

- draw: 領取型優惠券
single: 單組通用代碼
multi: 多組獨立代碼
ruby coupon_type[]=draw&coupon_type[]=single
statusStringPromotion status
活動狀態

- active: 上架
draft: 下架
hidden: 會員默認優惠/主商品加購品
ruby status=active
available_countStringAvailable Count
尚可領取次數
ruby available_count=gte:0
(代表可以篩選出 available_count >= 0 的 promotion)
其他用法:gt (>), lte (<=), lt (<)
discount_onStringPromotion Target
優惠套用對象

- order: Entire shop 全店
item: Specific item 指定商品
category: Specific category 指定分類
ruby discount_on=order
discount_type[]ArrayDiscount type
折扣類型

- percentage: 折扣%
amount: 固定金額
free_shipping: 免運
gift: 贈品
addon: 加購品 (購物車加價購)
bundle_pricing :任選優惠組合價格
bundle_group:A+B組合優惠組合價格
bundle_percentage:任選優惠折扣%
bundle_amount:任選優惠折扣固定金額
bundle_gift : 任選優惠贈品
bundle_group_percentage : A+B組合優惠折扣%
bundle_group_amount: A+B組合優惠折扣固定金額
bundle_group_gift : A+B組合優惠贈品
subscription_gift:定期購贈品
subscription_percentage: 定期購優惠折扣%
subscription_amount: 定期購優惠折扣固定金額
member_point_redeem_gift:點數兌換贈品
credit_reward : 回饋活動
ruby discount_type[]=percentage&discount_type[]=gift
per_pageIntegerNumbers of Customers per Page
每頁顯示 n 筆資料
(Default: 24)
ruby per_page=24
pageIntegerPage Number
頁數
(Default: 1)
ruby page=1

🚧

Note

Please note the following pagination limitations when using this API:

  • The request will fail if page * per_page exceeds 10,000.
  • Example: If per_page = 50, the maximum value for page should be 200. Exceeding this value will result in an error.

使用此 API 時,請注意以下分頁限制:

  • page * per_page 大於 10,000 時,請求將會失敗。
  • 範例:如果 per_page = 50,page 最大值應為 200,超過此值請求將會失敗。

Response fields

FieldTypeDescriptionExample
itemsGet PromotionPromotion Data
優惠活動資訊
Please check the link on the left
paginationPaginationPagination Data
頁面資訊
Please check the link on the left

Response Example

JSON sample

{
  "items": [
    {
      "id": "5f06c48a436e2b004b471613",
      "discount_percentage": null,
      "discount_amount": null,
      "discountable_quantity": null,
      "discounted_point": 10000,
      "discounted_price": null,
      "discountable_product_ids": ["5f06a6ad2a051a0048caec6f"],
      "conditions": [],
      "created_at": "2020-07-09T07:17:30.145+00:00",
      "updated_at": "2020-07-09T07:17:30.145+00:00",
      "title_translations": {
        "en": "Points Campaign",
        "zh-hant": "點數兌換活動"
      },
      "discount_on": "order",
      "discountable_category_ids": [],
      "discount_type": "member_point_redeem_gift",
      "is_accumulated": false,
      "codes": null,
      "membership_tier_id": null,
      "requires_membership": false,
      "whitelisted_membership_tier_ids": [],
      "user_max_use_count": 0,
      "max_use_count": 0,
      "use_count": 0,
      "sum_use_count": 0,
      "drew_coupon_count": 0,
      "whitelisted_delivery_option_ids": [],
      "whitelisted_payment_ids": [],
      "start_at": "2020-07-08T16:00:00.000+00:00",
      "end_at": "2021-12-22T16:00:00.000+00:00",
      "status": "active",
      "usable": true,
      "for_affiliate_campaign": false,
      "is_contain_campaign": false,
      "seo_keywords": null,
      "seo_description_translations": {},
      "seo_title_translations": {},
      "link": null,
      "extended_promotion_id": "5f06c489b84a7c19fe5cfa10",
      "extend_promotions": []
    },
    {
      "id": "5f06c489b84a7c19fe5cfa10",
      "discount_percentage": null,
      "discount_amount": null,
      "discountable_quantity": null,
      "discounted_point": null,
      "discounted_price": null,
      "discountable_product_ids": ["5f06a6ad2a051a0048caec6f"],
      "conditions": [],
      "created_at": "2020-07-09T07:17:29.971+00:00",
      "updated_at": "2020-07-09T07:17:29.971+00:00",
      "title_translations": {
        "en": "Points Campaign",
        "zh-hant": "點數兌換活動"
      },
      "discount_on": "order",
      "discountable_category_ids": [],
      "discount_type": "member_point_redeem_gift",
      "is_accumulated": false,
      "codes": null,
      "membership_tier_id": null,
      "requires_membership": false,
      "whitelisted_membership_tier_ids": [],
      "user_max_use_count": 0,
      "max_use_count": 0,
      "use_count": 0,
      "sum_use_count": 0,
      "drew_coupon_count": 0,
      "whitelisted_delivery_option_ids": [],
      "whitelisted_payment_ids": [],
      "start_at": "2020-07-08T16:00:00.000+00:00",
      "end_at": "2021-12-22T16:00:00.000+00:00",
      "status": "active",
      "usable": true,
      "for_affiliate_campaign": false,
      "is_contain_campaign": false,
      "seo_keywords": null,
      "seo_description_translations": {},
      "seo_title_translations": {},
      "link": null,
      "extended_promotion_id": null,
      "extend_promotions": [
        {
          "id": "5f06c48a436e2b004b471613",
          "discount_percentage": null,
          "discount_amount": null,
          "discountable_quantity": null,
          "discounted_point": 10000,
          "discounted_price": null,
          "discountable_product_ids": ["5f06a6ad2a051a0048caec6f"],
          "conditions": []
        }
      ]
    },
    {
      "id": "5f06c338a5daed002d2dbc7d",
      "discount_percentage": null,
      "discount_amount": null,
      "discountable_quantity": null,
      "discounted_point": null,
      "discounted_price": {
        "cents": 12200,
        "currency_symbol": "HK$",
        "currency_iso": "HKD",
        "label": "HK$122.00",
        "dollars": 122.0
      },
      "discountable_product_ids": [
        "5e8420f2ad0fba0015406e56",
        "5e8420b54c61c3001ea5155c"
      ],
      "conditions": [
        {
          "id": "5f06c338a5daed002d2dbc7e",
          "min_item_count": 2,
          "min_price": null,
          "type": null,
          "whitelisted_product_ids": [
            "5e8420f2ad0fba0015406e56",
            "5e8420b54c61c3001ea5155c"
          ],
          "whitelisted_category_ids": [],
          "blacklisted_product_ids": []
        }
      ],
      "created_at": "2020-07-09T07:11:52.048+00:00",
      "updated_at": "2020-07-09T07:12:56.742+00:00",
      "title_translations": {
        "en": "Bundle Pricing 1",
        "zh-hant": "任選優惠 1"
      },
      "discount_on": "item",
      "discountable_category_ids": [],
      "discount_type": "bundle_pricing",
      "is_accumulated": false,
      "codes": [],
      "membership_tier_id": null,
      "requires_membership": false,
      "whitelisted_membership_tier_ids": [],
      "user_max_use_count": 0,
      "max_use_count": null,
      "use_count": 0,
      "sum_use_count": 0,
      "drew_coupon_count": 0,
      "whitelisted_delivery_option_ids": [
        "5e8417e7d4f5f100393710fa",
        "5e841409beef3d001b403c3c",
        "5e8413ed563778001e96a319"
      ],
      "whitelisted_payment_ids": [
        "5efb0403686be3003f677c0e",
        "5e84132050b28e002d149b18",
        "5ec77c53bc187e003131eb00",
        "5e84133f95b3340015764347",
        "5e840fe1ca53240018eaaa50",
        "5e8413688fa5fc00159950d1"
      ],
      "start_at": "2020-07-09T07:00:00.000+00:00",
      "end_at": null,
      "status": "active",
      "usable": true,
      "for_affiliate_campaign": false,
      "is_contain_campaign": false,
      "seo_keywords": "",
      "seo_description_translations": {},
      "seo_title_translations": {},
      "link": null,
      "extended_promotion_id": null,
      "extend_promotions": []
    },
    {
      "id": "5f06a6cb0a3509004853443a",
      "discount_percentage": null,
      "discount_amount": null,
      "discountable_quantity": 3,
      "discounted_point": null,
      "discounted_price": null,
      "discountable_product_ids": ["5f06a6ad2a051a0048caec6f"],
      "conditions": [],
      "created_at": "2020-07-09T05:10:35.658+00:00",
      "updated_at": "2020-07-09T05:10:35.658+00:00",
      "title_translations": {
        "en": "Free Gift Test",
        "zh-hant": "贈品Test"
      },
      "discount_on": "order",
      "discountable_category_ids": [],
      "discount_type": "gift",
      "is_accumulated": false,
      "codes": [],
      "membership_tier_id": null,
      "requires_membership": false,
      "whitelisted_membership_tier_ids": [],
      "user_max_use_count": 0,
      "max_use_count": null,
      "use_count": 0,
      "sum_use_count": 0,
      "drew_coupon_count": 0,
      "whitelisted_delivery_option_ids": [
        "5e8417e7d4f5f100393710fa",
        "5e841409beef3d001b403c3c",
        "5e8413ed563778001e96a319"
      ],
      "whitelisted_payment_ids": [
        "5efb0403686be3003f677c0e",
        "5e84132050b28e002d149b18",
        "5ec77c53bc187e003131eb00",
        "5e84133f95b3340015764347",
        "5e840fe1ca53240018eaaa50",
        "5e8413688fa5fc00159950d1"
      ],
      "start_at": "2020-07-09T04:00:00.000+00:00",
      "end_at": null,
      "status": "active",
      "usable": true,
      "for_affiliate_campaign": false,
      "is_contain_campaign": false,
      "seo_keywords": null,
      "seo_description_translations": {},
      "seo_title_translations": {},
      "link": null,
      "extended_promotion_id": null,
      "extend_promotions": []
    },
    {
      "id": "5e8444fe80adb9001b107ccd",
      "discount_percentage": 20.0,
      "discount_amount": null,
      "discountable_quantity": null,
      "discounted_point": null,
      "discounted_price": null,
      "discountable_product_ids": [],
      "conditions": [
        {
          "id": "5e8444fe80adb9001b107cce",
          "min_item_count": null,
          "min_price": {
            "cents": 300000,
            "currency_symbol": "HK$",
            "currency_iso": "HKD",
            "label": "HK$3000.00",
            "dollars": 3000.0
          },
          "type": null,
          "whitelisted_product_ids": [],
          "whitelisted_category_ids": [],
          "blacklisted_product_ids": []
        }
      ],
      "created_at": "2020-04-01T07:38:38.213+00:00",
      "updated_at": "2020-04-01T07:38:38.213+00:00",
      "title_translations": {
        "en": "tiered discounts 3"
      },
      "discount_on": "order",
      "discountable_category_ids": [],
      "discount_type": "percentage",
      "is_accumulated": false,
      "codes": [],
      "membership_tier_id": null,
      "requires_membership": false,
      "whitelisted_membership_tier_ids": [],
      "user_max_use_count": 0,
      "max_use_count": null,
      "use_count": 0,
      "sum_use_count": 0,
      "drew_coupon_count": 0,
      "whitelisted_delivery_option_ids": [
        "5e8417e7d4f5f100393710fa",
        "5e841409beef3d001b403c3c",
        "5e8413ed563778001e96a319"
      ],
      "whitelisted_payment_ids": [
        "5e8413688fa5fc00159950d1",
        "5e84133f95b3340015764347",
        "5e84132050b28e002d149b18",
        "5e840fe1ca53240018eaaa50"
      ],
      "start_at": "2020-04-01T07:00:00.000+00:00",
      "end_at": null,
      "status": "active",
      "usable": true,
      "for_affiliate_campaign": false,
      "is_contain_campaign": false,
      "seo_keywords": null,
      "seo_description_translations": {},
      "seo_title_translations": {},
      "link": null,
      "extended_promotion_id": null,
      "extend_promotions": []
    },
    {
      "id": "5e8444774020410036309076",
      "discount_percentage": 10.0,
      "discount_amount": null,
      "discountable_quantity": null,
      "discounted_point": null,
      "discounted_price": null,
      "discountable_product_ids": [],
      "conditions": [
        {
          "id": "5e8444774020410036309077",
          "min_item_count": null,
          "min_price": {
            "cents": 100000,
            "currency_symbol": "HK$",
            "currency_iso": "HKD",
            "label": "HK$1000.00",
            "dollars": 1000.0
          },
          "type": null,
          "whitelisted_product_ids": [],
          "whitelisted_category_ids": [],
          "blacklisted_product_ids": []
        }
      ],
      "created_at": "2020-04-01T07:36:23.144+00:00",
      "updated_at": "2020-04-01T07:36:23.144+00:00",
      "title_translations": {
        "en": "tiered discounts",
        "zh-hant": "tiered discounts"
      },
      "discount_on": "order",
      "discountable_category_ids": [],
      "discount_type": "percentage",
      "is_accumulated": false,
      "codes": [],
      "membership_tier_id": null,
      "requires_membership": false,
      "whitelisted_membership_tier_ids": [],
      "user_max_use_count": 0,
      "max_use_count": null,
      "use_count": 0,
      "sum_use_count": 0,
      "drew_coupon_count": 0,
      "whitelisted_delivery_option_ids": [
        "5e8417e7d4f5f100393710fa",
        "5e841409beef3d001b403c3c",
        "5e8413ed563778001e96a319"
      ],
      "whitelisted_payment_ids": [
        "5e8413688fa5fc00159950d1",
        "5e84133f95b3340015764347",
        "5e84132050b28e002d149b18",
        "5e840fe1ca53240018eaaa50"
      ],
      "start_at": "2020-04-01T07:00:00.000+00:00",
      "end_at": null,
      "status": "active",
      "usable": true,
      "for_affiliate_campaign": false,
      "is_contain_campaign": false,
      "seo_keywords": null,
      "seo_description_translations": {},
      "seo_title_translations": {},
      "link": null,
      "extended_promotion_id": null,
      "extend_promotions": []
    },
    {
      "id": "5e8444bc8229510034698190",
      "discount_percentage": 15.0,
      "discount_amount": null,
      "discountable_quantity": null,
      "discounted_point": null,
      "discounted_price": null,
      "discountable_product_ids": [],
      "conditions": [
        {
          "id": "5e8444bc8229510034698191",
          "min_item_count": null,
          "min_price": {
            "cents": 200000,
            "currency_symbol": "HK$",
            "currency_iso": "HKD",
            "label": "HK$2000.00",
            "dollars": 2000.0
          },
          "type": null,
          "whitelisted_product_ids": [],
          "whitelisted_category_ids": [],
          "blacklisted_product_ids": []
        }
      ],
      "created_at": "2020-04-01T07:37:32.388+00:00",
      "updated_at": "2020-04-01T07:37:32.388+00:00",
      "title_translations": {
        "en": "tiered discounts 2"
      },
      "discount_on": "order",
      "discountable_category_ids": [],
      "discount_type": "percentage",
      "is_accumulated": false,
      "codes": [],
      "membership_tier_id": null,
      "requires_membership": false,
      "whitelisted_membership_tier_ids": [],
      "user_max_use_count": 0,
      "max_use_count": null,
      "use_count": 0,
      "sum_use_count": 0,
      "drew_coupon_count": 0,
      "whitelisted_delivery_option_ids": [
        "5e8417e7d4f5f100393710fa",
        "5e841409beef3d001b403c3c",
        "5e8413ed563778001e96a319"
      ],
      "whitelisted_payment_ids": [
        "5e8413688fa5fc00159950d1",
        "5e84133f95b3340015764347",
        "5e84132050b28e002d149b18",
        "5e840fe1ca53240018eaaa50"
      ],
      "start_at": "2020-04-01T07:00:00.000+00:00",
      "end_at": null,
      "status": "active",
      "usable": true,
      "for_affiliate_campaign": false,
      "is_contain_campaign": false,
      "seo_keywords": null,
      "seo_description_translations": {},
      "seo_title_translations": {},
      "link": null,
      "extended_promotion_id": null,
      "extend_promotions": []
    },
    {
      "id": "5e8443248fa2d800274310eb",
      "discount_percentage": 10.0,
      "discount_amount": null,
      "discountable_quantity": null,
      "discounted_point": null,
      "discounted_price": null,
      "discountable_product_ids": [
        "5e8428d41e1643000f7d8e28",
        "5e84273658316b00016e80e8"
      ],
      "conditions": [
        {
          "id": "5e8443248fa2d800274310ec",
          "min_item_count": null,
          "min_price": {
            "cents": 20000,
            "currency_symbol": "HK$",
            "currency_iso": "HKD",
            "label": "HK$200.00",
            "dollars": 200.0
          },
          "type": null,
          "whitelisted_product_ids": [],
          "whitelisted_category_ids": [],
          "blacklisted_product_ids": []
        }
      ],
      "created_at": "2020-04-01T07:30:44.757+00:00",
      "updated_at": "2020-04-01T07:38:06.006+00:00",
      "title_translations": {
        "en": "10% off discount for entire orders",
        "zh-hant": "10% off discount for entire orders"
      },
      "discount_on": "item",
      "discountable_category_ids": [],
      "discount_type": "percentage",
      "is_accumulated": false,
      "codes": [],
      "membership_tier_id": null,
      "requires_membership": false,
      "whitelisted_membership_tier_ids": [],
      "user_max_use_count": 0,
      "max_use_count": 100,
      "use_count": 0,
      "sum_use_count": 0,
      "drew_coupon_count": 0,
      "whitelisted_delivery_option_ids": [
        "5e8417e7d4f5f100393710fa",
        "5e841409beef3d001b403c3c",
        "5e8413ed563778001e96a319"
      ],
      "whitelisted_payment_ids": [
        "5e8413688fa5fc00159950d1",
        "5e84133f95b3340015764347",
        "5e84132050b28e002d149b18",
        "5e840fe1ca53240018eaaa50"
      ],
      "start_at": "2020-04-01T07:00:00.000+00:00",
      "end_at": null,
      "status": "active",
      "usable": true,
      "for_affiliate_campaign": false,
      "is_contain_campaign": false,
      "seo_keywords": "",
      "seo_description_translations": {},
      "seo_title_translations": {},
      "link": null,
      "extended_promotion_id": null,
      "extend_promotions": []
    },
    {
      "id": "5e842ca295d8db00367ce538",
      "discount_percentage": null,
      "discount_amount": null,
      "discountable_quantity": null,
      "discounted_point": null,
      "discounted_price": {
        "cents": 200,
        "currency_symbol": "HK$",
        "currency_iso": "HKD",
        "label": "HK$2.00",
        "dollars": 2.0
      },
      "discountable_product_ids": ["5e842c194c61c30021a5158a"],
      "conditions": [
        {
          "id": "5e842ca295d8db00367ce539",
          "min_item_count": null,
          "min_price": null,
          "type": null,
          "whitelisted_product_ids": [
            "5e84273658316b00016e80e7",
            "5e84273658316b00016e80e8",
            "5e84273658316b00016e80ea",
            "5e84273658316b00016e80e9",
            "5e8420471e164300307d8baa",
            "5e841f988fa2d80018430718"
          ],
          "whitelisted_category_ids": [],
          "blacklisted_product_ids": []
        }
      ],
      "created_at": "2020-04-01T05:54:42.596+00:00",
      "updated_at": "2020-04-01T05:54:42.596+00:00",
      "title_translations": {},
      "discount_on": "item",
      "discountable_category_ids": [],
      "discount_type": "addon",
      "is_accumulated": false,
      "codes": null,
      "membership_tier_id": null,
      "requires_membership": false,
      "whitelisted_membership_tier_ids": [],
      "user_max_use_count": 0,
      "max_use_count": 0,
      "use_count": 0,
      "sum_use_count": 0,
      "drew_coupon_count": 0,
      "whitelisted_delivery_option_ids": [],
      "whitelisted_payment_ids": [],
      "start_at": null,
      "end_at": null,
      "status": "hidden",
      "usable": true,
      "for_affiliate_campaign": false,
      "is_contain_campaign": false,
      "seo_keywords": null,
      "seo_description_translations": {},
      "seo_title_translations": {},
      "link": null,
      "extended_promotion_id": null,
      "extend_promotions": []
    },
    {
      "id": "5e844fa75f88ae00275fc2bb",
      "discount_percentage": 2.0,
      "discount_amount": null,
      "discountable_quantity": null,
      "discounted_point": null,
      "discounted_price": null,
      "discountable_product_ids": [],
      "conditions": [],
      "created_at": "2020-04-01T08:24:07.503+00:00",
      "updated_at": "2020-04-01T08:24:07.503+00:00",
      "title_translations": {},
      "discount_on": "order",
      "discountable_category_ids": [],
      "discount_type": "percentage",
      "is_accumulated": false,
      "codes": null,
      "membership_tier_id": "5e844fa74c61c30030a521f3",
      "requires_membership": false,
      "whitelisted_membership_tier_ids": ["5e844fa74c61c30030a521f3"],
      "user_max_use_count": 0,
      "max_use_count": 0,
      "use_count": 0,
      "sum_use_count": 0,
      "drew_coupon_count": 0,
      "whitelisted_delivery_option_ids": [],
      "whitelisted_payment_ids": [],
      "start_at": null,
      "end_at": null,
      "status": "hidden",
      "usable": true,
      "for_affiliate_campaign": false,
      "is_contain_campaign": false,
      "seo_keywords": null,
      "seo_description_translations": {},
      "seo_title_translations": {},
      "link": null,
      "extended_promotion_id": null,
      "extend_promotions": []
    },
    {
      "id": "5e8445bcca53240021eab706",
      "discount_percentage": null,
      "discount_amount": {
        "cents": 5000,
        "currency_symbol": "HK$",
        "currency_iso": "HKD",
        "label": "HK$50.00",
        "dollars": 50.0
      },
      "discountable_quantity": null,
      "discounted_point": null,
      "discounted_price": null,
      "discountable_product_ids": [],
      "conditions": [],
      "created_at": "2020-04-01T07:41:48.919+00:00",
      "updated_at": "2020-04-01T07:42:08.814+00:00",
      "title_translations": {
        "en": "discount coupons"
      },
      "discount_on": "order",
      "discountable_category_ids": [],
      "discount_type": "amount",
      "is_accumulated": false,
      "codes": ["VIP001", "VIP002"],
      "membership_tier_id": null,
      "requires_membership": false,
      "whitelisted_membership_tier_ids": [],
      "user_max_use_count": 0,
      "max_use_count": null,
      "use_count": 1,
      "sum_use_count": 1,
      "drew_coupon_count": 0,
      "whitelisted_delivery_option_ids": [
        "5e8417e7d4f5f100393710fa",
        "5e841409beef3d001b403c3c",
        "5e8413ed563778001e96a319"
      ],
      "whitelisted_payment_ids": [
        "5e8413688fa5fc00159950d1",
        "5e84133f95b3340015764347",
        "5e84132050b28e002d149b18",
        "5e840fe1ca53240018eaaa50"
      ],
      "start_at": "2020-04-01T07:00:00.000+00:00",
      "end_at": "2020-12-30T16:00:00.000+00:00",
      "status": "active",
      "usable": true,
      "for_affiliate_campaign": false,
      "is_contain_campaign": false,
      "seo_keywords": "",
      "seo_description_translations": {},
      "seo_title_translations": {},
      "link": null,
      "extended_promotion_id": null,
      "extend_promotions": []
    },
    {
      "id": "5e84454c4fd50d0015ade649",
      "discount_percentage": null,
      "discount_amount": null,
      "discountable_quantity": null,
      "discounted_point": null,
      "discounted_price": null,
      "discountable_product_ids": [],
      "conditions": [
        {
          "id": "5e84454c4fd50d0015ade64a",
          "min_item_count": null,
          "min_price": {
            "cents": 40000,
            "currency_symbol": "HK$",
            "currency_iso": "HKD",
            "label": "HK$400.00",
            "dollars": 400.0
          },
          "type": null,
          "whitelisted_product_ids": [],
          "whitelisted_category_ids": [],
          "blacklisted_product_ids": []
        }
      ],
      "created_at": "2020-04-01T07:39:56.931+00:00",
      "updated_at": "2020-04-01T07:39:56.931+00:00",
      "title_translations": {
        "en": "free shipping spending with minimum amount of $400, specially for members"
      },
      "discount_on": "order",
      "discountable_category_ids": [],
      "discount_type": "free_shipping",
      "is_accumulated": true,
      "codes": [],
      "membership_tier_id": null,
      "requires_membership": true,
      "whitelisted_membership_tier_ids": [],
      "user_max_use_count": null,
      "max_use_count": null,
      "use_count": 0,
      "sum_use_count": 0,
      "drew_coupon_count": 0,
      "whitelisted_delivery_option_ids": [
        "5e8417e7d4f5f100393710fa",
        "5e841409beef3d001b403c3c",
        "5e8413ed563778001e96a319"
      ],
      "whitelisted_payment_ids": [
        "5e8413688fa5fc00159950d1",
        "5e84133f95b3340015764347",
        "5e84132050b28e002d149b18",
        "5e840fe1ca53240018eaaa50"
      ],
      "start_at": "2020-04-01T07:00:00.000+00:00",
      "end_at": null,
      "status": "active",
      "usable": true,
      "for_affiliate_campaign": false,
      "is_contain_campaign": false,
      "seo_keywords": null,
      "seo_description_translations": {},
      "seo_title_translations": {},
      "link": null,
      "extended_promotion_id": null,
      "extend_promotions": []
    },
    {
      "id": "5e844fc766f23300186a62d3",
      "discount_percentage": 10.0,
      "discount_amount": null,
      "discountable_quantity": null,
      "discounted_point": null,
      "discounted_price": null,
      "discountable_product_ids": [],
      "conditions": [],
      "created_at": "2020-04-01T08:24:39.711+00:00",
      "updated_at": "2020-04-01T08:24:39.711+00:00",
      "title_translations": {},
      "discount_on": "order",
      "discountable_category_ids": [],
      "discount_type": "percentage",
      "is_accumulated": false,
      "codes": null,
      "membership_tier_id": "5e844fc7d5fde6001ba30830",
      "requires_membership": false,
      "whitelisted_membership_tier_ids": ["5e844fc7d5fde6001ba30830"],
      "user_max_use_count": 0,
      "max_use_count": 0,
      "use_count": 0,
      "sum_use_count": 0,
      "drew_coupon_count": 0,
      "whitelisted_delivery_option_ids": [],
      "whitelisted_payment_ids": [],
      "start_at": null,
      "end_at": null,
      "status": "hidden",
      "usable": true,
      "for_affiliate_campaign": false,
      "is_contain_campaign": false,
      "seo_keywords": null,
      "seo_description_translations": {},
      "seo_title_translations": {},
      "link": null,
      "extended_promotion_id": null,
      "extend_promotions": []
    },
    {
      "id": "5e844fb7d5fde60024a3070a",
      "discount_percentage": 5.0,
      "discount_amount": null,
      "discountable_quantity": null,
      "discounted_point": null,
      "discounted_price": null,
      "discountable_product_ids": [],
      "conditions": [],
      "created_at": "2020-04-01T08:24:23.673+00:00",
      "updated_at": "2020-04-01T08:24:23.673+00:00",
      "title_translations": {},
      "discount_on": "order",
      "discountable_category_ids": [],
      "discount_type": "percentage",
      "is_accumulated": false,
      "codes": null,
      "membership_tier_id": "5e844fb7b6c29b000f00f9c6",
      "requires_membership": false,
      "whitelisted_membership_tier_ids": ["5e844fb7b6c29b000f00f9c6"],
      "user_max_use_count": 0,
      "max_use_count": 0,
      "use_count": 3,
      "sum_use_count": 3,
      "drew_coupon_count": 0,
      "whitelisted_delivery_option_ids": [],
      "whitelisted_payment_ids": [],
      "start_at": null,
      "end_at": null,
      "status": "hidden",
      "usable": true,
      "for_affiliate_campaign": false,
      "is_contain_campaign": false,
      "seo_keywords": null,
      "seo_description_translations": {},
      "seo_title_translations": {},
      "link": null,
      "extended_promotion_id": null,
      "extend_promotions": []
    },
    {
      "id": "5e8444094fd50d0030ade72d",
      "discount_percentage": null,
      "discount_amount": {
        "cents": 3000,
        "currency_symbol": "HK$",
        "currency_iso": "HKD",
        "label": "HK$30.00",
        "dollars": 30.0
      },
      "discountable_quantity": null,
      "discounted_point": null,
      "discounted_price": null,
      "discountable_product_ids": [
        "5e84273658316b00016e80e7",
        "5e8420b54c61c3001ea5155c",
        "5e84207cad0fba0039406ed6"
      ],
      "conditions": [
        {
          "id": "5e8444094fd50d0030ade72e",
          "min_item_count": 3,
          "min_price": null,
          "type": null,
          "whitelisted_product_ids": [
            "5e84273658316b00016e80e7",
            "5e8420b54c61c3001ea5155c",
            "5e84207cad0fba0039406ed6"
          ],
          "whitelisted_category_ids": [],
          "blacklisted_product_ids": []
        }
      ],
      "created_at": "2020-04-01T07:34:33.393+00:00",
      "updated_at": "2020-04-01T07:34:33.393+00:00",
      "title_translations": {
        "en": "$30 discount for entire order",
        "zh-hant": "$30 discount for entire order"
      },
      "discount_on": "item",
      "discountable_category_ids": [],
      "discount_type": "amount",
      "is_accumulated": false,
      "codes": [],
      "membership_tier_id": null,
      "requires_membership": false,
      "whitelisted_membership_tier_ids": [],
      "user_max_use_count": 0,
      "max_use_count": null,
      "use_count": 0,
      "sum_use_count": 0,
      "drew_coupon_count": 0,
      "whitelisted_delivery_option_ids": [
        "5e8417e7d4f5f100393710fa",
        "5e841409beef3d001b403c3c",
        "5e8413ed563778001e96a319"
      ],
      "whitelisted_payment_ids": [
        "5e8413688fa5fc00159950d1",
        "5e84133f95b3340015764347",
        "5e84132050b28e002d149b18",
        "5e840fe1ca53240018eaaa50"
      ],
      "start_at": "2020-04-01T07:00:00.000+00:00",
      "end_at": null,
      "status": "active",
      "usable": true,
      "for_affiliate_campaign": false,
      "is_contain_campaign": false,
      "seo_keywords": null,
      "seo_description_translations": {},
      "seo_title_translations": {},
      "link": null,
      "extended_promotion_id": null,
      "extend_promotions": []
    }
  ],
  "pagination": {
    "current_page": 1,
    "per_page": 24,
    "total_pages": 1,
    "total_count": 15
  }
}