Skip to main content
GET
List customer group top products

Authorizations

X-App-Id
string
header
required

App ID for authentication

X-Api-Key
string
header
required

API Key for authentication

Path Parameters

id
string<uuid>
required

The customer group's UUID.

Query Parameters

months
integer
default:12

Number of months to read.

Required range: 1 <= x <= 24
page
integer
default:1

Page number, from 1 to 10000.

Required range: 1 <= x <= 10000
per_page
integer
default:20

Number of rows per page, from 1. Values above 100 are treated as 100.

Required range: x >= 1

Response

Successful operation

currency
enum<string>

ISO currency code. Most resources support these. Products are limited to USD, CAD, EUR, GBP, AUD.

Available options:
USD,
CAD,
GBP,
EUR,
AUD,
JPY,
INR
product_count
integer

Number of products bought in the window, across every page.

Example:

14

data
object[]
meta
object