Get order stats for a customer
GET
/api/v1/purchases/stats/order/sku
spark_customer_idstringSparkLayer Customer ID
start_datestring<date-time><p>Starting date-time from which to get stats - include user timezone or Z for UTC (RFC-3339)</p>
end_datestring<date-time><p>Ending date-time until which to get stats - include user timezone or Z for UTC (RFC-3339)</p>
date_period_typestringDate period type to group stats by
acceptstringGenerated from available response content types
Site-IdstringSpark Layer Site ID
200OK
curl --request GET \
--url '/api/v1/purchases/stats/order/sku?spark_customer_id=string&start_date=2020-01-01T00%3A00%3A00%2B02%3A00&end_date=2020-04-30T23%3A59%3A59%2B02%3A00&date_period_type=week' \
--header 'accept: application/json' \
--header 'site-id: jones-climbing'