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

Commit 9a3c64b

Browse files
committed
Minor edits to addRequisitionListItems
1 parent c38bf2f commit 9a3c64b

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/guides/v2.4/graphql/mutations/add-requisition-list-items-to-cart.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: addRequisitionListItemsToCart mutation
44
b2b_only: true
55
contributor_name: EY
66
---
7-
The `addRequisitionListItemsToCart` mutation adds requisition list items to the cart.
7+
The `addRequisitionListItemsToCart` mutation adds requisition list items to the cart. The requisition list does not change after adding items to the cart.
88

99
This mutation requires a valid [customer authentication token]({{page.baseurl}}/graphql/mutations/generate-customer-token.html).
1010

@@ -108,27 +108,29 @@ The `addRequisitionListItemsToCart` object returns the status, cart and errors o
108108

109109
Attribute | Data Type | Description
110110
--- | --- | ---
111-
`add_requisition_list_items_to_cart_user_errors` | [[AddRequisitionListItemToCartUserError!](#AddRequisitionListItemToCartUserError)] | Indicates why the attempt to add items to the requistion list was not successful
112-
`cart` | [Cart](#CartObject) | The cart after adding requisition list items.
111+
`add_requisition_list_items_to_cart_user_errors` | [[AddRequisitionListItemToCartUserError!](#AddRequisitionListItemToCartUserError)] | Indicates why the attempt to add items to the requisition list was not successful
112+
`cart` | [Cart](#CartObject) | The cart after adding requisition list items
113113
`status` | Boolean! | Indicates whether the attempt to add items to the requisition list was successful
114114

115115
### AddRequisitionListItemToCartUserError attributes {#AddRequisitionListItemToCartUserError}
116116

117-
The `AddRequisitionListItemToCartUserError` type contains the list of errors which indicates why the attempt to add items to the requistion list was not successful.
117+
The `AddRequisitionListItemToCartUserError` type contains the list of errors that describe why the attempt to add items to the requistion list was not successful.
118118

119119
Attribute | Data Type | Description
120120
--- | --- | ---
121121
`message` | String! | A description of the error
122-
`type` | [AddRequisitionListItemToCartUserErrorType!](#AddRequisitionListItemToCartUserErrorType) | The Error type
122+
`type` | [AddRequisitionListItemToCartUserErrorType!](#AddRequisitionListItemToCartUserErrorType) | The error type
123123

124124
### AddRequisitionListItemToCartUserErrorType {#AddRequisitionListItemToCartUserErrorType}
125125

126+
The AddRequisitionListItemToCartUserErrorType object can be one of the following values.
127+
126128
Type | Description
127129
--- | ---
128130
`LOW_QUANTITY` | The quantity of one of the items is low
129131
`OPTIONS_UPDATED` | The options have been updated
130132
`OUT_OF_STOCK` | One of the items is out of stock
131-
`UNAVAILABLE_SKU` | One of the items SKU is unavailable
133+
`UNAVAILABLE_SKU` | One of the items is unavailable
132134

133135
### Cart object {#CartObject}
134136

0 commit comments

Comments
 (0)