Shop API icon

Shop API

Call Shop API

Statistics → Coupon Stats

AI-generated

Summary

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.

Links

Discussion