CartClient#addManyItemsToCart(cartId, addItemRequests, options);
The following operations allow you to perform bulk operations on customer carts.
Parameter | Type | Required? | Description |
---|---|---|---|
|
|
✅ |
The id of the cart. |
|
✅ |
A list of item requests to add to the cart. |
|
|
❌ |
Options passed to the HTTP request call to customize the request configuration. |
This function returns a Cart.
Parameter | Type | Required? | Description |
---|---|---|---|
|
|
✅ |
The id of the cart. |
|
|
✅ |
The list of the cart item ids to remove. |
|
❌ |
Options passed to the HTTP request call to customize the request configuration. |
This function returns a Cart.
Parameter | Type | Required? | Description |
---|---|---|---|
|
|
✅ |
The id of the cart. |
|
|
✅ |
A list of item list ids to add to the cart. |
|
❌ |
Options passed to the HTTP request call to customize the request configuration. |
This function returns a Cart.