Shopify Generate Discount Code
Inputs
Name | Type | Description |
---|---|---|
Shopify Token | SensitiveString | Shopify API token |
Shopify Domain | String | Shopify domain |
Discount Percentage | Number | Discount percentage (1-100) |
Discount Code Prefix | Optional String | Prefix to add to the discount code. Format {prefix}{percentage}_{random_characters}. Default: Omitted |
Usage Limit | Optional Number | The maximum number of times that the discount can be used. Default: 1 |
Number of Days Valid | Optional Number | Number of days the discount code is valid. Use 0 for open-ended discounts. Default: 90 |
Outputs
Name | Type | Description |
---|---|---|
Discount Code Created? | Boolean | Whether successfully created a discount code |
Discount Code | List | Discount Code |
Valid Until | Object | Valid until date. Only present if Number of Days Valid is not 0 |
Updated 2 months ago