Skip to main content

stocks

List of stocks.

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

Arguments

stocks.filter ● StockFilterInput input products

stocks.before ● String scalar miscellaneous

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

stocks.after ● String scalar miscellaneous

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

stocks.first ● Int scalar miscellaneous

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 miscellaneous

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 products