Skip to main content

echoDemandRecords

Lists historical demand for the current company, one row per day, SKU, sales channel and order type.

Permissions Required​

  • echo:read
echoDemandRecords(
after: String
before: String
filter: DemandFilterInput
first: Int
last: Int
sortField: DemandRecordSortFieldEnum = PERIOD
sortType: SortTypeEnum = DESC
): DemandRecordConnection!

Arguments​

echoDemandRecords.after ● String scalar common​

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

echoDemandRecords.before ● String scalar common​

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

echoDemandRecords.filter ● DemandFilterInput input common​

Optional filters, all combined with AND.

echoDemandRecords.first ● Int scalar common​

Returns the first _n_ elements from the list.

echoDemandRecords.last ● Int scalar common​

Returns the last _n_ elements from the list.

echoDemandRecords.sortField ● DemandRecordSortFieldEnum enum common​

Field used to sort records. Defaults to date.

echoDemandRecords.sortType ● SortTypeEnum enum common​

Sort direction. Defaults to descending.

Type​

DemandRecordConnection object common​

The connection type for DemandRecord.