Reports
Reports
List all reports for an organization
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to an organization.
^[A-Za-z0-9-_]+
Reference to a specific page in a result set.
The number of items per page in a result set.
Defines which field the resource list is sorted by.
ENUM | Description |
---|---|
ASC | Sort in ascending order |
DESC | Sort in descending order |
GET /v2/tenants/{tenantUid}/organizations/{organizationUid}/reports HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
List of available reports
{
"items": [
{
"reportUid": "text",
"request": {
"fromDate": "2025-07-30",
"toDate": "2025-07-30",
"storeUids": [
"text"
],
"reportUid": "text"
},
"state": "ABORTED",
"type": "SAFT",
"createdAt": "2025-07-30T17:55:22.516Z",
"createdBy": "text",
"lastModifiedAt": "2025-07-30T17:55:22.516Z",
"lastModifiedBy": "text",
"sendNotificationTo": "text",
"notificationSentAt": "2025-07-30T17:55:22.516Z",
"progress": "text",
"filename": "text",
"filesize": 1
}
],
"paging": {
"pageNumber": 1,
"pageSize": 1,
"totalCount": 1
}
}
Get report details
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to an organization.
^[A-Za-z0-9-_]+
Reference to a report.
^[A-Za-z0-9-_]+
GET /v2/tenants/{tenantUid}/organizations/{organizationUid}/reports/{reportUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Report details
{
"reportUid": "text",
"request": {
"fromDate": "2025-07-30",
"toDate": "2025-07-30",
"storeUids": [
"text"
],
"reportUid": "text"
},
"state": "ABORTED",
"type": "SAFT",
"createdAt": "2025-07-30T17:55:22.516Z",
"createdBy": "text",
"lastModifiedAt": "2025-07-30T17:55:22.516Z",
"lastModifiedBy": "text",
"sendNotificationTo": "text",
"notificationSentAt": "2025-07-30T17:55:22.516Z",
"progress": "text",
"filename": "text",
"filesize": 1
}
Abort report generation
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to an organization.
^[A-Za-z0-9-_]+
Reference to a report.
^[A-Za-z0-9-_]+
ENUM | Description |
---|---|
ABORT | Abort running job |
POST /v2/tenants/{tenantUid}/organizations/{organizationUid}/reports/{reportUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 18
{
"action": "ABORT"
}
Report details
{
"reportUid": "text",
"request": {
"fromDate": "2025-07-30",
"toDate": "2025-07-30",
"storeUids": [
"text"
],
"reportUid": "text"
},
"state": "ABORTED",
"type": "SAFT",
"createdAt": "2025-07-30T17:55:22.516Z",
"createdBy": "text",
"lastModifiedAt": "2025-07-30T17:55:22.516Z",
"lastModifiedBy": "text",
"sendNotificationTo": "text",
"notificationSentAt": "2025-07-30T17:55:22.516Z",
"progress": "text",
"filename": "text",
"filesize": 1
}
Deletes a generated report
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to an organization.
^[A-Za-z0-9-_]+
Reference to a report.
^[A-Za-z0-9-_]+
DELETE /v2/tenants/{tenantUid}/organizations/{organizationUid}/reports/{reportUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Download report content
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to an organization.
^[A-Za-z0-9-_]+
Reference to a report.
^[A-Za-z0-9-_]+
GET /v2/tenants/{tenantUid}/organizations/{organizationUid}/reports/{reportUid}/download HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"content": "text",
"contentType": "text",
"filename": "text"
}
Start report generation of WarehouseStockDetails
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to an organization.
^[A-Za-z0-9-_]+
^[A-Za-z0-9-_]+
^[A-Za-z0-9-_]+
POST /v2/tenants/{tenantUid}/organizations/{organizationUid}/reports/warehouse-stock-details HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 91
{
"warehouseUid": "text",
"brandUids": [
"text"
],
"productGroupUids": [
"text"
],
"reportUid": "text"
}
Report details
{
"reportUid": "text",
"request": {
"fromDate": "2025-07-30",
"toDate": "2025-07-30",
"storeUids": [
"text"
],
"reportUid": "text"
},
"state": "ABORTED",
"type": "SAFT",
"createdAt": "2025-07-30T17:55:22.516Z",
"createdBy": "text",
"lastModifiedAt": "2025-07-30T17:55:22.516Z",
"lastModifiedBy": "text",
"sendNotificationTo": "text",
"notificationSentAt": "2025-07-30T17:55:22.516Z",
"progress": "text",
"filename": "text",
"filesize": 1
}
Start SAF-T report generation for a set period. It is also possible to only run it for a specific set of stores.
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to an organization.
^[A-Za-z0-9-_]+
^[A-Za-z0-9-_]+
POST /v2/tenants/{tenantUid}/organizations/{organizationUid}/reports/saf-t HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 87
{
"fromDate": "2025-07-30",
"toDate": "2025-07-30",
"storeUids": [
"text"
],
"reportUid": "text"
}
Report details
{
"reportUid": "text",
"request": {
"fromDate": "2025-07-30",
"toDate": "2025-07-30",
"storeUids": [
"text"
],
"reportUid": "text"
},
"state": "ABORTED",
"type": "SAFT",
"createdAt": "2025-07-30T17:55:22.516Z",
"createdBy": "text",
"lastModifiedAt": "2025-07-30T17:55:22.516Z",
"lastModifiedBy": "text",
"sendNotificationTo": "text",
"notificationSentAt": "2025-07-30T17:55:22.516Z",
"progress": "text",
"filename": "text",
"filesize": 1
}
Get accounting report for a storeUid and a period. Response is a json structured data of accounting
Reference to a tenant.
^[A-Za-z0-9-_]+
^[A-Za-z0-9-_]*
List of storeUids to include in report.
POST /v2/tenants/{tenantUid}/reports/accounting HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 93
{
"fromDate": "2025-07-30",
"toDate": "2025-07-30",
"organizationUid": "text",
"storeUids": [
"text"
]
}
Response for Accounting report.
{
"asset": [
{
"account": "text",
"creditAmount": 1,
"date": "text",
"debetAmount": 1,
"text": "text",
"vatCode": "text"
}
],
"credit": [
{
"account": "text",
"creditAmount": 1,
"date": "text",
"debetAmount": 1,
"text": "text",
"vatCode": "text"
}
],
"debet": [
{
"account": "text",
"creditAmount": 1,
"date": "text",
"debetAmount": 1,
"text": "text",
"vatCode": "text"
}
],
"header": {
"fromDate": "text",
"storeUid": "text",
"toDate": "text"
},
"ledger": [
{
"account": "text",
"creditAmount": 1,
"date": "text",
"debetAmount": 1,
"text": "text",
"vatCode": "text"
}
],
"printDate": "text",
"tenantName": "text",
"organizationName": "text",
"storeNames": [
"text"
],
"totals": {
"totalAsset": 1,
"totalCredit": 1,
"totalCreditAndAsset": 1,
"totalDebet": 1,
"totalLedger": 1
}
}
Get an accounting report for a store UID and a time period. Depending on the header you set, the response is either a json containing a base 64 encoded pdf or a direct download. The file is base64 encoded. You can set choose among the supported file types, default is PDF.
Reference to a tenant.
^[A-Za-z0-9-_]+
POST /v2/tenants/{tenantUid}/reports/accounting/download HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 114
{
"fromDate": "2025-07-30",
"toDate": "2025-07-30",
"organizationUid": "text",
"storeUids": [
"text"
],
"reportFormat": "PDF"
}
Based on the Accept header the response will be base64 json encoded or a raw file. application/octet-stream will return a binary file application/json will return a json with the file content base64 encoded.
{
"content": "text",
"contentType": "text",
"filename": "text"
}
Get products turnover report for a time period, optionally filtered on a list of product group and UIDs. The report generates sums of sold products and total values.
Reference to a tenant.
^[A-Za-z0-9-_]+
Array of brandUids
Array of productGroup ids
Array of storeUids
POST /v2/tenants/{tenantUid}/reports/products HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 153
{
"brandUids": [
"text"
],
"fromDateTime": "2025-07-30T17:55:22.516Z",
"productGroupUids": [
"text"
],
"storeUids": [
"text"
],
"toDateTime": "2025-07-30T17:55:22.516Z"
}
Response for Product turnover report.
{
"items": [
{
"costAmount": 1,
"count": 1,
"discountAmount": 1,
"name": "text",
"revenueAmount": 1,
"revenuePercent": 1,
"storeUid": "text",
"turnoverAmount": 1,
"brandUid": "text",
"brandName": "text",
"productGroupUid": "text",
"productGroupName": "text",
"productUid": "text",
"sku": "text",
"lastSettledAt": "2025-07-30T17:55:22.516Z"
}
]
}
Get turnover data grouped by store.
If tenant user UID
is specified,
the turnover data will only contain the numbers for that
specific user.
Reference to a tenant.
^[A-Za-z0-9-_]+
Turnover Request Body
^[A-Za-z0-9-_]+
POST /v2/tenants/{tenantUid}/reports/turnover/stores HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 106
{
"fromDateTime": "2025-07-30T17:55:22.516Z",
"toDateTime": "2025-07-30T17:55:22.516Z",
"tenantUserUid": "text"
}
Turnover response
{
"dates": [
{
"costAmount": 1,
"count": 1,
"date": "text",
"discountAmount": 1,
"revenueAmount": 1,
"revenuePercent": 1,
"turnoverAmount": 1
}
],
"stores": [
{
"costAmount": 1,
"count": 1,
"discountAmount": 1,
"name": "text",
"revenueAmount": 1,
"revenuePercent": 1,
"storeUid": "text",
"turnoverAmount": 1
}
],
"total": {
"costAmount": 1,
"count": 1,
"discountAmount": 1,
"revenueAmount": 1,
"turnoverAmount": 1,
"orderCount": 1
}
}
Get turnover data for a store grouped by product-group.
If tenant user UID
is specified,
the turnover data will only contain the numbers for that
specific user.
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a Store.
^[A-Za-z0-9-_]+
Turnover Request Body
^[A-Za-z0-9-_]+
POST /v2/tenants/{tenantUid}/reports/turnover/stores/{storeUid}/product-groups HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 106
{
"fromDateTime": "2025-07-30T17:55:22.516Z",
"toDateTime": "2025-07-30T17:55:22.516Z",
"tenantUserUid": "text"
}
Turnover response for ProductGroup
{
"items": [
{
"costAmount": 1,
"count": 1,
"discountAmount": 1,
"hasChildren": true,
"productGroupUid": "text",
"revenueAmount": 1,
"revenuePercent": 1,
"text": "text",
"turnoverAmount": 1
}
],
"total": {
"costAmount": 1,
"count": 1,
"discountAmount": 1,
"revenueAmount": 1,
"turnoverAmount": 1,
"orderCount": 1
}
}
Get turnover data for all sellers in a store.
Ordered by turnover descending.
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a Store.
^[A-Za-z0-9-_]+
Turnover Request Body
POST /v2/tenants/{tenantUid}/reports/turnover/stores/{storeUid}/users HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 83
{
"fromDateTime": "2025-07-30T17:55:22.516Z",
"toDateTime": "2025-07-30T17:55:22.516Z"
}
Example response
{
"items": [
{
"position": 1,
"costAmount": 1,
"orderCount": 1,
"discountAmount": 1,
"revenueAmount": 1,
"revenuePercent": 1,
"turnoverAmount": 1,
"vatAmount": 1,
"firstName": "text",
"lastName": "text",
"displayName": "text",
"tenantUserUid": "text"
}
]
}
Get turnover data for a store and product group.
If tenant user UID
is specified,
the turnover data will only contain the numbers for that
specific user.
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a Store.
^[A-Za-z0-9-_]+
Reference to a ProductGroup.
^[A-Za-z0-9-_]+
Turnover Request Body
^[A-Za-z0-9-_]+
POST /v2/tenants/{tenantUid}/reports/turnover/stores/{storeUid}/product-groups/{productGroupUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 106
{
"fromDateTime": "2025-07-30T17:55:22.516Z",
"toDateTime": "2025-07-30T17:55:22.516Z",
"tenantUserUid": "text"
}
Turnover response for ProductGroup
{
"items": [
{
"costAmount": 1,
"count": 1,
"discountAmount": 1,
"hasChildren": true,
"productGroupUid": "text",
"revenueAmount": 1,
"revenuePercent": 1,
"text": "text",
"turnoverAmount": 1
}
],
"total": {
"costAmount": 1,
"count": 1,
"discountAmount": 1,
"revenueAmount": 1,
"turnoverAmount": 1,
"orderCount": 1
}
}
Get turnover data for a product group grouped by product
If tenant user UID
is specified,
the turnover data will only contain the numbers for that
specific user.
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a Store.
^[A-Za-z0-9-_]+
Reference to a ProductGroup.
^[A-Za-z0-9-_]+
Turnover Request Body
^[A-Za-z0-9-_]+
POST /v2/tenants/{tenantUid}/reports/turnover/stores/{storeUid}/product-groups/{productGroupUid}/products HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 106
{
"fromDateTime": "2025-07-30T17:55:22.516Z",
"toDateTime": "2025-07-30T17:55:22.516Z",
"tenantUserUid": "text"
}
Turnover response
{
"items": [
{
"costAmount": 1,
"count": 1,
"discountAmount": 1,
"id": "text",
"revenueAmount": 1,
"revenuePercent": 1,
"text": "text",
"turnoverAmount": 1
}
],
"total": {
"costAmount": 1,
"count": 1,
"discountAmount": 1,
"revenueAmount": 1,
"turnoverAmount": 1,
"orderCount": 1
}
}
Get turnover data for a product grouped by orders.
If tenant user UID
is specified,
the turnover data will only contain the numbers for that
specific user.
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a Store.
^[A-Za-z0-9-_]+
Reference to a ProductGroup.
^[A-Za-z0-9-_]+
Reference to a Product.
^[A-Za-z0-9-_]+
Turnover Request Body
^[A-Za-z0-9-_]+
POST /v2/tenants/{tenantUid}/reports/turnover/stores/{storeUid}/product-groups/{productGroupUid}/products/{productUid}/orders HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 106
{
"fromDateTime": "2025-07-30T17:55:22.516Z",
"toDateTime": "2025-07-30T17:55:22.516Z",
"tenantUserUid": "text"
}
Turnover response
{
"items": [
{
"costAmount": 1,
"count": 1,
"discountAmount": 1,
"id": "text",
"revenueAmount": 1,
"revenuePercent": 1,
"text": "text",
"turnoverAmount": 1
}
],
"total": {
"costAmount": 1,
"count": 1,
"discountAmount": 1,
"revenueAmount": 1,
"turnoverAmount": 1,
"orderCount": 1
}
}
Start Art Fee report generation for a set time period and optionally for given stores.
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to an organization.
^[A-Za-z0-9-_]+
^[A-Za-z0-9-_]+
POST /v2/tenants/{tenantUid}/organizations/{organizationUid}/reports/art-fee HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 87
{
"fromDate": "2025-07-30",
"toDate": "2025-07-30",
"storeUids": [
"text"
],
"reportUid": "text"
}
Report details
{
"reportUid": "text",
"request": {
"fromDate": "2025-07-30",
"toDate": "2025-07-30",
"storeUids": [
"text"
],
"reportUid": "text"
},
"state": "ABORTED",
"type": "SAFT",
"createdAt": "2025-07-30T17:55:22.516Z",
"createdBy": "text",
"lastModifiedAt": "2025-07-30T17:55:22.516Z",
"lastModifiedBy": "text",
"sendNotificationTo": "text",
"notificationSentAt": "2025-07-30T17:55:22.516Z",
"progress": "text",
"filename": "text",
"filesize": 1
}
The Art Provision report gives overview over each artist's sales and stock for the requested time period. Optionally filter on artist.
Artists with no sales and no stock are included.
sendEmailToSupplier = true will send email to each artist.
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a Store.
^[A-Za-z0-9-_]+
POST /v2/tenants/{tenantUid}/stores/{storeUid}/reports/art-supplier HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 142
{
"fromDate": "2025-07-30",
"toDate": "2025-07-30",
"supplierUids": [
"text"
],
"sendEmailToSupplier": true,
"productGroupUids": [
"text"
],
"showDiff": true
}
binary
List suppliers' payouts for commission sales in a time period. Optionally filter on commission sales that are paid/not paid.
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a Store.
^[A-Za-z0-9-_]+
GTE
LTE
filter on paid/not paid
POST /v2/tenants/{tenantUid}/stores/{storeUid}/reports/suppliers/payouts HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 132
{
"fromDate": "2025-07-30",
"toDate": "2025-07-30",
"paid": true,
"supplierUids": [
"text"
],
"productGroupUids": [
"text"
],
"scope": "STOCK_ONLY"
}
Example response
{
"items": [
{
"supplier": {
"address": "text",
"city": "text",
"contactEmail": "text",
"contactName": "text",
"countryCode": "text",
"createdAt": "2025-07-30T17:55:22.516Z",
"email": "text",
"externalId": "text",
"lastModifiedAt": "2025-07-30T17:55:22.516Z",
"name": "text",
"phone": "text",
"postalCode": "text",
"supplierUid": "text",
"vatNumber": "text",
"active": true,
"bankInfo": {
"accountNumber": "text",
"bankName": "text",
"iban": "text",
"swift": "text"
},
"fixedDiscountRate": 1,
"currency": "text"
},
"commissionSales": [
{
"payoutAmount": 1,
"paidAt": "2025-07-30T17:55:22.516Z",
"paid": true,
"commissionPercentage": 1,
"commissionAmount": 1,
"salesPrice": 1,
"productSku": "text",
"productName": "text",
"orderNumber": "text",
"orderSettledAt": "2025-07-30T17:55:22.516Z",
"commissionUid": "text",
"orderProductLineUid": "text",
"orderUid": "text"
}
],
"payoutsTotal": 1,
"payoutsCount": 1
}
]
}
Was this helpful?