# List purchaseorders Returns a paginated list of Purchaseorders for the specified site. Supports filtering and sorting. Endpoint: GET /site/{siteId}/ahds/v1/purchaseorder Version: 1.0 Security: bearer ## Path parameters: - `siteId` (number, required) Site identifier ## Query parameters: - `page` (number) Page number (0-indexed) - `pageSize` (number) Number of items per page - `sortBy` (string) Field to sort by Enum: "createdAt", "updatedAt", "comments", "freightAmount", "freightTaxAmount", "orderDate", "supplierAccountNumber", "supplierOrderNumber", "taxAmount", "totalAmount" - `sortOrder` (string) Sort order Enum: "asc", "desc" - `clientId` (string) Client associated with this purchase order, if applicable. Example: "123e4567-e89b-12d3-a456-426614174000" - `comments` (string) Free-text comments on the purchase order. - `isActive` (boolean) Whether the purchase order is active. - `ownershipId` (string) Ownership or business unit identifier associated with this purchase order. Example: "123e4567-e89b-12d3-a456-426614174000" - `shippingAddressId` (string) Reference to the shipping address resource. Example: "123e4567-e89b-12d3-a456-426614174000" - `status` (string) Status of the purchase order. Enum: "draft", "submitted", "confirmed", "partiallyReceived", "received", "cancelled" - `supplierAccountNumber` (string) Account number with the supplier. - `supplierId` (string) Supplier from whom the order is placed. Example: "123e4567-e89b-12d3-a456-426614174000" - `supplierOrderNumber` (string) Supplier-provided order number. ## Response 200 fields ## Response 401 fields