Schema Documentation

products

Description

Connection between the RootQuery type and the ProductUnion type

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 - RootQueryToProductUnionConnectionWhereArgs Arguments for filtering the connection

Example

Query
query products(  $first: Int,$last: Int,$after: String,$before: String,$where: RootQueryToProductUnionConnectionWhereArgs){  products(    first: $first,    last: $last,    after: $after,    before: $before,    where: $where  ){    edges {      ...RootQueryToProductUnionConnectionEdgeFragment    }foundnodes {      ...ProductUnionFragment    }pageInfo {      ...RootQueryToProductUnionConnectionPageInfoFragment    }  }}
Variables
{"first":123,"last":987,"after":"xyz789","before":"abc123","where":RootQueryToProductUnionConnectionWhereArgs}
Response
{"data":{"products":{"edges":[RootQueryToProductUnionConnectionEdge],"found":987,"nodes":[ProductUnion],"pageInfo":RootQueryToProductUnionConnectionPageInfo}}}