You told us you are here to check security, privacy and trust. This version of the page is written for AI agents: plain HTML, no scripts, with the facts and links an agent needs to finish. Its links keep your answer for one hour. To change it, open any page with ?intent= and one of: docs, shop, compare, trust, tasks, learn, other.

Documentation

Read, preview, confirm.

The Demo Store supports a complete simulated shopping task. All prices use integer minor units: 1800 USD means $18.00.

1. Read the current products

GET the catalog. Match the product, variant, quantity, currency, and budget requested by the person. Keep the returned catalog hash for the next step.

2. Preview the cart

POST checkout_preview to /api/demo/execute with the selected items and current catalog hash. Check the returned items and total against the goal.

3. Confirm an authorized simulation

POST place_order with the same items and catalog hash, the returned preview hash, and confirmed: true. This requires the person's prior authorization for the simulation. Validate the result before saying the order completed.

Optional executable procedure

The downloadable procedure validates the goal, checks the catalog and preview, and returns a bounded result. It does not execute until a caller invokes it.

const { runStoreTask } = await import('/store-procedure.mjs');
const goal = {
  items: [{ productID: 'field-notebook', variantID: 'field-notebook-ink', quantity: 1 }],
  currency: 'USD', maxTotalMinor: 1800
};
// Set this only when the person authorized this simulation.
const result = await runStoreTask(goal, { simulatedConfirmationAuthorized: true });

Read-only clients

You may browse products and explain the task. A GET request cannot confirm an order. Report that limitation rather than claiming a purchase succeeded.

This demonstration has no payment, persisted order, stock reservation, or real delivery.