ls_get_discount
Fetch a specific discount by ID to get code, amount, type, and usage limits. Use it to validate or manage discounts.
Instructions
Get a specific discount by ID, including code, amount, type, and usage limits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | Comma-separated related resources to include (e.g. 'store,variants,discount-redemptions') | |
| discountId | Yes | The discount ID |