Automatic discounts (promotions)
Add a new promotion to the store
POST /api/v3/STOREID/promotions HTTP/1.1
Host: app.ecwid.com
Content-Type: application/json
Authorization: Bearer secret_token
{
"name": "10% OFF on $500",
"discountBase": "SUBTOTAL",
"enabled": true,
"discountType": "PERCENT",
"amount": 10,
"triggers": {
"subtotal": 500
}
}Customize promotions
Last updated
Was this helpful?
