Skip to content

Commit a89a74a

Browse files
committed
DOC-473: Updates descriptions for cart_id
1 parent 5efb179 commit a89a74a

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

app/code/Magento/QuoteGraphQl/etc/schema.graphqls

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# See COPYING.txt for license details.
33

44
type Query {
5-
cart(cart_id: String! @doc(description: "The masked ID of the cart to query.")): Cart @resolver (class: "\\Magento\\QuoteGraphQl\\Model\\Resolver\\Cart") @doc(description:"Return information about the specified shopping cart.") @cache(cacheable: false)
5+
cart(cart_id: String! @doc(description: "The unique ID of the cart to query.")): Cart @resolver (class: "\\Magento\\QuoteGraphQl\\Model\\Resolver\\Cart") @doc(description:"Return information about the specified shopping cart.") @cache(cacheable: false)
66
customerCart: Cart! @resolver (class: "\\Magento\\QuoteGraphQl\\Model\\Resolver\\CustomerCart") @doc(description:"Return information about the customer's shopping cart.") @cache(cacheable: false)
77
}
88

@@ -30,7 +30,7 @@ input createEmptyCartInput @doc(description: "Assigns a specific `cart_id` to th
3030
}
3131

3232
input AddSimpleProductsToCartInput @doc(description: "Defines the simple and group products to add to the cart.") {
33-
cart_id: String! @doc(description: "The ID of the cart.")
33+
cart_id: String! @doc(description: "The unique ID of a `Cart` object.")
3434
cart_items: [SimpleProductCartItemInput!]! @doc(description: "An array of simple and group items to add.")
3535
}
3636

@@ -40,7 +40,7 @@ input SimpleProductCartItemInput @doc(description: "Defines a single product to
4040
}
4141

4242
input AddVirtualProductsToCartInput @doc(description: "Defines the virtual products to add to the cart.") {
43-
cart_id: String! @doc(description: "The ID of the cart.")
43+
cart_id: String! @doc(description: "The unique ID of a `Cart` object.")
4444
cart_items: [VirtualProductCartItemInput!]! @doc(description: "An array of virtual products to add.")
4545
}
4646

@@ -63,12 +63,12 @@ input CustomizableOptionInput @doc(description: "Defines a customizable option."
6363
}
6464

6565
input ApplyCouponToCartInput @doc(description: "Specifies the coupon code to apply to the cart.") {
66-
cart_id: String! @doc(description: "The ID of the cart.")
66+
cart_id: String! @doc(description: "The unique ID of a `Cart` object.")
6767
coupon_code: String! @doc(description: "A valid coupon code.")
6868
}
6969

7070
input UpdateCartItemsInput @doc(description: "Modifies the specified items in the cart.") {
71-
cart_id: String! @doc(description: "The ID of the cart.")
71+
cart_id: String! @doc(description: "The unique ID of a `Cart` object.")
7272
cart_items: [CartItemUpdateInput!]! @doc(description: "An array of items to be updated.")
7373
}
7474

@@ -80,13 +80,13 @@ input CartItemUpdateInput @doc(description: "A single item to be updated.") {
8080
}
8181

8282
input RemoveItemFromCartInput @doc(description: "Specifies which items to remove from the cart.") {
83-
cart_id: String! @doc(description: "The ID of the cart.")
83+
cart_id: String! @doc(description: "The unique ID of a `Cart` object.")
8484
cart_item_id: Int @doc(description: "Deprecated. Use `cart_item_uid` instead.")
8585
cart_item_uid: ID @doc(description: "Required field. The unique ID for a `CartItemInterface` object.")
8686
}
8787

8888
input SetShippingAddressesOnCartInput @doc(description: "Specifies an array of addresses to use for shipping.") {
89-
cart_id: String! @doc(description: "The ID of the cart.")
89+
cart_id: String! @doc(description: "The unique ID of a `Cart` object.")
9090
shipping_addresses: [ShippingAddressInput!]! @doc(description: "An array of shipping addresses.")
9191
}
9292

@@ -97,7 +97,7 @@ input ShippingAddressInput @doc(description: "Defines a single shipping address.
9797
}
9898

9999
input SetBillingAddressOnCartInput @doc(description: "Sets the billing address.") {
100-
cart_id: String! @doc(description: "The ID of the cart.")
100+
cart_id: String! @doc(description: "The unique ID of a `Cart` object.")
101101
billing_address: BillingAddressInput! @doc(description: "The billing address.")
102102
}
103103

@@ -123,7 +123,7 @@ input CartAddressInput @doc(description: "Defines the billing or shipping addres
123123
}
124124

125125
input SetShippingMethodsOnCartInput @doc(description: "Applies one or shipping methods to the cart.") {
126-
cart_id: String! @doc(description: "The ID of the cart.")
126+
cart_id: String! @doc(description: "The unique ID of a `Cart` object.")
127127
shipping_methods: [ShippingMethodInput!]! @doc(description: "An array of shipping methods.")
128128
}
129129

@@ -133,16 +133,16 @@ input ShippingMethodInput @doc(description: "Defines the shipping carrier and me
133133
}
134134

135135
input SetPaymentMethodAndPlaceOrderInput @doc(description: "Applies a payment method to the quote.") {
136-
cart_id: String! @doc(description: "The ID of the cart.")
136+
cart_id: String! @doc(description: "The unique ID of a `Cart` object.")
137137
payment_method: PaymentMethodInput! @doc(description: "The payment method data to apply to the cart.")
138138
}
139139

140140
input PlaceOrderInput @doc(description: "Specifies the quote to be converted to an order.") {
141-
cart_id: String! @doc(description: "The ID of the cart.")
141+
cart_id: String! @doc(description: "The unique ID of a `Cart` object.")
142142
}
143143

144144
input SetPaymentMethodOnCartInput @doc(description: "Applies a payment method to the cart.") {
145-
cart_id: String! @doc(description: "The ID of the cart.")
145+
cart_id: String! @doc(description: "The unique ID of a `Cart` object.")
146146
payment_method: PaymentMethodInput! @doc(description: "The payment method data to apply to the cart.")
147147
}
148148

@@ -152,7 +152,7 @@ input PaymentMethodInput @doc(description: "Defines the payment method.") {
152152
}
153153

154154
input SetGuestEmailOnCartInput @doc(description: "Defines the guest email and cart.") {
155-
cart_id: String! @doc(description: "The ID of the cart.")
155+
cart_id: String! @doc(description: "The unique ID of a `Cart` object.")
156156
email: String! @doc(description: "The email address of the guest.")
157157
}
158158

@@ -294,7 +294,7 @@ type AppliedCoupon @doc(description: "Contains the applied coupon code.") {
294294
}
295295

296296
input RemoveCouponFromCartInput @doc(description: "Specifies the cart from which to remove a coupon.") {
297-
cart_id: String! @doc(description: "The ID of the cart.")
297+
cart_id: String! @doc(description: "The unique ID of a `Cart` object.")
298298
}
299299

300300
type RemoveCouponFromCartOutput @doc(description: "Contains details about the cart after removing a coupon.") {

0 commit comments

Comments
 (0)