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
The fixed amount value of the discount, in the currency of the cart.
2951
-
2952
-
The amount must be greater than or equal to 0.
2953
-
"""
2954
-
amount: Decimal!
2955
-
}
2956
-
2957
-
"""
2958
-
The cart.fetch target result. Refer to [network access]
2959
-
(https://shopify.dev/apps/build/functions/input-output/network-access/graphql) for Shopify Functions.
2988
+
A discount code used by the buyer to add a discount to the cart.
2960
2989
"""
2961
-
inputFunctionCartFetchResult {
2990
+
inputDiscountCode {
2962
2991
"""
2963
-
The http request.
2992
+
The discount code.
2964
2993
"""
2965
-
request: HttpRequest
2994
+
code: String!
2966
2995
}
2967
2996
2968
2997
"""
2969
-
The cart.run target result.
2998
+
An operation that selects which entered discount codes to accept. Use this to validate discount codes from external systems.
2970
2999
"""
2971
-
inputFunctionCartRunResult {
3000
+
inputEnteredDiscountCodesAcceptOperation {
2972
3001
"""
2973
-
The list of operations to apply discounts to the cart.
3002
+
The list of discount codes to accept.
2974
3003
"""
2975
-
operations: [CartOperation!]!
3004
+
codes: [DiscountCode!]!
2976
3005
}
2977
3006
2978
3007
"""
2979
-
The delivery.fetch target result. Refer to
2980
-
[network access](https://shopify.dev/apps/build/functions/input-output/network-access/graphql) for Shopify Functions.
3008
+
A fixed amount value.
2981
3009
"""
2982
-
inputFunctionDeliveryFetchResult {
2983
-
"""
2984
-
The http request.
3010
+
inputFixedAmount {
2985
3011
"""
2986
-
request: HttpRequest
2987
-
}
3012
+
The fixed amount value of the discount, in the currency of the cart.
2988
3013
2989
-
"""
2990
-
The delivery.run target result.
2991
-
"""
2992
-
inputFunctionDeliveryRunResult {
2993
-
"""
2994
-
The list of operations to apply discounts to the delivery lines.
3014
+
The amount must be greater than or equal to 0.
2995
3015
"""
2996
-
operations: [DeliveryOperation!]!
3016
+
amount: Decimal!
2997
3017
}
2998
3018
2999
3019
"""
@@ -3070,7 +3090,7 @@ interface HasGates {
3070
3090
The handle of the gate configurations to search for.
3071
3091
"""
3072
3092
handle: Handle
3073
-
): [GateSubject!]!
3093
+
): [GateSubject!]!@deprecated(reason: "Gates API is being sunset and will be removed in a future version. Use `metafields` instead for gate configuration.")
The handle of the gate configurations to search for.
4722
4742
"""
4723
4743
handle: Handle
4724
-
): [GateSubject!]!
4744
+
): [GateSubject!]!@deprecated(reason: "Gates API is being sunset and will be removed in a future version. Use `metafields` instead for gate configuration.")
4725
4745
4726
4746
"""
4727
4747
A unique human-friendly string of the product's title.
@@ -4860,7 +4880,7 @@ A target of a product discount candidate, which determines which cart line(s) th
4860
4880
Multiple targets with the same type and ID are the same as a single target of that type and ID with their
4861
4881
quantities added together, or `null` if any of those targets have a quantity of `null`.
4862
4882
4863
-
See the [Discounts API reference](https://shopify.dev/docs/api/functions/reference/product-discounts/graphql#functionrunresult) for examples.
4883
+
See the [Discounts API reference](https://shopify.dev/docs/api/functions/reference/discount/graphql/functioncartrunresult) for examples.
0 commit comments