Sign inGet Started

bird esim orders list

Usage

Code example
bird esim orders list [flags]

Description

Returns the workspace's orders as a cursor-paginated list, newest first. Filter by status to find in-flight or failed purchases, by esim_id for one eSIM's purchase history, or by mode to separate test purchases from real ones. Test orders are listed alongside real ones by default, each carrying its own mode.

Returns a paginated JSON envelope; narrow with the filters below and page with --limit and --starting-after.

Examples

Code example
bird esim orders list
bird esim orders list | jq -r '.data[].id'
bird esim orders list --limit 50 --starting-after <cursor>

Options

Filters

NameDescription
--completed-afterKeep only orders completed at or after this timestamp. Combine it with completed_before to select a completion window, which is what the analytics spend and completion figures are counted by; created_after selects when an order was placed instead. Orders that never completed are excluded. Use an RFC 3339 timestamp with a timezone offset.
--completed-beforeKeep only orders completed before this timestamp. Combine it with completed_after to select a completion window. Orders that never completed are excluded. Use an RFC 3339 timestamp with a timezone offset.
--created-afterLimits the response to resources created at or after this timestamp. Combine it with created_before to select a time window. Use an RFC 3339 timestamp with a timezone offset.
--created-beforeLimits the response to resources created before this timestamp. Combine it with created_after to select a time window. Use an RFC 3339 timestamp with a timezone offset.
--esim-idKeep only orders for this eSIM.
--modeKeep only orders created in this mode. Without it, both live and test orders are returned. Possible values: live, test.
--response-schemaPrint the fields this command returns, then exit
--status <value>…Keep only orders whose status matches; repeat the parameter to match any of several. Possible values: scheduled, charging, provisioning, pending, completed, failed, canceled.

Pagination

NameDescription
--ending-beforeCursor from the prev_cursor or refresh_cursor field of a previous list response. Returns items immediately before the cursor position in the current sort order. prev_cursor returns the preceding page. refresh_cursor anchors at the first row of that response, which on a newest-first sort is how to fetch the items that have appeared since.
--limit <n>Maximum number of items to return per page. Allowed range: 1 to 100.
--starting-afterCursor from the next_cursor field of a previous list response. Returns items immediately after the cursor position in the current sort order.
NameDescription
bird esim orders cancelCancel an unfunded order
bird esim orders createOrder a data package
bird esim orders getGet an order

Continue with the documentation, guides and examples for this topic.