|
@@ -58,6 +58,32 @@ type Query {
|
|
|
reverse: Boolean = false
|
|
|
sortKey: ProductSortKeys = ID
|
|
|
): ProductConnection!
|
|
|
+
|
|
|
+ # Tags added to products.
|
|
|
+ # Additional access scope required: unauthenticated_read_product_tags.
|
|
|
+ productTags(first: Int!): StringConnection!
|
|
|
+
|
|
|
+ # List of product types for the shop's products that are published to your app.
|
|
|
+ productTypes(first: Int!): StringConnection!
|
|
|
+
|
|
|
+ # Find recommended products related to a given `product_id`.
|
|
|
+ productRecommendations(productId: ID!): [Product!]
|
|
|
+}
|
|
|
+
|
|
|
+type StringConnection {
|
|
|
+ # A list of edges.
|
|
|
+ edges: [StringEdge!]!
|
|
|
+
|
|
|
+ # Information to aid in pagination.
|
|
|
+ pageInfo: PageInfo!
|
|
|
+}
|
|
|
+
|
|
|
+type StringEdge {
|
|
|
+ # A cursor for use in pagination.
|
|
|
+ cursor: String!
|
|
|
+
|
|
|
+ # The item at the end of StringEdge.
|
|
|
+ node: String!
|
|
|
}
|
|
|
|
|
|
# An auto-generated type for paginating through multiple Collections.
|