addItemsToCart
Creates a new cart or adds items to an existing active cart
This page contains
Arguments
| input AddItemsInput! |
AddItemsInput fields
| items [CarItemInput!]! | List of items to be added to the cart |
| userId ID! | Unique identifier of the user |
| accountId ID! | Unique identifier of the account (company) |
| isPreviewCheckout Boolean | Indicates if the cart is in checkout preview mode |
Return Fields
| cart Cart |
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.