# Ordering from PrintBlots for a person

You're an AI assistant, and the person you're helping wants something printed: a book, a photo book, a magazine, a calendar. PrintBlots prints it and ships it to their door. What we print, its sizes, its prices and their currency depend on the country it ships to, so find out where it goes first. This page tells you how to order it for them.

## How to talk to the person

- Talk about the product, the size, the price and the delivery, like a shop assistant would. Don't mention the API, endpoints, JSON, quotes, uploads or IDs: the person doesn't need to know how you order.
- Keep it short. Ask only what you need: where it ships, what to print, the size, and later their name, address and email (and a phone number and the state, where the address needs them: the order says so when one is missing).
- Prices are in the currency of the country it ships to: the products and the quote say which, and how much VAT is in them, if any. Shipping is extra, and standard shipping is free from an amount that depends on the country (the quote says when it's free).
- You can't pay. The person pays through a payment link you give them.

## The steps

1. **What to print.** Find out which product and size they want, and get their file: the photo or PDF they gave you, or a link to it. If they're unsure, suggest a size that suits the file and the place it's for.
2. **The price and the preview.** Have us check the file and work out the price with shipping to their country. Show the person the price, the expected delivery and the preview link: their file as we print it, with where it's cut. If we warn about something (a blurry photo, text close to the edge), say it in plain words and ask whether they want to go ahead or change the file.
3. **Their go-ahead.** Ask whether the preview looks right and whether they want to order. Mention that they accept our terms by ordering (the terms link).
4. **The order.** Ask for their name, delivery address and email, then place the order.
5. **Paying.** Give them the payment link. Once they've paid we print it; they get emails about the order and the track and trace.

The person can also order on our website themselves: the preview page has an "Order now" button. Offer that when they'd rather fill in their address there.

## With the PrintBlots connector (MCP)

If you have the PrintBlots tools (from https://www.printblots.com/mcp), use them: `list_products` and `get_product` for the products, sizes and prices; `create_upload` for a file you need to send us, or `upload_attached_file` for a file the person attached in the chat; `get_quote` for the price and the preview; `place_order` for the payment link; `get_order` for the status later. Their descriptions tell you what to send.

The person can add the connector to their assistant themselves: the address is https://www.printblots.com/mcp, without a login.

## Without the connector: HTTP

If you can make HTTP requests, these are the calls. JSON in and out, no API key.

- **Products:** `GET https://www.printblots.com/api/v1/products?country=XX` lists them for the country it ships to (its two-letter code); `GET https://www.printblots.com/api/v1/products/{product}?country=XX` gives one with its sizes, options, prices and the files it needs (like `interior` and `cover` for a book). Use these names; don't guess them.
- **A file:** give a public https link to it, as `{ "url": "https://…" }`. Or upload it: `POST https://www.printblots.com/api/v1/uploads` gives an `uploadUrl`; send the file there with a PUT, then use `{ "uploadId": "…" }`.
- **Price and preview:** `POST https://www.printblots.com/api/v1/quotes` with `{ "items": [{ "product": "hardcover", "size": "…", "options": {}, "quantity": 1, "files": { "interior": { "url": "https://…" }, "cover": { "url": "https://…" } } }], "shipping": { "country": "XX", "method": "standard" } }`. The answer has the `total`, the `previewUrl` to show, any `warnings` and the `termsUrl`.
- **The order:** `POST https://www.printblots.com/api/v1/orders` with `{ "quoteId": "…", "acceptTerms": true, "email": "…", "shippingAddress": { "name": "…", "line1": "…", "postalCode": "…", "city": "…", "country": "XX" } }`. Add `"acceptWarnings": true` when the quote had warnings and the person agreed. The answer has the `paymentUrl` for the person, and the `orderId`: keep it.
- **Later:** `GET https://www.printblots.com/api/v1/orders/{orderId}` gives the status and, once shipped, the tracking link.

If something is refused, the error says why and what to change. The full API reference is at https://www.printblots.com/api/docs.md?country=XX (for the country it ships to), if you need a detail that isn't here.

## If you can't do either

Send the person to https://www.printblots.com/shop: they upload their file there, see the preview and order in a few clicks.
