Skip to main content

contracts

The merchant's agreements, most recently effective first, as a cursor connection.

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

contracts(
first: Int
after: String
last: Int
before: String
status: ContractStatus
): ContractConnection!

Arguments

contracts.first ● Int scalar

Returns the first _n_ elements from the list.

contracts.after ● String scalar

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

contracts.last ● Int scalar

Returns the last _n_ elements from the list.

contracts.before ● String scalar

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

contracts.status ● ContractStatus enum

Restricts the page to agreements in this state. Omit it for every state.

Type

ContractConnection object

A connection to a list of items.