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
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: src/_includes/graphql/cart-object-24.md
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,13 +5,13 @@ Attribute | Data Type | Description
5
5
`applied_gift_cards` | [[`AppliedGiftCard`]][AppliedGiftCard] | An array of `AppliedGiftCard` objects. An `AppliedGiftCard` object contains the `code` text attribute, which specifies the gift card code. `applied_gift_cards` is a Commerce-only attribute, defined in the GiftCardAccountGraphQl module
6
6
`applied_reward_points`| [`RewardPointsAmount`][RewardPointsAmount] | The amount of reward points applied to the cart
7
7
`applied_store_credit` | [`AppliedStoreCredit`][AppliedStoreCredit] | Contains store credit information applied to the cart. `applied_store_credit` is a Commerce-only attribute, defined in the CustomerBalanceGraphQl module
8
-
`available_gift_wrappings` | [GiftWrapping]! | The list of available gift wrapping options for the cart
8
+
`available_gift_wrappings` | [[GiftWrapping]][GiftWrapping]! | The list of available gift wrapping options for the cart
9
9
`available_payment_methods` | [[AvailablePaymentMethod]][AvailablePaymentMethod] | Available payment methods
10
10
`billing_address` | [BillingCartAddress][BillingCartAddress] | Contains the billing address specified in the customer's cart
11
11
`email` | String | The customer's email address
12
12
`gift_message` | [GiftMessage][GiftMessage] | A gift message added to the cart
13
13
`gift_receipt_included` | Boolean! | Indicates if the customer requested a gift receipt for the cart
14
-
`gift_wrapping` | GiftWrapping | The selected gift wrapping for the cart
14
+
`gift_wrapping` | [GiftWrapping][GiftWrapping] | The selected gift wrapping for the cart
15
15
`id` | ID! | The ID of the cart
16
16
`is_virtual` | Boolean! | Indicates whether the cart contains only virtual products
17
17
`items` | [[CartItemInterface]][CartItemInterface] | Contains the items in the customer's cart
@@ -29,6 +29,7 @@ Attribute | Data Type | Description
Copy file name to clipboardExpand all lines: src/guides/v2.3/graphql/mutations/add-configurable-products.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -144,10 +144,12 @@ Attribute | Data Type | Description
144
144
145
145
Error | Description
146
146
--- | ---
147
+
`Could not find a cart with ID "XXX"` | The specified `cart_id` value does not exist in the `quote_id_mask` table.
147
148
`Could not add the product with SKU configurable to the shopping cart: The product that was requested doesn't exist. Verify the product and try again.` | The simple product with the SKU specified in the `data`.`sku` attribute does not exist.
148
149
`Could not find a product with SKU "XXX"` | The configurable product with SKU specified in the `parent_sku` argument does not exist.
149
150
`Could not find specified product.` | The simple product specified in the `data`.`sku` argument is not assigned to the configurable product provided in the `parent_sku` attribute.
150
151
`Required parameter "cart_id" is missing` | The `cart_id` argument was omitted or contains an empty value.
152
+
`Required parameter "cart_items" is missing` | The `cart_items` argument was omitted or contains an empty array.
151
153
`Required parameter "email" is missing` | The `email` argument was omitted or contains an empty value.
152
154
`The requested qty is not available` | The requested quantity specified `data`.`quantity` is not available.
Copy file name to clipboardExpand all lines: src/guides/v2.3/graphql/mutations/add-downloadable-products.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -258,6 +258,8 @@ Attribute | Data Type | Description
258
258
259
259
Error | Description
260
260
--- | ---
261
+
`Could not find a cart with ID "XXX"` | The specified `cart_id` value does not exist in the `quote_id_mask` table.
262
+
`Could not find a product with SKU "YYY"` | A product with the SKU specified in the `data`.`sku` argument does not exist.
261
263
`Required parameter "cart_id" is missing` | The mutation does not contain a `cart_id` argument.
262
264
`Required parameter "cart_items" is missing` | The `cart_items` argument is empty or is not of type `array`.
263
265
`Please specify product link(s).` | You tried to add a downloadable product in which the `Links can be purchased separately` option is enabled, but you did not specify individual product links.
0 commit comments