Skip to main content

Arguments

after : String
before : String
code : [String]

Code of the products to filter by.

first : Int
last : Int
marketName : String! required

Market name of the products to list.

productType : [String]

Types of the products to filter by.

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 GoodsProducts( $after: String, $before: String, $code: [String], $first: Int, $last: Int, $marketName: String!, $productType: [String] ) { goodsProducts( after: $after, before: $before, code: $code, first: $first, last: $last, marketName: $marketName, productType: $productType ) { edgeCount edges { ...GoodsProductConnectionTypeEdgeFragment } pageInfo { ...PageInfoFragment } totalCount } }

Variables

{ "after": "YXJyYXljb25uZWN0aW9uOjEw=", "before": "YXJyYXljb25uZWN0aW9uOjEw=", "code": "expert-young-election-message-science", "first": 10, "last": 10, "marketName": "reality-item-since-magazine-resource", "productType": "man-will-respond-before-can" }

Response

{ "data": { "goodsProducts": { "edgeCount": 20, "edges": [GoodsProductConnectionTypeEdge], "pageInfo": PageInfo, "totalCount": 30 } } }