@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Analytics
constructor
endpoint
http
options
uri
Helper
base
Endpoint
get
Cart
Items
Average
get
Open
Purchase
Orders
Count
get
Open
Purchase
Orders
Expense
get
Products
Return
Rate
get
Products
Top
Groups
get
Revenue
get
Revenue
Average
get
Revenue
Payment
Types
get
Revenue
Top
Products
get
Revenue
Top
Staff
Analytics
Get
Cart
Items
Average
Failed
Analytics
Get
Open
Purchase
Orders
Count
Failed
Analytics
Get
Open
Purchase
Orders
Expense
Failed
Analytics
Get
Products
Return
Rate
Failed
Analytics
Get
Products
Top
Groups
Failed
Analytics
Get
Revenue
Average
Failed
Analytics
Get
Revenue
Failed
Analytics
Get
Revenue
Payment
Types
Failed
Analytics
Get
Revenue
Top
Products
Failed
Analytics
Get
Revenue
Top
Staff
Failed
Analytics
Options
Analytics
Query
Analytics
Response
Analytics
Revenue
Top
Products
Query
Hierarchy
ThBaseHandler
Analytics
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
get
Cart
Items
Average
get
Open
Purchase
Orders
Count
get
Open
Purchase
Orders
Expense
get
Products
Return
Rate
get
Products
Top
Groups
get
Revenue
get
Revenue
Average
get
Revenue
Payment
Types
get
Revenue
Top
Products
get
Revenue
Top
Staff
Constructors
constructor
new
Analytics
(
options
:
AnalyticsOptions
, http
:
Client
)
:
Analytics
Parameters
options:
AnalyticsOptions
http:
Client
Returns
Analytics
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
AnalyticsOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v4/analytics'
Methods
get
Cart
Items
Average
get
Cart
Items
Average
(
query
?:
AnalyticsQuery
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
query:
AnalyticsQuery
Returns
Promise
<
AnalyticsResponse
>
get
Open
Purchase
Orders
Count
get
Open
Purchase
Orders
Count
(
query
?:
AnalyticsQuery
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
query:
AnalyticsQuery
Returns
Promise
<
AnalyticsResponse
>
get
Open
Purchase
Orders
Expense
get
Open
Purchase
Orders
Expense
(
query
?:
AnalyticsQuery
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
query:
AnalyticsQuery
Returns
Promise
<
AnalyticsResponse
>
get
Products
Return
Rate
get
Products
Return
Rate
(
query
?:
AnalyticsQuery
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
query:
AnalyticsQuery
Returns
Promise
<
AnalyticsResponse
>
get
Products
Top
Groups
get
Products
Top
Groups
(
query
?:
AnalyticsQuery
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
query:
AnalyticsQuery
Returns
Promise
<
AnalyticsResponse
>
get
Revenue
get
Revenue
(
query
?:
AnalyticsQuery
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
query:
AnalyticsQuery
Returns
Promise
<
AnalyticsResponse
>
get
Revenue
Average
get
Revenue
Average
(
query
?:
AnalyticsQuery
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
query:
AnalyticsQuery
Returns
Promise
<
AnalyticsResponse
>
get
Revenue
Payment
Types
get
Revenue
Payment
Types
(
query
?:
AnalyticsQuery
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
query:
AnalyticsQuery
Returns
Promise
<
AnalyticsResponse
>
get
Revenue
Top
Products
get
Revenue
Top
Products
(
query
?:
AnalyticsRevenueTopProductsQuery
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
query:
AnalyticsRevenueTopProductsQuery
Returns
Promise
<
AnalyticsResponse
>
get
Revenue
Top
Staff
get
Revenue
Top
Staff
(
query
?:
AnalyticsQuery
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
query:
AnalyticsQuery
Returns
Promise
<
AnalyticsResponse
>
Generated using
TypeDoc