Skip to content

Commit

Permalink
Merge pull request #130 from vtex-apps/feature/variant-field
Browse files Browse the repository at this point in the history
Feature/variant field
  • Loading branch information
hiagolcm authored Sep 15, 2023
2 parents 93ec1fc + b2b2d99 commit 62486ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions graphql/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ type Query {
Search options that customize the search result.
"""
options: Options
variant: String
): ProductSearch @cacheControl(scope: SEGMENT, maxAge: SHORT) @withSegment

sponsoredProducts(
Expand Down Expand Up @@ -304,6 +305,7 @@ type Query {
List of shipping options to filter products
"""
shippingOptions: [String]
variant: String
): [Product] @cacheControl(scope: SEGMENT, maxAge: SHORT) @withSegment

productRecommendations(
Expand Down Expand Up @@ -472,6 +474,7 @@ type Query {
List of shipping options to filter suggestions
"""
shippingOptions: [String]
variant: String
): ProductSuggestions
@cacheControl(scope: SEGMENT, maxAge: MEDIUM)
@withSegment
Expand Down

0 comments on commit 62486ec

Please sign in to comment.