You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typeProductPrices@deprecated(reason: "Use PriceRange instead.") @doc(description: "The ProductPrices object contains the regular price of an item, as well as its minimum and maximum prices. Only composite products, which include bundle, configurable, and grouped products, can contain a minimum and maximum price.") {
44
+
typeProductPrices@doc(description: "ProductPrices is deprecated, replaced by PriceRange. The ProductPrices object contains the regular price of an item, as well as its minimum and maximum prices. Only composite products, which include bundle, configurable, and grouped products, can contain a minimum and maximum price.") {
45
45
minimalPrice: Price@deprecated(reason: "Use PriceRange.minimum_price.") @doc(description: "The lowest possible final price for all the options defined within a composite product. If you are specifying a price range, this would be the from value.")
46
46
maximalPrice: Price@deprecated(reason: "Use PriceRange.maximum_price.") @doc(description: "The highest possible final price for all the options defined within a composite product. If you are specifying a price range, this would be the to value.")
47
47
regularPrice: Price@deprecated(reason: "Use regular_price from PriceRange.minimum_price or PriceRange.maximum_price.") @doc(description: "The base price of a product.")
48
48
}
49
49
50
-
typePriceRange@doc(description: "Price range for a product. If the product only has a single price minimum and maximum price will be the same."){
50
+
typePriceRange@doc(description: "Price range for a product. If the product has a single price, the minimum and maximum price will be the same."){
51
51
minimum_price: ProductPrice!@doc(description: "The lowest possible price for the product.")
52
52
maximum_price: ProductPrice@doc(description: "The highest possible price for the product.")
53
53
}
@@ -58,9 +58,9 @@ type ProductPrice @doc(description: "Represents a product price.") {
58
58
discount: ProductDiscount@doc(description: "The price discount. Represents the difference between the regular and final price.")
59
59
}
60
60
61
-
typeProductDiscount@doc(description: "Price discount applied to a product.") {
62
-
percent_off: Float@doc(description: "The discount expressed a percent value.")
63
-
amount_off: Float@doc(description: "The discount expressed an absolute value.")
61
+
typeProductDiscount@doc(description: "A discount applied to a product price.") {
62
+
percent_off: Float@doc(description: "The discount expressed a percentage.")
63
+
amount_off: Float@doc(description: "The actual value of the discount.")
64
64
}
65
65
66
66
typeProductLinksimplementsProductLinksInterface@doc(description: "ProductLinks is an implementation of ProductLinksInterface.") {
0 commit comments