List location discounts
list_discountsRetrieve every configured discount for an authorized restaurant location. Pass a location ID to see all discounts available at that site.
Instructions
List every discount configured for one authorized location. Requires a Crave merchant API key; the API verifies that the key can access the requested location.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locationId | No | Omit to use CRAVEUP_LOCATION_ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| mode | Yes | ||
| status | Yes | ||
| changes | Yes | ||
| summary | Yes | ||
| operation | Yes | ||
| planDigest | Yes | ||
| environment | Yes | ||
| nextActions | Yes | ||
| schemaVersion | Yes |