Actions119
- Products Actions
- Categories Actions
- Customers Actions
- Customer Groups Actions
- Agents Actions
- Contacts Actions
- Orders Actions
- Offers Actions
- Preorders Actions
- Payment Methods Actions
- Pricelists Actions
- Product Units Actions
- Product Types Actions
- Tags Actions
- Tag Types Actions
- Tax Rates Actions
- Reorder Reminders Actions
- Prospects Actions
- Activities Actions
- Statistics Actions
Statistics → Coupon Stats
AI-generatedSummary
Send a JSON-formatted request body to retrieve coupon statistics from the Shop API's statistics resource specifically for coupon data.
Inputs
- Request Body (required) — Provide a JSON string representing the request body that specifies the parameters and filters for fetching coupon statistics.
Output shape
a list of JSON items, each representing coupon statistics data as returned by the API.
The operation sends the request body as JSON in a POST request to the API endpoint for coupon statistics (/v1/stats/coupons) and returns the API's JSON response. The request body must be a valid JSON object; invalid JSON will cause an error.
Examples
Example 1: Retrieve coupon statistics with specific filters
Set 'Request Body' to a JSON string with filter criteria, e.g., '{ "dateFrom": "2023-01-01", "dateTo": "2023-01-31" }'. The node returns coupon-related statistical data matching the criteria.