File tree Expand file tree Collapse file tree 3 files changed +5
-20
lines changed
ConfigurableProductGraphQl/etc
dev/tests/api-functional/testsuite/Magento/GraphQl/Quote Expand file tree Collapse file tree 3 files changed +5
-20
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ type AddConfigurableProductsToCartOutput {
49
49
}
50
50
51
51
input ConfigurableProductCartItemInput {
52
- data : CartItemDetailsInput !
52
+ data : CartItemInput !
53
53
variant_sku : String !
54
54
customizable_options :[CustomizableOptionInput ! ]
55
55
}
Original file line number Diff line number Diff line change @@ -78,14 +78,6 @@ type SetShippingMethodsOnCartOutput {
78
78
cart : Cart !
79
79
}
80
80
81
- # If no address is provided, the system get address assigned to a quote
82
- # If there's no address at all - the system returns all shipping methods
83
- input AvailableShippingMethodsOnCartInput {
84
- cart_id : String !
85
- customer_address_id : Int
86
- address : CartAddressInput
87
- }
88
-
89
81
input ApplyCouponToCartInput {
90
82
cart_id : String !
91
83
coupon_code : String !
@@ -119,7 +111,7 @@ type CartAddress {
119
111
}
120
112
121
113
type CartItemQuantity {
122
- cart_item_id : String !
114
+ cart_item_id : Int !
123
115
quantity : Float !
124
116
}
125
117
@@ -142,11 +134,7 @@ type AvailableShippingMethod {
142
134
carrier_title : String !
143
135
method_code : String !
144
136
method_title : String !
145
- error_message : String
146
137
amount : Float !
147
- base_amount : Float !
148
- price_excl_tax : Float !
149
- price_incl_tax : Float !
150
138
}
151
139
152
140
enum AdressTypeEnum {
@@ -222,8 +210,3 @@ type CartItemSelectedOptionValuePrice {
222
210
units : String !
223
211
type : PriceTypeEnum !
224
212
}
225
-
226
- input CartItemDetailsInput {
227
- sku : String !
228
- qty : Float !
229
- }
Original file line number Diff line number Diff line change @@ -75,7 +75,9 @@ public function testAddProductIfQuantityIsNotAvailable()
75
75
}
76
76
) {
77
77
cart {
78
- cart_id
78
+ items {
79
+ qty
80
+ }
79
81
}
80
82
}
81
83
}
You can’t perform that action at this time.
0 commit comments