Skip to main content
Version: 3.x

stocks

List of stocks.

Requires MANAGE_PRODUCTSpermission.
stocks(
filter: StockFilterInput
before: String
after: String
first: Int
last: Int
): StockCountableConnection

Arguments

stocks.filter ● StockFilterInput input

stocks.before ● String scalar

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

stocks.after ● String scalar

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

stocks.first ● Int scalar

Retrieve the first n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.

stocks.last ● Int scalar

Retrieve the last n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.

Type

StockCountableConnection object


Was this page helpful?