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

Lightspeed® 2025

On this page
  • Discounted shipping through promotion
  • Free shipping through coupon

Was this helpful?

  1. Customize discounts

Set up "Free shipping" promotions

PreviousSet up "Buy X - Get Y" promotionsNextSet up start and end dates for discounts

Last updated 2 months ago

Was this helpful?

You can offer free shipping to customers through automatic promotions or discount coupons for promos like Free delivery weekend.

Discounted shipping through promotion

Request example for a new promotion: "50% Off for DHL delivery"

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

{
    "name": "50% Off for DHL delivery",
    "discountBase": "SHIPPING",
    "discountType": "PERCENT",
    "amount": 50,
    "enabled": true,
    "targets": {
        "shippingMethods": ["6589-1709547151586"]
    }
}

where:

    "discountBase": "SHIPPING",
    "discountType": "PERCENT",
    "amount": 50

sets up a 50% discount that only applies to the shipping cost, and shippingMethods array limits the discount by specific shipping method IDs.

Change STOREID with your store ID and the secret_token with the secret access token of your app.

Free shipping through coupon

Request example for a new discount coupon: "Free DHL delivery"

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

{
    "name": "Free DHL delivery",
    "code": "DHL_FREE"
    "discountType": "SHIPPING",
    "status": "ACTIVE",
    "shippingLimit": {
        "shippingMethods": ["6589-1709547151586"]
    }
}

where: "discountType": "SHIPPING" defines free shipping, and the shippingMethods array limits the discount to specific shipping method IDs.

Change STOREID with your store 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