Promo code usage summary
This endpoint summarises the total discount usage by promo code across all orders matching the given parameters.
Query parameters
Filter the summary list of used promo codes by site.
Filter the summary list of used promo codes by revenue date of the order. The promo code must have been used on orders with bookings on or after this date.
Filter the summary list of used promo codes by revenue date of the order. The promo code must have been used on orders with bookings on or before this date.
Filter the summary list of used promo codes by submitted date of the order. The promo code must have been used on orders submitted on or after this date.
Filter the summary list of used promo codes by submitted date of the order. The promo code must have been used on orders submitted on or before this date.
Response
The summary of Used Promo Codes was successfully retrieved
Example response
{
"data": [
{
"discount_type_code": "SUMMER23",
"total_times_used": 1120,
"total_discount_across_orders": 10000,
"currency": "gbp"
}
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.