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

Commit 5721640

Browse files
committed
revert changes made in wrong file
1 parent f9a3a5a commit 5721640

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

src/guides/v2.3/graphql/mutations/update-cart-items.md

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -91,42 +91,31 @@ mutation {
9191

9292
The `UpdateCartItemsInput` object is listed first. All child objects are listed in alphabetical order.
9393

94-
### UpdateCartItemsInput attributes {#UpdateCartItemsInput}
94+
### UpdateCartItemsInput object {#UpdateCartItemsInput}
9595

96-
The `UpdateCartItemsInput` object must contain the following attributes.
96+
The `UpdateCartItemsInput` object must contain the following attributes:
9797

9898
Attribute | Data Type | Description
9999
--- | --- | ---
100100
`cart_id` | String! | The unique ID that identifies the customer's cart
101101
`cart_items` | [CartItemUpdateInput!](#CartItemUpdateInput) | Contains the cart item IDs and quantity of each item
102102

103-
### CartItemUpdateInput attributes {#CartItemUpdateInput}
103+
### CartItemUpdateInput object {#CartItemUpdateInput}
104104

105-
The `CartItemUpdateInput` object must contain the following attributes.
105+
The `CartItemUpdateInput` object must contain the following attributes:
106106

107107
Attribute | Data Type | Description
108108
--- | --- | ---
109109
`cart_item_id` | Int! | The unique ID assigned when a customer places an item in the cart
110110
`customizable_options` | [CustomizableOptionInput!] | An array that defines customizable options for the product
111-
`gift_message` | [GiftMessageInput](#GiftMessageInput) | Gift message details for the cart item
112111
`quantity` | Float | The new quantity of the item. A value of `0` removes the item from the cart
113112

114-
### CustomizableOptionInput attributes {#CustomizableOptionInputSimple}
113+
### CustomizableOptionInput object {#CustomizableOptionInputSimple}
115114

116-
The `CustomizableOptionInput` object must contain the following attributes.
115+
The `CustomizableOptionInput` object must contain the following attributes:
117116

118117
{% include graphql/customizable-option-input.md %}
119118

120-
### GiftMessageInput attributes {#GiftMessageInput}
121-
122-
The `GiftMessageInput` object must contain the following attributes.
123-
124-
Attribute | Data Type | Description
125-
--- | --- | ---
126-
`from` | String! | The name of the gift sender
127-
`message` | String! | The text of the gift message
128-
`to` | String! | The name of the gift recipient
129-
130119
## Output attributes
131120

132121
The `UpdateCartItemsOutput` object contains the `Cart` object.

src/guides/v2.4/graphql/mutations/update-cart-items.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,32 +89,43 @@ mutation {
8989

9090
The `UpdateCartItemsInput` object is listed first. All child objects are listed in alphabetical order.
9191

92-
### UpdateCartItemsInput object {#UpdateCartItemsInput}
92+
### UpdateCartItemsInput attributes {#UpdateCartItemsInput}
9393

94-
The `UpdateCartItemsInput` object must contain the following attributes:
94+
The `UpdateCartItemsInput` object must contain the following attributes.
9595

9696
Attribute | Data Type | Description
9797
--- | --- | ---
9898
`cart_id` | String! | The unique ID that identifies the customer's cart
9999
`cart_items` | [CartItemUpdateInput!](#CartItemUpdateInput) | Contains the cart item IDs and quantity of each item
100100

101-
### CartItemUpdateInput object {#CartItemUpdateInput}
101+
### CartItemUpdateInput attributes {#CartItemUpdateInput}
102102

103-
The `CartItemUpdateInput` object may contain the following attributes:
103+
The `CartItemUpdateInput` object may contain the following attributes.
104104

105105
Attribute | Data Type | Description
106106
--- | --- | ---
107107
`cart_item_id` | Int! | The unique ID assigned when a customer places an item in the cart
108108
`customizable_options` | [CustomizableOptionInput!] | An array that defines customizable options for the product
109+
`gift_message` | [GiftMessageInput](#GiftMessageInput) | Gift message details for the cart item
109110
`gift_wrapping_id` | ID | The unique identifier of the gift wrapping to be used for the cart item
110111
`quantity` | Float | The new quantity of the item. A value of `0` removes the item from the cart
111112

112-
### CustomizableOptionInput object {#CustomizableOptionInputSimple}
113+
### CustomizableOptionInput attributes {#CustomizableOptionInputSimple}
113114

114-
The `CustomizableOptionInput` object must contain the following attributes:
115+
The `CustomizableOptionInput` object must contain the following attributes.
115116

116117
{% include graphql/customizable-option-input.md %}
117118

119+
### GiftMessageInput attributes {#GiftMessageInput}
120+
121+
The `GiftMessageInput` object must contain the following attributes.
122+
123+
Attribute | Data Type | Description
124+
--- | --- | ---
125+
`from` | String! | The name of the gift sender
126+
`message` | String! | The text of the gift message
127+
`to` | String! | The name of the gift recipient
128+
118129
## Output attributes
119130

120131
The `UpdateCartItemsOutput` object contains the `Cart` object.

0 commit comments

Comments
 (0)