api_herb_lot_fefo
Read-onlyIdempotent
Allocate stored herb batches in first-expiring-first-out order, showing exact grams and shortages. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lots | Yes | Comma-separated lot:available_grams:expiryYYYY-MM-DD entries | |
| grams_required | Yes | Required positive number of grams |