Skip to main content

Arguments

after : String
before : String
first : Int
last : Int
marketName : String

The market for which we want to list products.

productCode : String

Filter products by product code.

Returns

ProductConnectionTypeConnection

This field is a connection type. Connections are used to implement cursor based pagination.

Allowed Viewers

Customer Partner User Third party

Query Complexity

1

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

query SupplyProducts( $after: String, $before: String, $first: Int, $last: Int, $marketName: String, $productCode: String ) { supplyProducts( after: $after, before: $before, first: $first, last: $last, marketName: $marketName, productCode: $productCode ) { edgeCount edges { ...ProductConnectionTypeEdgeFragment } pageInfo { ...PageInfoFragment } totalCount } }

Variables

{ "after": "YXJyYXljb25uZWN0aW9uOjEw=", "before": "YXJyYXljb25uZWN0aW9uOjEw=", "first": 10, "last": 10, "marketName": "skin-work-thought-power-choose", "productCode": "recognize-interesting-law-writer-nice" }

Response

{ "data": { "supplyProducts": { "edgeCount": 36, "edges": [ProductConnectionTypeEdge], "pageInfo": PageInfo, "totalCount": 51 } } }