Schema Documentation

orders

Description

Connection between the RootQuery type and the Order type

Response

Returns a RootQueryToOrderConnection

Arguments
NameDescription
first - Int The number of items to return after the referenced "after" cursor
last - Int The number of items to return before the referenced "before" cursor
after - String Cursor used along with the "first" argument to reference where in the dataset to get data
before - String Cursor used along with the "last" argument to reference where in the dataset to get data
where - RootQueryToOrderConnectionWhereArgs Arguments for filtering the connection

Example

Query
query orders(  $first: Int,$last: Int,$after: String,$before: String,$where: RootQueryToOrderConnectionWhereArgs){  orders(    first: $first,    last: $last,    after: $after,    before: $before,    where: $where  ){    edges {      ...RootQueryToOrderConnectionEdgeFragment    }nodes {      ...OrderFragment    }pageInfo {      ...RootQueryToOrderConnectionPageInfoFragment    }  }}
Variables
{"first":987,"last":987,"after":"abc123","before":"abc123","where":RootQueryToOrderConnectionWhereArgs}
Response
{"data":{"orders":{"edges":[RootQueryToOrderConnectionEdge],"nodes":[Order],"pageInfo":RootQueryToOrderConnectionPageInfo}}}