Skip to main content
POST
/
reports
/
create
/
orderedRevenue
Create a ordered revenue report
curl --request POST \
  --url https://mm-api.merchantspring.io/reports/create/orderedRevenue \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "channelId": "<string>",
  "merchantId": "<string>",
  "reportOptions": {
    "fromDate": 123,
    "toDate": 123,
    "priorFromDate": 123,
    "priorToDate": 123,
    "timezone": "<string>"
  }
}
'
{
  "reportId": "<string>",
  "reportType": "<string>",
  "status": "<string>"
}

Authorizations

x-api-key
string
header
required

Body

application/json

Report criteria

channelId
string
merchantId
string
reportOptions
object

Response

Successful operation

reportId
string
reportType
string
status
string