Skip to content

Commit c351666

Browse files
create known issue: [en] 1316990
1 parent 77a4570 commit c351666

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
title: 'Checkout allows adding SKU quantities above available stock when external seller simulation returns 0 as quantity'
3+
slug: checkout-allows-adding-sku-quantities-above-available-stock-when-external-seller-simulation-returns-0-as-quantity
4+
status: PUBLISHED
5+
createdAt: 2025-10-31T18:42:22.237Z
6+
updatedAt: 2025-10-31T18:42:22.237Z
7+
contentType: knownIssue
8+
productTeam: Checkout
9+
author: 2mXZkbi0oi061KicTExNjo
10+
tag: Checkout
11+
slugEN: checkout-allows-adding-sku-quantities-above-available-stock-when-external-seller-simulation-returns-0-as-quantity
12+
locale: en
13+
kiStatus: Backlog
14+
internalReference: 1316990
15+
---
16+
17+
## Summary
18+
19+
20+
When an external seller returns quantity 0 in the simulation payload, the checkout system proceeds as if any requested quantity is available. The visible symptom is that carts and simulations accept quantities greater than the SKU’s real stock (e.g., adding 20 or 30 units when only 4 are available).
21+
22+
This affects marketplace scenarios with external sellers whose simulation endpoint responds with 0 instead of the requested quantity or the stock-capped quantity.
23+
24+
However, if the stock balance and quantity are sent as 0, our API returns `withoutStock`.
25+
26+
27+
#### Simulation
28+
29+
30+
31+
- Prerequisites: An account integrated with an external seller whose simulation endpoint consistently returns 0 for the quantity field, regardless of the requested quantity or stock.
32+
- Call the Checkout simulation API with an item from the external seller, requesting a quantity higher than the seller’s real stock. Note that the simulation accepts the requested quantity instead of capping at the stock level.
33+
34+
35+
36+
#### Workaround
37+
38+
39+
Ask the external seller to adjust their simulation response. The seller must return the exact quantity requested only when it is equal to or lower than the product’s current stock.
40+
41+
42+

0 commit comments

Comments
 (0)