Commerce Quantity-preflight
Check a requested quantity against public variant constraints and known availability. Unknown stock remains unknown; this capability never reserves or purchases inventory.
$0.003 / callPOST /commerce/quantity-preflightx402 · Base
Use when
- is this quantity allowed
- what quantity can I order
- check product quantity limits
Input example
{
"url": "https://shop.example/products/widget",
"variant_id": "123",
"quantity": 8
}
Canonical paid endpoint
https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/commerce/quantity-preflight