OrdersExports
List the team's document orders (cursor-paginated)
Returns the team's TeamDocumentOrder rows in TeamDocumentOrderId order. Pass the largest TeamDocumentOrderId from the previous page as lastItemId to fetch the next page. Intended for machine clients (cron, integrations) — the Vue portal uses /orders/list (AG Grid) instead.
GEThttps://lens-api.tic.io/orders/exports
Authorization
x-api-keystringheaderrequiredYour API key, sent in the x-api-key header.
Query parameters
lastItemIdintegerTake rows with TeamDocumentOrderId greater than this value. Pass 0 (default) for the first page.
pageSizeintegerPage size, max 100.
Responses
Page of orders · application/json
pageSizeintegerlastItemIdintegertotalItemsintegeritemsTeamDocumentOrder_Dto[] | nullHide child attributes
teamDocumentOrderIdintegerteamIdintegerteamNamestring | nulldocumentOrderGuidstringdocumentTitlestring | nulldocumentOrderTypestringdocumentOrderDatestringorderedByUserIdinteger | nullorderedByUserEmailstring | nullorderedByUserDisplayNamestring | nullpricenumber | nulllastUpdatedAtUtcstringexternalId2string | nullsalesOrderRowsinteger[] | nullcontentTeamDocumentOrderContent_Dto[] | nullShow child attributes
teamDocumentOrderContentIdintegerteamDocumentOrderIdintegerteamDocumentContentTypestring