warehouses
Get all warehouses under the current company
warehouses(
after: String
before: String
brandId: ID
companyId: ID
first: Int
keyword: String
last: Int
sortField: WarehouseSortFieldsEnum = CREATED_AT
sortType: SortTypeEnum = DESC
): WarehouseConnection!
Arguments
warehouses.after ● String scalar
Returns the elements in the list that come after the specified cursor.
warehouses.before ● String scalar
Returns the elements in the list that come before the specified cursor.
warehouses.brandId ● ID scalar
The ID of the brand to get warehouses for. If not provided, the warehouses for the current brand will be returned.
warehouses.companyId ● ID deprecated scalar
DEPRECATED
This argument is deprecated and will be removed in future versions.
The ID of the company to get warehouses for. If not provided, the warehouses for the current company will be returned.
warehouses.first ● Int scalar
Returns the first _n_ elements from the list.
warehouses.keyword ● String scalar
The keyword to search for in the warehouse name.
warehouses.last ● Int scalar
Returns the last _n_ elements from the list.
warehouses.sortField ● WarehouseSortFieldsEnum enum
warehouses.sortType ● SortTypeEnum enum
Type
WarehouseConnection object
The connection type for Warehouse.