Can this supplier fill it
supply_availabilityWhether one offer can fill a quantity: verdict can_fill | split | out_now | unknown, with what is on hand, what is inbound, and as_of + basis. Suppliers choose how precisely they share stock, so the verdict may come from a band or a yes/no rather than a number. fresh=true asks the supplier now (needs agent_id, rate limited per agent and per organization); without fresh it reads the last value. Call this before order_execute on any connector offer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | Ask the supplier now rather than reading the last value. Needs agent_id, and is rate limited per agent and per organization | |
| quote | No | Also return the supplier's exact total with tax for this quantity, computed without saving anything. Needs agent_id and an account with the supplier | |
| agent_id | No | Agent id. Required for fresh, and it is what reveals your negotiated prices | |
| quantity | No | Quantity to fill (default 1) | |
| supply_id | Yes | Offer supply id from supply_search / supply_details | |
| session_token | No | Session token from agent_authenticate — required whenever agent_id is passed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| kind | No | ||
| next | No | ||
| unit | No | ||
| as_of | No | ||
| basis | No | ||
| error | No | ||
| quote | No | ||
| stock | No | ||
| detail | No | ||
| verdict | No | ||
| incoming | No | ||
| quantity | No | ||
| freshness | No | ||
| locations | No | ||
| supply_id | No | ||
| link_state | No | ||
| quote_error | No | ||
| fresh_refused | No | ||
| could_not_reach | No |