List ASNs
Retrieve a paginated list of ASNs with filtering options
GET
Documentation Index
Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
Use this file to discover all available pages before exploring further.
Query Parameters
Number of ASNs to return (default: 20, max: 100)
Number of ASNs to skip (for pagination)
Cursor for pagination (alternative to offset)
Filter by status: “pending”, “in_transit”, “delivered”, “received”, “partially_received”, “cancelled”
Filter by purchase order ID
Filter by supplier ID
Filter by destination warehouse ID
Filter by shipping carrier
Filter ASNs with expected arrival after this date (ISO 8601)
Filter ASNs with expected arrival before this date (ISO 8601)
Filter ASNs created after this date (ISO 8601)
Filter ASNs created before this date (ISO 8601)
Filter ASNs with receiving discrepancies
Search by ASN number, tracking number, or supplier name
Sort field: “created_at”, “expected_arrival_date”, “asn_number”, “status” (default: “created_at”)
Sort order: “asc” or “desc” (default: “desc”)
Response
Always “list”
Array of ASN objects
Whether there are more ASNs to retrieve
Total number of ASNs matching the filters
Cursor for retrieving the next page