Skip to main content

checkouts Query

List of checkouts. The query will not initiate any external requests, including fetching external shipping methods, filtering available shipping methods, or performing external tax calculations.

Requires one of the following permissions: MANAGE_CHECKOUTSHANDLE_PAYMENTS
checkouts(
sortBy: CheckoutSortingInput
filter: CheckoutFilterInput
channel: String
before: String
after: String
first: Int
last: Int
): CheckoutCountableConnection
Details
type CheckoutCountableConnection {
pageInfo: PageInfo!
edges: [CheckoutCountableEdge!]!
totalCount: Int
}

Arguments​

sortBy ● CheckoutSortingInput​

Sort checkouts.

filter ● CheckoutFilterInput​

Filtering options for checkouts.

channel ● String​

Slug of a channel for which the data should be returned.

before ● String​

Return the elements in the list that come before the specified cursor.

after ● String​

Return the elements in the list that come after the specified cursor.

first ● Int​

Retrieve the first n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.

last ● Int​

Retrieve the last n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.

Type​

CheckoutCountableConnection​