create_basic_discount
Create a percentage or fixed amount discount code for your Shopify store, with optional start/end dates, usage limits, and per-customer restrictions.
Instructions
Creates a percentage or fixed amount discount code
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Discount code (e.g. "SUMMER20") | |
| title | Yes | Internal discount title | |
| amount | No | Fixed discount amount. Use either percentage or amount. | |
| endsAt | No | End date (ISO 8601, optional) | |
| startsAt | No | Start date (ISO 8601) | |
| percentage | No | Percentage discount (e.g. 0.20 for 20%). Use either percentage or amount. | |
| usageLimit | No | Maximum number of uses (optional) | |
| appliesOncePerCustomer | No | Only once per customer |