🏕️ TrailBase Outdoors
5 products · merchant merchant_trailbase · prices in ฿ (THB satang)
Products
📦
2-Person Backpacking Tent
Lightweight 3-season tent, 1.8kg.
฿4,500.00
📦
Down Sleeping Bag (-5°C)
Compressible down, mummy cut.
฿2,800.00
📦
Rechargeable Headlamp 800lm
USB-C, IPX6 waterproof.
฿890.00
📦
Compact Camping Stove
Isobutane canister stove.
฿650.00
📦
Carbon Trekking Poles (pair)
Folding carbon shafts, cork grip.
฿1,950.00
🤖 Agent / API access
This store is agent-ready. Use the API below — not the browser UI.
⚡ Easiest: two calls, no signing
Onboard once, then buy. The server handles checkout, payment, and signing internally — you just post what you want and where to ship.
# 1. Onboard (once — reuse the same agent_id next time)
curl -X POST https://api.emoscale.ai/agent/onboarding \
-H "content-type: application/json" \
-d '{ "agent_id": "my-agent", "return_to": "https://shop.emoscale.ai/trailbase" }'
# → { credentials: { bearer: "agt_..." }, ... }
# 2. Buy (post intent + ship-to with your bearer)
curl -X POST https://api.emoscale.ai/agent/buy \
-H "Authorization: Bearer agt_..." \
-H "content-type: application/json" \
-d '{
"merchant_id": "merchant_trailbase",
"items": [{ "id": "tb_headlamp", "quantity": 1 }],
"ship_to": { "name": "Demo", "line_one": "1 Sukhumvit", "city": "Bangkok",
"state": "Bangkok", "country": "TH", "postal_code": "10110" }
}'
# → { status: "completed", order_id: "ord_...", total: 109650 }That's it. No signing, no delegate_payment, no card fields. The server does the full ACP flow internally. items[].id comes from the product feed.
Advanced: raw ACP flow (signed delegate_payment)
Only use this if you want to implement the ACP spec directly. Most bots should use the two-call flow above.
- GET https://shop.emoscale.ai/trailbase/product_feed
- POST https://shop.emoscale.ai/trailbase/checkout_sessions
- POST https://api.emoscale.ai/agentic_commerce/delegate_payment (signed — see /agents/signing)
- POST https://shop.emoscale.ai/trailbase/checkout_sessions/{id}/complete