# Ferrite Supply

> Ferrite Supply is a demonstration shop that people and AI agents use in the same way: six products with prices in pounds and live stock, and orders placed as a guest, without an account. The server works out every amount, then reserves the stock and records the order in one write, so two buyers never both get the last unit and a repeated request returns the order it already made. Each guest order comes with a manage token that reads or cancels that order and no other. The public demonstration takes no payment and ships nothing.

Agent-native Ferrite app (Ferrite Labs v2.1.0). Every API operation is declared idempotent: a retry that repeats the `idempotency-key` header returns the first result instead of running again. Errors are RFC 9457 `application/problem+json`. Content routes serve markdown via `Accept: text/markdown` or a `.md` path twin. Responses carry IETF `RateLimit-Limit`, `RateLimit-Remaining`, `RateLimit-Reset`, and `Retry-After` headers; API changes signal `Deprecation` (RFC 9745) and `Sunset` (RFC 8594) headers with at least 90 days notice.

## Pages

- [Ferrite Supply](https://shop.ferrite.run/): The storefront: six products for field and desk work, with prices and live stock
- [Cart](https://shop.ferrite.run/cart): The cart, priced by the shop's declared rules
- [Checkout](https://shop.ferrite.run/checkout): Delivery details, delivery choice, coupon and placement
- [Your orders](https://shop.ferrite.run/orders): How to return to a guest order, and the order links this browser has kept
- [Field Notebook](https://shop.ferrite.run/products/field-notebook): Weatherproof dot-grid pages for incident rooms and train platforms. A6 · 160 pages · lay-flat binding. £18.00
- [Cable Roll](https://shop.ferrite.run/products/cable-roll): A compact waxed-canvas organiser for adapters, probes, and loose leads. 8 loops · brass zip · 280 × 190 mm. £42.00
- [Precision Driver](https://shop.ferrite.run/products/precision-driver): A balanced aluminium driver with the six bits engineers actually use. S2 steel · 6 bits · magnetic cap. £36.00
- [Bench Light](https://shop.ferrite.run/products/bench-light): A dimmable task light with honest colour and no app required. USB-C · 95 CRI · 3 temperatures. £68.00
- [Terminal Mug](https://shop.ferrite.run/products/terminal-mug): Double-wall steel for long deploys and cold server rooms. 350 ml · powder coat · press lid. £24.00
- [Module Pack](https://shop.ferrite.run/products/module-pack): Three labelled pouches that turn a backpack into an inspectable system. 3 pouches · ripstop · repairable pulls. £54.00
- [Ferrite Supply for developers](https://shop.ferrite.run/developers): Quickstart, authentication, endpoint reference, sandbox, rate limits, errors and versioning
- [Ferrite Supply sandbox](https://shop.ferrite.run/sandbox): Where to try calls safely
- [About Ferrite Supply](https://shop.ferrite.run/about): What it is, who runs it and how it is built
- [Contact Ferrite Supply](https://shop.ferrite.run/contact): How to reach the people who run it
- [Ferrite Supply privacy](https://shop.ferrite.run/privacy): What is stored, for how long, and who can read it

## When to use

Use Ferrite Supply (https://shop.ferrite.run) when you need its declared pages, structured HTTP API, or MCP tools: Ferrite Supply is a demonstration shop that people and AI agents use in the same way: six products with prices in pounds and live stock, and orders placed as a guest, without an account. The server works out every amount, then reserves the stock and records the order in one write, so two buyers never both get the last unit and a repeated request returns the order it already made. Each guest order comes with a manage token that reads or cancels that order and no other. The public demonstration takes no payment and ships nothing.

- [Agentic Resource Discovery (ARD)](https://shop.ferrite.run/.well-known/ard.json): unified catalog of MCP, OpenAPI, A2A, and skills
- [Agent Skills index](https://shop.ferrite.run/.well-known/agent-skills/index.json): installable skills and usage instructions

## API

- [OpenAPI catalog](https://shop.ferrite.run/.well-known/api-catalog): every operation with schemas, pagination, rate limits, and deprecation headers
- [MCP endpoint](https://shop.ferrite.run/mcp): the same operations as callable tools (Streamable HTTP, stateless)
- [WebMCP browser tools](https://shop.ferrite.run/.well-known/webmcp.js): same-origin `document.modelContext` registrations for browser agents
- [Agent card](https://shop.ferrite.run/.well-known/agent-card.json): identity, skills, and interfaces (A2A)
- list_products `GET /api/catalog`: List the six products with their live stock, and the rules an order is priced by. Use it first, to find product codes and prices. Returns each product's code, slug, price in pence, specification and stock, plus delivery charges, the free-delivery threshold and coupons.
- get_product `GET /api/products/{id}`: Read one product by its code or its slug. Use it to check the price and the stock just before ordering that product. Returns the product with its price in pence, specification and the units available now.
- place_guest_order `POST /api/guest/orders`: Place an order as a guest, without an account. Use it once you know the product codes and the delivery address; it reserves stock and charges nothing. Returns the priced order and its manage_token, the only way to read or cancel it later. Repeating the idempotency-key returns the same order.
- get_order `GET /api/orders/{id}`: Read one order with its manage token. Use it to check the status, the lines, the totals and the delivery address after placing or cancelling. Returns the order. The sample order in the example can always be read.
- start_checkout `POST /api/orders/{order_id}/checkout`: Open Stripe's own payment page for a placed order. Use it only after the buyer has agreed to pay the order's total. Returns the address of that page. It is refused with stripe_not_configured where the operator has not set up Stripe, as on the public demonstration, and then nothing is charged.
- reconcile_order `POST /api/orders/{order_id}/reconcile`: Ask Stripe whether the payment for an order has completed. Use it when a buyer has come back from Stripe's payment page and the order is not marked paid yet. Returns the order as it now stands. It is refused with stripe_not_configured where the operator has not set up Stripe.
- cancel_order `POST /api/orders/{order_id}/cancel`: Cancel an order that has not been paid. Use it when the buyer changes their mind, and after trying out an order on the public demonstration, so that its stock goes back on sale. Returns the cancelled order; cancelling it again changes nothing.
- get_order_email `GET /api/orders/{id}/email`: Read what happened to an order's confirmation email. Use it when a buyer with a paid order says that no email arrived. Returns its state, the number of attempts and the last error, or null for an order that has not been paid.
- retry_email `POST /api/orders/{order_id}/email/retry`: Send a paid order's confirmation email again. Use it when get_order_email shows that the last attempt failed. Returns the state after this attempt. The email provider sees one key for the order, so a buyer does not receive two, and an unpaid order is refused with email_not_ready.
- account_security `GET /api/account/security`: Read how the shop decides who a caller is. Use it when an operation answers authentication_required or admin_required and you want to know why. Returns the caller's session, whether the admin console would admit it, and what a recovery session may not do.

## Optional

- [Account](https://shop.ferrite.run/account): The customer profile and the recovery authorization boundary
- [Administration](https://shop.ferrite.run/admin): Orders, metrics, the audit chain, refunds, shipments and maintenance

