Check whether a requested product quantity is allowed for a public variant befor...
https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/commerce/quantity-preflightOverview
Check whether a requested product quantity is allowed for a public variant before cart or checkout. Returns known minimum, maximum, increment, stock availability and blockers from public Shopify or WooCommerce data; unknown stock remains unknown and nothing is reserved or purchased. Base mainnet USDC
Protocol
x402 (POST)
Price
$0.0030
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
Forest Commerce
Source
bazaar
Indexed
2026-09-28 18:14:52
Health
Status
healthy
Latency (p50)
390ms
Uptime (30d)
100.0%
Reliability Score
95/100
Last Checked
2026-10-31 07:08:14
Last Healthy
2026-10-31 07:08:14
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
Valid
Asset Verified
Known USDC
Facilitator
—
Input Schema
{
"body": {
"quantity": 8,
"url": "https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/products/forest-demo-widget",
"variant_id": "424242"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"capability": "commerce.quantity-preflight",
"data": {
"allowed": false,
"available_quantity": 1,
"blockers": [],
"increment": 1,
"max": 1,
"min": 1,
"requested_quantity": 1,
"stock_known": false
},
"meta": {
"cache": "miss",
"checked_at": "2026-01-01T00:00:00.000Z",
"duration_ms": 0,
"provider": "shopify-ajax"
},
"ok": true,
"version": "1"
},
"type": "json"
}