products
List products with filtering and pagination, newest/code order by default.
Each row is a Product. Use productDetail for one
product, or productsAdd to create a new one.
Auth · x-app-token · required permission showProducts
Related: productDetail, productsAdd, Product
products(type: String, status: String, categoryId: String, searchValue: String, vendorId: String, tag: String, ids: [String], codes: [String], excludeIds: Boolean, excludeCodes: Boolean, image: String, page: Int, perPage: Int, sortField: String, sortDirection: SortDirection): ProductListResponseArguments
Filter by product type.
Filter by status. Omit to exclude deleted products only.
Filter to products in this category (and its descendants).
Case-insensitive partial match on name, code, or barcodes.
Filter by supplying Company id.
Filter to products tagged with this tag id.
Restrict results to these product ids.
Restrict results to these product code values.
When true, ids becomes an exclusion list instead of an inclusion list.
When true, codes becomes an exclusion list instead of an inclusion list.
Filter by image presence: hasImage or noImage.
1-based page index. Default: 1. See Pagination.
Page size. Default: 20. See Pagination.
Field to sort by. Default: code.
Sort direction for sortField. Default: ascending.