LogoLogo
Build appsContact API support
Discounts and tips
  • Build apps
  • Site Templates
  • API Reference
  • Changelog
Discounts and tips
  • Discounts and tips overview
  • Add discounts to the store
    • Automatic discounts (promotions)
    • Discount coupons
    • Bulk discount prices for products
    • Discounts calculated on your server
  • Add tips or surcharges to the store
    • Add tips selection to the checkout
    • Apply hidden surcharges
    • Calculate surcharges on your server
  • Customize discounts
    • Set up "Buy X - Get Y" promotions
    • Set up "Free shipping" promotions
    • Set up start and end dates for discounts
    • Limit discounts to customer groups
    • Limit discounts by products and categories
    • Limit the number of discount coupon uses
On this page
  • Start and end dates for promotion
  • Start and end dates for discount coupon

Was this helpful?

  1. Customize discounts

Set up start and end dates for discounts

PreviousSet up "Free shipping" promotionsNextLimit discounts to customer groups

Last updated 2 months ago

Was this helpful?

Lightspeed® 2025

You can set up start and end dates for both discount coupons and promotions for creating timed offers, such as a Black Friday discount.

Start and end dates for promotion

If you have an existing promotion, you can change its start and end dates with the following API call:

PUT /api/v3/STOREID/promotions/PROMOTIONID
Host: app.ecwid.com
Content-Type: application/json
Authorization: Bearer secret_token

{
    "triggers": {
        "startDate": "2025-03-06 00:00:00 +0000",
        "endDate": "2025-03-30 23:00:00 +0000"
    }
}

Change STOREID with your store ID, PROMOTIONID with the promotion ID (), and the secret_token with the secret access token of your app.

Start and end dates for discount coupon

If you have an existing discount coupon, you can change its start and end dates with the following API call:

PUT /api/v3/STOREID/discount_coupons/DISCOUNTCOUPONID
Host: app.ecwid.com
Content-Type: application/json
Authorization: Bearer secret_token

{
    "launchDate": "2025-03-06 00:00:00 +0000",
    "expirationDate": "2025-03-30 12:00:00 +0000"
}

Change STOREID with your store ID, DISCOUNTCOUPONID with the discount coupon ID (), and the secret_token with the secret access token of your app.

If you don't yet have an app for Ecwid API access, start with the following .

instructions
find promotion ID
find discount coupon ID