Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Uppdate configurable product attribute names (#4554)
Browse files Browse the repository at this point in the history
  • Loading branch information
keharper authored May 20, 2019
1 parent dc67648 commit 64eb50e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions guides/v2.3/graphql/reference/configurable-product.md
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ The `AddConfigurableProductsToCartInput` object contains the following attribute

Attribute | Type | Description
--- | --- | ---
`cartItems` | [[ConfigurableProductCartItemInput]](#configProdCartItemInput) | An array of configurable items to add to the cart
`cart_items` | [[ConfigurableProductCartItemInput]](#configProdCartItemInput) | An array of configurable items to add to the cart
`cart_id` | String | The unique ID that identifies the customer's cart

### Configurable product cart item input {#configProdCartItemInput}
Expand All @@ -715,7 +715,7 @@ The `CartItemInput` object contains the following attributes:

Attribute | Type | Description
--- | --- | ---
`qty` | Float | The number of configurable items to add to the cart
`quantity` | Float | The number of configurable items to add to the cart
`sku` | String | The SKU of the configurable product


Expand All @@ -729,11 +729,11 @@ mutation {
addConfigurableProductsToCart(
input: {
cart_id: "4JQaNVJokOpFxrykGVvYrjhiNv9qt31C"
cartItems: [
cart_items: [
{
variant_sku: "MH02"
data: {
qty: 2
quantity: 2
sku: "MH02-XS-Black"
}
}
Expand All @@ -743,7 +743,7 @@ mutation {
cart {
items {
id
qty
quantity
product {
name
sku
Expand All @@ -769,7 +769,7 @@ mutation {
"items": [
{
"id": "26",
"qty": 2,
"quantity": 2,
"product": {
"name": "Teton Pullover Hoodie-XS-Black",
"sku": "MH02-XS-Black"
Expand Down

0 comments on commit 64eb50e

Please sign in to comment.