List items
Lists items the caller can see. Results are filtered by the caller's accessible organizations; many routes paginate via page and limit.
Scope: logistics:read
Endpoint: GET /api/items
Example request
curl "https://guliel.com/api/items?organizationId=value" \
-H "Authorization: Bearer $GULIEL_API_KEY"Query parameters
organizationIdreqstringpagereqintegerlimitreqintegersearchreqstringisActivestringhasStockstringcurrencystringsortByreqenum<6>name · sku · unitPrice · quantity · createdAt · updatedAtsortOrderreqenum<2>asc · desc
Response (200/201)
itemsreqarray<object>idreqstringorganizationIdreqstringnamereqstringdescriptionreqstring | nullskureqstring | nullpricereqnumber | nullcurrencyreqstring | nullquantityreqnumber | nullStock on hand. Null means the item is not stock-tracked.lowStockThresholdreqintegerisActivereqbooleanavailableForExternalOrderreqbooleancreatedAtreqstringupdatedAtreqstring
lowStockCountreqintegerHow many active stock-tracked items are at or below their lowStockThreshold.paginationreqobjectpagereqintegerlimitreqintegertotalreqintegertotalPagesreqinteger
Error responses
400 | Validation |
401 | Unauthenticated |
403 | Forbidden |
500 | Internal |