curl --request POST \
--url https://api.sprucecollective.co.uk/discount-codes/reports/refresh-views \
--header 'Authorization: <api-key>'{}Refreshes the materialized views used for discount claims reporting to ensure data is current
curl --request POST \
--url https://api.sprucecollective.co.uk/discount-codes/reports/refresh-views \
--header 'Authorization: <api-key>'{}Type "Bearer" followed by a space and JWT token.
OK
The response is of type object.