Discounts
Natural-language prompts for the shoplazza-discounts skill — building a promotion. Prefix each request with /shoplazza-discounts, then describe the task.
Prerequisites
- Get started
- Authenticate against your store:
shoplazza auth login --store-domain <domain> --domain discounts
Examples
1. Tiered rebate
/shoplazza-discounts Set up a store-wide rebate: spend 200 get 20 off, spend 500 get 50 off, spend 1000 get 120 off
The agent turns your plain-language tiers directly into a +rebate command with --tiers "200:20,500:50,1000:120".
2. Coupon code (with percentage conversion)
/shoplazza-discounts Create a coupon code SUMMER20 for 20% off store-wide
Runs discounts +percent-code --target order --percent 20 --code SUMMER20. The agent converts phrasing like "20% off" into --percent 20.
/shoplazza-discounts Add a new-customer code: 15 off per order, no usage limit
Creates a fixed-amount code with +amount-code and no usage cap.
3. Flash sale
/shoplazza-discounts Run a limited-time flash sale on the products in collection 8899
Creates an auto-applied +flashsale scoped to that collection — no coupon code needed.
4. Check ongoing promotions
/shoplazza-discounts What promotions are running right now?
Runs discounts +search --progress ongoing and lists the active activities.
5. Take a promotion down (safety protocol)
/shoplazza-discounts Delete the SUMMER20 coupon activity
Because this is a destructive write, the agent follows the safety protocol: it previews the cancel/delete with --dry-run, restates what will be removed, and waits for your confirmation before executing.