Walkthrough, by the Siml team
$42.00 of dog food, ordered in 1.05 seconds.
Our team placed it on Nov 19, 2026 at 1:37 AM UTC, sending the three calls back to back. The total includes the gaps between calls.
- 01Find the offer350 ms
- 02Hold the price254 ms
- 03Place the order443 ms
Elapsed1,049 ms
Find me grain-free dry dog food, 5kg, under $50
Found one: $42.00, delivery included.
What a shopper might type to their AI. The agent sends the sentence to Siml as written, limit and all.
Setup
SIML=https://app.siml.sh /api /v1
SIML_TEST_KEY=$(curl -s -X POST $SIML/playground/key | jq -r .apiKey)Needs curl and jq.
01 Find the offer
Search finds the offer that fits: a 5kg bag for $42.00.
The shopper’s sentence goes in as written, and “under $50” is read as a limit. The offer that fits comes back for the agent to show: grain-free chicken from Northline, delivery included.
Requestcurl -X POST $SIML/search \ -H "Authorization: Bearer $SIML_TEST_KEY" \ -H "Content-Type: application/json" \ -d '{ "query": "Find me grain-free dry dog food, 5kg, under $50" }'OfferGrain-Free Chicken, Dry Dog Food
- Total
- $42.00, delivery included
- Delivery
- Ships in 2 days
Offer from Northline
Store and product names are changed. 200, 350 ms{ "title": "Northline Grain-Free Chicken, Dry Dog Food, 5kg", "priceUsd": 42, "shippingUsd": 0, "landedUsd": 42}Shortened: other fields are left out.
02 Hold the price
The price is held at $42.00 for checkout.
The agent sends the ask again, shortened, with the limit as a number. Siml returns the same offer and holds its $42.00 price for checkout, with a token.
RequestCHK=$(curl -s -X POST $SIML/procure \ -H "Authorization: Bearer $SIML_TEST_KEY" \ -H "Content-Type: application/json" \ -d '{ "query": "Grain-free dry dog food, 5kg", "maxPriceUsd": 50 }' | jq -r .checkoutToken)Price heldHeldGrain-Free Chicken, Dry Dog Food
- Total
- $42.00, delivery included
- Delivery
- Ships in 2 days
Checkout token chk_…
200, 254 ms{ "title": "Northline Grain-Free Chicken, Dry Dog Food, 5kg", "totalUsd": 42, "shipEtaDays": 2}Shortened: other fields are left out, the checkout token among them.
03 Place the order
The order is placed and the shopper gets a receipt.
The agent sends the token and a delivery address. Northline gets the order, and the receipt comes back to show the shopper.
Requestcurl -X POST $SIML/checkout \ -H "Authorization: Bearer $SIML_TEST_KEY" \ -H "Content-Type: application/json" \ --data "{ \"checkoutToken\": \"$CHK\", \"buyerRef\": \"playground-visitor\", \"shippingAddress\": \"1 Test Street, Testville, CA 94000\" }"Double quotes let $CHK expand, so the quotes inside are escaped.
ReceiptOrderedGrain-Free Chicken, Dry Dog Food
- Total
- $42.00, delivery included
- Delivery
- Ships in 2 days
- Ships to
- 1 Test Street, Testville, CA 94000
Order ord_mwmvr5dyr4wzh
200, 443 ms{ "ok": true, "receipt": { "orderId": "ord_mwmvr5dyr4wzh", "title": "Northline Grain-Free Chicken, Dry Dog Food, 5kg", "quantity": 1, "totalUsd": 42, "shippingAddress": "1 Test Street, Testville, CA 94000", "placedAt": "2026-11-19T01:37:15.590Z" }}Shortened: other fields are left out.
Your own first order runs on these same calls, with a key from your dashboard.
Read the quickstart