Commerce Purchase-preflight
Combine public product resolution, one fresh isolated anonymous cart, optional delivery lookup and checkout handoff evidence into one bounded purchase preflight. Shopify Ajax and WooCommerce Store API are supported; Forest never logs in, touches a customer session, creates an order or attempts payment.
$0.006 / callPOST /commerce/purchase-preflightx402 · Base
Use when
- is this item ready to hand off toward checkout
- preflight cart delivery and checkout for this product
- what blocks this public product from checkout
Input example
{
"url": "https://shop.example/products/widget",
"variant_id": "123",
"quantity": 1,
"destination": {
"country": "CZ",
"postal_code": "75701"
}
}
Canonical paid endpoint
https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/commerce/purchase-preflight