@plentymarkets/shop-api / setCartItemQuantity
Function: setCartItemQuantity() ​
Method setCartItemQuantity - Changes the quantity of a cart item
Parameters ​
• context: PlentysystemsIntegrationContext
• params: SetCartItemQuantityParams
Returns ​
Remarks ​
- Calls /rest/storefront/cart/items/$
- This method is used to change the quantity of a cart item
Example ​
ts
const { data } = await useSdk().plentysystems.setCartItemQuantity({
cartItemId: 6683,
productId: 1100,
quantity: 5
});