webaz_verify_price
Lock the displayed price BEFORE webaz_place_order — returns session_token (10-min TTL, single-use, pass to place_order). Price-lock ONLY: it checks stock is sufficient right now but does NOT reserve/hold stock — stock is decremented only when webaz_place_order runs.
USE THIS for EVERY purchase: (1) defeats flash-sale / hidden-fee race (2) alerts if price drifted (3) protocol only liable for T0 price (4) fails fast if the item is already out of stock.
Skipping is allowed but the agent then carries price-drift risk itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Buyer's api_key (or omit and set the WEBAZ_API_KEY env var) | |
| offer_id | No | RFC-032: check the seller's negotiated price for your human instead of the listing price. Answers price_basis:"offer" and session_token:null, consumes nothing, and expires when the OFFER does — pass this same offer_id (never the null) to place_order. See its offer_id for the full rule. | |
| quantity | No | Quantity, default 1 | |
| product_id | Yes | Product ID (from webaz_search) |