200Successful Response
Schema: SuccessEnvelope_ProductsListResponse_
successbooleanmessagestringcodestringdataProductsListResponse
/api/v1/inventory/productsRetrieve all products with optional filtering and pagination.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
typestringFilter by product type ('manual' or 'shopify')
categorystringFilter by category (e.g. 'Finished Goods', 'Ingredients', 'Packaging')
include_variantsbooleandefault: FalseWhether to include variant details
archivedbooleanFilter by archived status (true/false/null for all)
searchstringFuzzy search term (trigram-similarity matching against the entity's primary text columns). Trimmed; ignored when blank.
cursorstringCursor for pagination
limitintegerPagination limit
directionstringdefault: nextPagination direction: 'next' or 'prev'
include_total_countbooleandefault: FalseWhether to include total count (expensive - avoid if possible)
sort_bystringColumn name to sort by (e.g. 'created_at', 'amount', 'name'). When changing sort, reset cursor to None.
descendingbooleandefault: TrueSort direction: true for descending (newest/largest first), false for ascending
Schema: SuccessEnvelope_ProductsListResponse_
successbooleanmessagestringcodestringdataProductsListResponse