List orders
Orders
List Orders
Returns a paginated list of orders.
GET
List orders
Overview
Retrieve a paginated list of orders with optional filtering and sorting. Orders represent subscription checkout transactions—each order contains customer information, line items with products and pricing, and fulfillment status.Common Use Cases
Dashboard Integration
Build custom dashboards showing recent orders, fulfillment queues, or revenue reports
Order Management
Display order lists for your operations team to process and fulfill
Customer Portal
Show customers their order history in your customer-facing application
Sync & Export
Sync orders to external systems like ERPs, accounting software, or data warehouses
Filtering Orders
Filter orders by status to power different views in your application:| Status | Description | Typical Action |
|---|---|---|
pending | Order submitted, awaiting confirmation | Review and confirm |
confirmed | Order confirmed, ready for fulfillment | Assign assets and create subscriptions |
partial | Some items fulfilled, others pending | Continue fulfillment |
fulfilled | All items have active subscriptions | Archive or monitor |
cancelled | Order was cancelled | No action needed |
Sorting Options
| Field | Description |
|---|---|
createdAt | Order creation timestamp (default) |
updatedAt | Last modification timestamp |
orderId | Order ID (alphabetical) |
status | Order status |
totals.total | Order total amount |
Pagination
Results are paginated using cursor-based pagination. See Pagination for details.Response Fields
Key fields in each order object:| Field | Description |
|---|---|
orderId | Unique order identifier |
status | Current order status |
orderType | standard, extension, or upgrade |
customer | Customer details (email, name, company) |
items | Array of line items with SKU, quantity, pricing |
totals | Order totals (subtotal, tax, total, currency) |
rentalProgress | Fulfillment progress (totalDevices, rentedDevices) |
createdAt | ISO 8601 timestamp |
Related Endpoints
- Get Order - Retrieve a single order by ID
- Create Order - Create a new subscription order
- Create Subscription - Fulfill order items by creating subscriptions
Authorizations
API key obtained from FlexPortal dashboard
Headers
Your tenant identifier
Query Parameters
Items per page (default: 50, max: 100)
Cursor for pagination
Filter by status (pending, confirmed, partial, fulfilled, cancelled)
Filter by customer ID