Skip to main content
Version: 3.x

reportProductSales

List of top selling products.

Requires one of the following permissions: MANAGE_PRODUCTS.

reportProductSales(
period: ReportingPeriod!
channel: String!
before: String
after: String
first: Int
last: Int
): ProductVariantCountableConnection

Arguments

period (ReportingPeriod!)

Span of time.

channel (String!)

Slug of a channel for which the data should be returned.

before (String)

Return the elements in the list that come before the specified cursor.

after (String)

Return the elements in the list that come after the specified cursor.

first (Int)

Return the first n elements from the list.

last (Int)

Return the last n elements from the list.

Type

ProductVariantCountableConnection