Skip to content

billingItems

Fetch paginated Billing Items collection

Arguments

created_at_end · ISO8601DateTime · YYYY-MM-DD format
state · String · (DEPRECATED) Use 'status' field instead with type - [String]
status · [String] · Status of the billing item. Can be 'failed', 'paused', 'succeeded', 'scheduled', or `stopped' (e.g. ['succeeded', 'scheduled'])
after · String · Returns the elements in the list that come after the specified cursor.
before · String · Returns the elements in the list that come before the specified cursor.
first · Int · Returns the first _n_ elements from the list.
last · Int · Returns the last _n_ elements from the list.

Returns

BillingItemPaginationConnection

Example

query billingItems(
$client_id: ID
$created_at_end: ISO8601DateTime
$created_at_start: ISO8601DateTime
$keywords: String
$offerings_only: Boolean
$provider_id: ID
$sort_by: String
$order_by: BillingItemOrderKeys
$state: String
$status: [String]
$user_id: ID
$after: String
$before: String
$first: Int
$last: Int
) {
billingItems(
client_id: $client_id
created_at_end: $created_at_end
created_at_start: $created_at_start
keywords: $keywords
offerings_only: $offerings_only
provider_id: $provider_id
sort_by: $sort_by
order_by: $order_by
state: $state
status: $status
user_id: $user_id
after: $after
before: $before
first: $first
last: $last
) {
edges
nodes
page_info
total_count
}
}