The reports API allows you to create, view, update, and delete individual, or a batch, of report codes.
This API lets you retrieve and view a simple list of available reports.
// CONFIG FOR WOOSIGNAL
var wsConfig = {
"appKey":"your app key",
"debugMode":true
};
// CREATING AN INSTANCE
WooSignal.getInstance(config: wsConfig).then( (wcStore) {
wcStore.getReports().then( (reports) {
print(reports.toString());
});
});
List<Reports> instance
Represents the following object - WooCommerce list reports
This API lets you retrieve and view a sales report.
String context
String period
String dateMin
String dateMax
// CONFIG FOR WOOSIGNAL
var wsConfig = {
"appKey":"your app key",
"debugMode":true
};
// CREATING AN INSTANCE
WooSignal.getInstance(config: wsConfig).then( (wcStore) {
wcStore.getSaleReports({
String context,
String period,
String dateMin,
String dateMax,
}).then( (salesReports) {
print(salesReports.toString());
});
});
List<SalesReports> instance
Represents the following object - WooCommerce sales report
This API lets you retrieve and view a list of top sellers report.
String context,
String period,
String dateMin,
String dateMax,
// CONFIG FOR WOOSIGNAL
var wsConfig = {
"appKey":"your app key",
"debugMode":true
};
// CREATING AN INSTANCE
WooSignal.getInstance(config: wsConfig).then( (wcStore) {
wcStore.getTopSellerReports({
String context,
String period,
String dateMin,
String dateMax,
}).then( (topSellerReports) {
print(topSellerReports.toString());
});
});
List<TopSellerReport> instance
Represents the following object - WooCommerce top seller report
This API lets you retrieve and view coupons totals report.
// CONFIG FOR WOOSIGNAL
var wsConfig = {
"appKey":"your app key",
"debugMode":true
};
// CREATING AN INSTANCE
WooSignal.getInstance(config: wsConfig).then( (wcStore) {
wcStore.getTotalCouponsReports().then( (totalReports) {
print(totalReports.toString());
});
});
List<TotalReport> instance
Represents the following object - WooCommerce retrieve coupons totals
This API lets you retrieve and view customers totals report.
// CONFIG FOR WOOSIGNAL
var wsConfig = {
"appKey":"your app key",
"debugMode":true
};
// CREATING AN INSTANCE
WooSignal.getInstance(config: wsConfig).then( (wcStore) {
wcStore.getTotalCustomerReports().then( (totalReports) {
print(totalReports.toString());
});
});
List<TotalReport> instance
Represents the following object - WooCommerce retrieve customers totals
This API lets you retrieve and view orders totals report.
// CONFIG FOR WOOSIGNAL
var wsConfig = {
"appKey":"your app key",
"debugMode":true
};
// CREATING AN INSTANCE
WooSignal.getInstance(config: wsConfig).then( (wcStore) {
wcStore.getTotalOrderReports().then( (totalReports) {
print(totalReports.toString());
});
});
List<TotalReport> instance
Represents the following object - WooCommerce retrieve orders totals
This API lets you retrieve and view products totals report.
// CONFIG FOR WOOSIGNAL
var wsConfig = {
"appKey":"your app key",
"debugMode":true
};
// CREATING AN INSTANCE
WooSignal.getInstance(config: wsConfig).then( (wcStore) {
wcStore.getTotalProductReports().then( (totalReports) {
print(totalReports.toString());
});
});
List<TotalReport> instance
Represents the following object - WooCommerce retrieve products totals
This API lets you retrieve and view reviews totals report.
// CONFIG FOR WOOSIGNAL
var wsConfig = {
"appKey":"your app key",
"debugMode":true
};
// CREATING AN INSTANCE
WooSignal.getInstance(config: wsConfig).then( (wcStore) {
wcStore.getTotalReviewReports().then( (totalReports) {
print(totalReports.toString());
});
});
List<TotalReport> instance
Represents the following object - WooCommerce retrieve reviews totals