Skip to main content
POST
/
dev
/
v1
/
analytics
/
reports
Create analytics report
curl --request POST \
  --url https://api.shoppex.io/dev/v1/analytics/reports \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Revenue weekly",
  "type": "revenue",
  "frequency": "weekly",
  "email": "[email protected]",
  "format": "pdf"
}
'
{
  "data": {}
}

Authorizations

Authorization
string
header
required

Use your Shoppex API key in the Authorization header.

Body

name
string
required
type
required
Available options:
revenue
frequency
required
Available options:
daily
email
string
required
format
Available options:
pdf

Response

Successful response

data
object