reports_endpoints
Request a business report for multiple stores
post/v1/reports/generate
Request
- Base URLhttps://partners.tryotter.com
- AuthOAuth 2Authorization code/v1/auth/oauth2/authorizeClient credentialsToken URL/v1/auth/tokenScopesreports.generate_report
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"reportType": "ORDER_STORES",
"start": "2021-10-01T00:00:00.000Z",
"end": "2021-10-01T00:00:00.000Z",
"externalStoreIds": [
"brand1-acbdef",
"brand1-fghjkl",
"brand2-qwerty"
],
"externalServiceSlugs": [
"ubereats",
"postmates"
]
}Response
The request was successfully processed and report is being generated
Example response
{
"jobId": "38ab397f-b142-4b06-b70c-40c68a408bea"
}Changes
No recorded changes to this operation across all 1 revision of this API.