diff --git a/guides/v2.3/graphql/mutations/add-configurable-products.md b/guides/v2.3/graphql/mutations/add-configurable-products.md index 610d22b85f2..149f307c99f 100644 --- a/guides/v2.3/graphql/mutations/add-configurable-products.md +++ b/guides/v2.3/graphql/mutations/add-configurable-products.md @@ -100,7 +100,7 @@ Attribute | Type | Description --- | --- | --- `customizable_options` | [CustomizableOptionInput](#customOptionInput) | An object that contains the ID and value of the product `data` | [CartItemInput!](#cartItemInput) | An object that contains the quantity and SKU of the configurable product -`parent_sku` | String | The SKU of the simple product's parent configurable product +`parent_sku` | String | The SKU of the simple product's parent configurable product. If you do not specify this attribute, Magento treats the product being added to the cart as a simple product `variant_sku` | String | Deprecated. Use `CartItemInput.sku` instead. The SKU of the simple product ### CustomizableOptionInput object {#customOptionInput} @@ -114,12 +114,9 @@ Attribute | Type | Description ### CartItemInput object {#cartItemInput} -The `CartItemInput` object contains the following attributes: +The `CartItemInput` object must contain the following attributes: -Attribute | Type | Description ---- | --- | --- -`quantity` | Float! | The number of items to add to the cart -`sku` | String! | The SKU of the simple product +{% include graphql/cart-item-input.md %} ## Output attributes diff --git a/guides/v2.3/graphql/mutations/add-simple-products.md b/guides/v2.3/graphql/mutations/add-simple-products.md index 379a7b1214e..d1769387e9f 100644 --- a/guides/v2.3/graphql/mutations/add-simple-products.md +++ b/guides/v2.3/graphql/mutations/add-simple-products.md @@ -164,7 +164,7 @@ Attribute | Data Type | Description The `CartItemInput` object must contain the following attributes: -{% include graphql/customizable-option-input.md %} +{% include graphql/cart-item-input.md %} ### CustomizableOptionInput object {#CustomizableOptionInputSimple}