Skip to main content

documents

The merchant's files, newest first, as a cursor connection.

**Returns:** One page of files for the acting merchant.

documents(
first: Int
after: String
last: Int
before: String
status: DocumentStatus
): DocumentConnection!

Arguments

documents.first ● Int scalar

Returns the first _n_ elements from the list.

documents.after ● String scalar

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

documents.last ● Int scalar

Returns the last _n_ elements from the list.

documents.before ● String scalar

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

documents.status ● DocumentStatus enum

Restricts the page to files in this state. Omit it for every state, including the ones still waiting to arrive and the ones removed.

Type

DocumentConnection object

A connection to a list of items.