DEV

Query.

carts

Returns a list of Item resources.

Arguments

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 up to the first n elements from the list.

last

Int

Returns up to the last n elements from the list.
GraphQL
1
2
3
type Query {
  carts(after: String, before: String, first: Int, last: Int): CartConnection!
}

Was this page helpful?