Skip to main content

echoInventoryRecords

Lists historical inventory for the current company, one row per day, SKU, warehouse and source.

Permissions Required​

  • echo:read
echoInventoryRecords(
after: String
before: String
filter: InventoryFilterInput
first: Int
last: Int
sortField: InventoryRecordSortFieldEnum = PERIOD
sortType: SortTypeEnum = DESC
): InventoryRecordConnection!

Arguments​

echoInventoryRecords.after ● String scalar common​

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

echoInventoryRecords.before ● String scalar common​

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

echoInventoryRecords.filter ● InventoryFilterInput input common​

Optional filters, all combined with AND.

echoInventoryRecords.first ● Int scalar common​

Returns the first _n_ elements from the list.

echoInventoryRecords.last ● Int scalar common​

Returns the last _n_ elements from the list.

echoInventoryRecords.sortField ● InventoryRecordSortFieldEnum enum common​

Field used to sort records. Defaults to date.

echoInventoryRecords.sortType ● SortTypeEnum enum common​

Sort direction. Defaults to descending.

Type​

InventoryRecordConnection object common​

The connection type for InventoryRecord.