magento / magento/community-features
Magento 2 does not have a api call to add multiple product cart in a single call
Open
Nobody has claimed this yet.
API
devguild
moved from magento2
Priority: P2
- Dominant language
- No language data
- Stars
- 46
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Preconditions
- use api call guest-carts/27f7f91cf4344bb9bda7d30b076216f3/items
Steps to reproduce
- use api call guest-carts/27f7f91cf4344bb9bda7d30b076216f3/items
- post data sku qty
Expected result
- There should be a way to add multiple product to cartt, why this functionality is not provided.
Actual result
- Can only add 1 product in 1 call to cart
Original Report: https://github.com/magento/magento2/issues/8501 by @umang-ranium
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the guest-carts/{cartId}/items endpoint and its current request format. Define the intended batch behavior and identify the relevant API entry points and tests; done means one call can add multiple products while preserving the existing cart behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100