Skip to main content

ordersTotal Query

DEPRECATED

This field will be removed in Saleor 4.0.

Return the total sales amount from a specific period.

Requires MANAGE_ORDERSpermission.
ordersTotal(
period: ReportingPeriod
channel: String
): TaxedMoney @deprecated

Arguments

ordersTotal.period ● ReportingPeriod enum miscellaneous

A period of time.

ordersTotal.channel ● String scalar miscellaneous

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

Type

TaxedMoney object miscellaneous

Represents a monetary value with taxes. In cases where taxes were not applied, net and gross values will be equal.