Skip to main content

echoInventoryChangeSeries

How the inventory levels of one SKU moved over a period, as at most 50 points.

A period with fewer changes than that gives one point per change. A period with more is cut into equal slices, and each point is the level the SKU closed its slice at, with changeCount saying how many changes it stands for.

The levels are summed across the warehouses in scope, so a SKU held in three warehouses answers with its total.

Error Scenarios​

  • The SKU has no recorded changes in the period: an empty list.

Permissions Required​

  • echo:read
echoInventoryChangeSeries(
filter: InventoryChangeFilterInput
sku: String!
): [InventoryChangePoint!]!

Arguments​

echoInventoryChangeSeries.filter ● InventoryChangeFilterInput input common​

Optional filters, all combined with AND. Any SKUs given here are ignored.

echoInventoryChangeSeries.sku ● String! non-null scalar common​

The SKU whose levels to return.

Type​

InventoryChangePoint object common​

The levels a SKU stood at one point of a period. When the period holds more changes than the series has points, a point closes a slice of the period and changeCount says how many changes it stands for.