create-discount
Generate a discount code for Shopify stores by defining title, code, value type, value, start date, and single-use settings. Manage promotions effectively with this tool.
Instructions
Create a basic discount code
Input Schema
Name | Required | Description | Default |
---|---|---|---|
appliesOncePerCustomer | Yes | Whether discount can be used only once per customer | |
code | Yes | Discount code that customers will enter | |
endsAt | No | Optional end date in ISO format | |
startsAt | Yes | Start date in ISO format | |
title | Yes | Title of the discount | |
value | Yes | Discount value (percentage as decimal or fixed amount) | |
valueType | Yes | Type of discount |