> Documentation index: https://docs.bannerandbooth.com/llms.txt · MCP: https://mcp.bannerandbooth.com/mcp · Search: https://docs.bannerandbooth.com/search?q=

# Quickstart

Source: https://docs.bannerandbooth.com/quickstart

This page takes one test order from creation to delivery three ways: through MCP tools, through the `bannerbooth` CLI, and through raw HTTP. Pick the one that matches how your agent works. All three hit the same backend and produce the same order object.

The example order is one `BB-KIT-1010A` (10×10 booth kit: 10 ft backdrop, podium case, 6 ft throw and retractable banner, $1,196.99 on 2026-11-30) for CES 2027 at the Las Vegas Convention Center. At $500+ the `BOOTH5` code applies automatically, so the total before tax is $1,137.14.

> **Note:** Everything here runs in test mode (`"test": true`). Test orders support every endpoint, never touch Shopify, never charge, print or ship, and never notify a human. See [Test mode](https://docs.bannerandbooth.com/guides/test-mode).

## Before you start

You need one of:

- An MCP client connected to `https://mcp.bannerandbooth.com/mcp` (see [Connect your agent](https://docs.bannerandbooth.com/connect)).
- Node 18 or newer for the CLI.
- `curl` and `jq` for raw HTTP. Python 3.9+ with `requests`, or Node 18+, for the code tabs.

You also need an artwork file. This makes a small vector backdrop at the kit's art size (116 × 95.5 in including bleed):

```bash
cat > backdrop.svg <<'EOF'
<svg xmlns="http://www.w3.org/2000/svg" width="116in" height="95.5in" viewBox="0 0 1160 955">
  <rect width="1160" height="955" fill="#12355b"/>
  <circle cx="580" cy="380" r="160" fill="#f2a900"/>
</svg>
EOF
```

## Option 1: MCP tools

If your agent is connected to the MCP server, you can ask in plain language:

```text
Using the Banner & Booth tools, create a TEST order for one BB-KIT-1010A for CES 2027
(2027-01-06, LVCC, booth N1234), email buyer@example.com. Upload ./backdrop.svg as the
artwork, simulate a proof, show me the proof, then simulate payment through delivery.
```

The agent makes these tool calls. Each order tool takes `order_id` and `order_key` because MCP has no per-order auth header.

1. `check_venue_and_cutoff` to confirm the deadline:

```json
{ "venue_or_city": "LVCC", "show_date": "2027-01-06", "sku": "BB-KIT-1010A" }
```

2. `create_order`:

```json
{
  "items": [{ "sku": "BB-KIT-1010A", "quantity": 1 }],
  "email": "buyer@example.com",
  "show": { "name": "CES 2027", "date": "2027-01-06", "venue": "LVCC", "booth_number": "N1234" },
  "source": "claude-code",
  "test": true,
  "idempotency_key": "quickstart-mcp-0001"
}
```

The result is the [order object](https://docs.bannerandbooth.com/reference/order-object) plus `order_key` (shown once). The `idempotency_key` makes a retried call return the same order instead of creating a second one. The agent must keep both `id` and `order_key` for every later call.

3. `add_artwork`. MCP can't carry a local file, so with just a `sku` and `filename` the tool returns `one_step_curl` (a `curl` command with the order key filled in) and `cli` (the matching CLI command). The agent runs one of them in its shell, from the folder that holds the file:

```json
{
  "order_id": "bbo_test_8k2m4q7xvd",
  "order_key": "bbk_test_5f1c9a7e3b2d8f604c1e9a7b3d5f2c8e",
  "sku": "BB-KIT-1010A",
  "filename": "backdrop.svg"
}
```

If the file is already online, pass `"url": "https://..."` and nothing needs uploading. For a file over 100 MB, also pass `size` and `content_type` to get a signed upload URL instead (see [Artwork](https://docs.bannerandbooth.com/guides/artwork#two-step-upload)).

4. `simulate_order_event` with `"event": "proof_ready"`, then `list_proofs`. Show the proof `url` to the buyer. After they say yes, call `approve_proof`. `proof_id` can be a real id or `latest` for the newest proof:

```json
{
  "order_id": "bbo_test_8k2m4q7xvd",
  "order_key": "bbk_test_5f1c9a7e3b2d8f604c1e9a7b3d5f2c8e",
  "proof_id": "latest",
  "approved_by": "Jane Buyer"
}
```

5. `simulate_order_event` with `paid`, `in_production`, `shipped`, then `delivered`, checking `get_order` between steps.

The exact argument schemas are in the [MCP reference](https://docs.bannerandbooth.com/reference/mcp). Your client's `tools/list` is always the source of truth.

## Option 2: CLI

Install the CLI globally, or run each example with `npx -y bannerbooth@latest` instead of `bannerbooth`.

```bash
npm install -g bannerbooth@latest
bannerbooth --version
```

Create the order. The CLI saves the key to `~/.bannerbooth/orders.json` and prints the order id and `BB_ORDER_KEY`, so later commands find the key on their own.

```bash
bannerbooth order create BB-KIT-1010A:1 --email buyer@example.com \
  --show-name "CES 2027" --show-date 2027-01-06 --venue LVCC --booth N1234 --test
```

In the commands below, replace `bbo_test_8k2m4q7xvd` with the order id that `order create` printed.

Upload the artwork. The CLI runs the same local preflight as `bannerbooth preflight` first, then uploads the file with its measurements.

```bash
bannerbooth order upload bbo_test_8k2m4q7xvd ./backdrop.svg --sku BB-KIT-1010A
```

Simulate a proof, look at it, approve it:

```bash
bannerbooth order simulate bbo_test_8k2m4q7xvd proof_ready
bannerbooth order proofs bbo_test_8k2m4q7xvd
bannerbooth order approve bbo_test_8k2m4q7xvd
```

`order approve` without a proof id approves the newest pending proof (proof id `latest` in the API). Pass an id to approve a specific one, and `--by "Jane Buyer"` to record who approved.

Simulate payment and follow the order to delivery:

```bash
bannerbooth order simulate bbo_test_8k2m4q7xvd paid
bannerbooth order simulate bbo_test_8k2m4q7xvd in_production
bannerbooth order simulate bbo_test_8k2m4q7xvd shipped
bannerbooth order status bbo_test_8k2m4q7xvd --json
```

Every command takes `--json`. See the [CLI reference](https://docs.bannerandbooth.com/reference/cli).

## Option 3: HTTP

### 1. Create the order

Send an `Idempotency-Key` so a retry after a timeout returns the same order instead of creating a second one.

```bash curl
curl -s https://api.bannerandbooth.com/v1/orders \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: quickstart-0001" \
  -d '{
    "items": [{ "sku": "BB-KIT-1010A", "quantity": 1 }],
    "email": "buyer@example.com",
    "show": { "name": "CES 2027", "date": "2027-01-06", "venue": "LVCC", "booth_number": "N1234" },
    "source": "quickstart",
    "test": true
  }' > order.json

export BB_ORDER_ID=$(jq -r .id order.json)
export BB_ORDER_KEY=$(jq -r .order_key order.json)
jq '{id, status, subtotal, discount, total, next: [.next_actions[].action]}' order.json
```

```python Python
import os, requests

API = "https://api.bannerandbooth.com"

resp = requests.post(
    f"{API}/v1/orders",
    headers={"Idempotency-Key": "quickstart-0001"},
    json={
        "items": [{"sku": "BB-KIT-1010A", "quantity": 1}],
        "email": "buyer@example.com",
        "show": {"name": "CES 2027", "date": "2027-01-06", "venue": "LVCC", "booth_number": "N1234"},
        "source": "quickstart",
        "test": True,
    },
    timeout=30,
)
resp.raise_for_status()
order = resp.json()
print(order["id"], order["status"], order["total"])
print("export BB_ORDER_ID=" + order["id"])
print("export BB_ORDER_KEY=" + order["order_key"])  # shown once: store it now
```

```javascript Node
const API = "https://api.bannerandbooth.com";

const resp = await fetch(`${API}/v1/orders`, {
  method: "POST",
  headers: { "Content-Type": "application/json", "Idempotency-Key": "quickstart-0001" },
  body: JSON.stringify({
    items: [{ sku: "BB-KIT-1010A", quantity: 1 }],
    email: "buyer@example.com",
    show: { name: "CES 2027", date: "2027-01-06", venue: "LVCC", booth_number: "N1234" },
    source: "quickstart",
    test: true,
  }),
});
if (!resp.ok) throw new Error(JSON.stringify(await resp.json()));
const order = await resp.json();
console.log(order.id, order.status, order.total);
console.log(`export BB_ORDER_ID=${order.id}`);
console.log(`export BB_ORDER_KEY=${order.order_key}`); // shown once: store it now
```

```json Response
{
  "id": "bbo_test_8k2m4q7xvd",
  "status": "awaiting_payment",
  "subtotal": 1196.99,
  "discount": { "code": "BOOTH5", "amount": 59.85 },
  "total": 1137.14,
  "next": ["pay", "upload_artwork"]
}
```

Save the Node example as `create.mjs` and run `node create.mjs` (top-level `await` needs an ES module). Run the `export` lines it prints so the next steps can read the id and key.

### 2. Upload the artwork

`PUT` the raw file. Up to 100 MB this way; see [Artwork](https://docs.bannerandbooth.com/guides/artwork) for larger files and links.

```bash curl
curl -s -T backdrop.svg \
  -H "Authorization: Bearer $BB_ORDER_KEY" \
  "https://api.bannerandbooth.com/v1/orders/$BB_ORDER_ID/artwork?sku=BB-KIT-1010A&filename=backdrop.svg" \
  | jq '{file: .artwork.filename, preflight: .artwork.preflight.verdict, status: .order.status}'
```

```python Python
import os, requests

API = "https://api.bannerandbooth.com"
order_id, key = os.environ["BB_ORDER_ID"], os.environ["BB_ORDER_KEY"]

with open("backdrop.svg", "rb") as f:
    resp = requests.put(
        f"{API}/v1/orders/{order_id}/artwork",
        params={"sku": "BB-KIT-1010A", "filename": "backdrop.svg"},
        headers={"Authorization": f"Bearer {key}"},
        data=f,
        timeout=300,
    )
resp.raise_for_status()
body = resp.json()
print(body["artwork"]["filename"], body["order"]["status"])
```

```javascript Node
import { readFile } from "node:fs/promises";

const API = "https://api.bannerandbooth.com";
const { BB_ORDER_ID, BB_ORDER_KEY } = process.env;

const resp = await fetch(
  `${API}/v1/orders/${BB_ORDER_ID}/artwork?sku=BB-KIT-1010A&filename=backdrop.svg`,
  { method: "PUT", headers: { Authorization: `Bearer ${BB_ORDER_KEY}` }, body: await readFile("backdrop.svg") },
);
if (!resp.ok) throw new Error(JSON.stringify(await resp.json()));
const body = await resp.json();
console.log(body.artwork.filename, body.order.status);
```

Because the file is SVG, Banner & Booth also makes an automatic layout preview (a proof with `kind: "auto_preview"`): an SVG showing the art on the product template with bleed, trim and safe-zone lines. Open its `preview_url` in a browser to see it.

### 3. Get a proof and approve it

In a live order, a human proof from prepress normally follows within 2 business hours of receiving artwork. In test mode, simulate it:

```bash curl
curl -s -X POST "https://api.bannerandbooth.com/v1/orders/$BB_ORDER_ID/simulate" \
  -H "Authorization: Bearer $BB_ORDER_KEY" -H "Content-Type: application/json" \
  -d '{"event":"proof_ready"}' | jq .status

curl -s "https://api.bannerandbooth.com/v1/orders/$BB_ORDER_ID/proofs" \
  -H "Authorization: Bearer $BB_ORDER_KEY" | jq '.proofs[] | {id, kind, status, preview_url}'
```

Show the pending proof's `preview_url` to the buyer. When they say yes, approve it. You can use `latest` in place of a proof id, but approving the exact id you showed means you never approve a newer version the buyer hasn't seen.

```bash curl
PROOF_ID=$(curl -s "https://api.bannerandbooth.com/v1/orders/$BB_ORDER_ID/proofs" \
  -H "Authorization: Bearer $BB_ORDER_KEY" | jq -r '[.proofs[] | select(.status=="pending")] | last | .id')

curl -s -X POST "https://api.bannerandbooth.com/v1/orders/$BB_ORDER_ID/proofs/$PROOF_ID/approve" \
  -H "Authorization: Bearer $BB_ORDER_KEY" -H "Content-Type: application/json" \
  -d '{"approved_by":"Jane Buyer","note":"Approved in chat"}' | jq '{status, proof: .proof.status}'
```

```python Python
import os, requests

API = "https://api.bannerandbooth.com"
order_id, key = os.environ["BB_ORDER_ID"], os.environ["BB_ORDER_KEY"]
auth = {"Authorization": f"Bearer {key}"}

proofs = requests.get(f"{API}/v1/orders/{order_id}/proofs", headers=auth, timeout=30).json()["proofs"]
pending = [p for p in proofs if p["status"] == "pending"]
proof = pending[-1]
print("Show this to the buyer:", proof["preview_url"])

# Only after the buyer explicitly approves:
order = requests.post(
    f"{API}/v1/orders/{order_id}/proofs/{proof['id']}/approve",
    headers=auth,
    json={"approved_by": "Jane Buyer", "note": "Approved in chat"},
    timeout=30,
).json()
print(order["status"], order["proof"]["status"])
```

```javascript Node
const API = "https://api.bannerandbooth.com";
const { BB_ORDER_ID, BB_ORDER_KEY } = process.env;
const auth = { Authorization: `Bearer ${BB_ORDER_KEY}` };

const { proofs } = await (await fetch(`${API}/v1/orders/${BB_ORDER_ID}/proofs`, { headers: auth })).json();
const proof = proofs.filter((p) => p.status === "pending").at(-1);
console.log("Show this to the buyer:", proof.preview_url);

// Only after the buyer explicitly approves:
const order = await (
  await fetch(`${API}/v1/orders/${BB_ORDER_ID}/proofs/${proof.id}/approve`, {
    method: "POST",
    headers: { ...auth, "Content-Type": "application/json" },
    body: JSON.stringify({ approved_by: "Jane Buyer", note: "Approved in chat" }),
  })
).json();
console.log(order.status, order.proof.status);
```

### 4. Pay, produce, ship

In a live order the buyer opens `payment.pay_url`. In test mode, opening the test `pay_url` records a payment, or you can simulate each step and watch `status` change:

```bash curl
for EVENT in paid in_production shipped delivered; do
  curl -s -X POST "https://api.bannerandbooth.com/v1/orders/$BB_ORDER_ID/simulate" \
    -H "Authorization: Bearer $BB_ORDER_KEY" -H "Content-Type: application/json" \
    -d "{\"event\":\"$EVENT\"}" | jq -c '{event: "'$EVENT'", status, payment: .payment.status, fulfillment: .fulfillment.status}'
done
```

## Real artwork

The quickstart's SVG is a placeholder. For a real job:

- **Design on the template.** `GET https://api.bannerandbooth.com/v1/products/BB-TB-10ST/template.svg` (or `bannerbooth template BB-TB-10ST`) is a real-size SVG with the bleed, finished edge and safe zone marked. See [Artwork: print template](https://docs.bannerandbooth.com/guides/artwork#download-the-print-template).
- **Only a logo?** Send a design brief instead of a print file: `POST /v1/orders/{id}/design-brief` with the logo, headline, website and colors (CLI `bannerbooth order brief`, MCP `submit_design_brief`). Prepress lays it out for free and sends a proof. See [Artwork: design briefs](https://docs.bannerandbooth.com/guides/artwork#only-a-logo-design-briefs).

## Switch to live

A live order is the same request without `"test": true`. The differences:

| | Test | Live |
|---|---|---|
| Order id | `bbo_test_...` | `bbo_...` |
| Order key | `bbk_test_...` | `bbk_live_...` |
| `email` | optional | required |
| Shopify | nothing created | a real draft order and invoice |
| `pay_url` | `https://api.bannerandbooth.com/t/pay/<id>`; opening it records a test payment | real Shopify checkout; the buyer pays |
| Printing and shipping | never | after payment and proof approval |
| People notified | nobody | Banner & Booth prepress and support |
| Simulation | `POST /v1/orders/{id}/simulate` | not available |
| Rate limit on create | 100 per hour per IP | 10 per hour per IP |

Before you create a live order:

1. Confirm the items, quantities and total with the buyer. Use `POST /v1/orders/quote` to price it without creating anything.
2. Collect the buyer's email and a shipping address in the lower 48 states or DC. Alaska, Hawaii and international addresses return `422 unsupported_destination`; use a [B2B quote](https://docs.bannerandbooth.com/guides/b2b) instead.
3. Check the show deadline with `GET /v1/delivery-check` and pick `ground` or `2nd_day_air` (+$49.00 per order). See [Shipping and deadlines](https://docs.bannerandbooth.com/guides/shipping-and-deadlines).
4. Decide where the payment link goes: give `pay_url` to the buyer in chat, or set `"send_invoice_email": true` and Shopify emails it to them.

```bash curl
curl -s https://api.bannerandbooth.com/v1/orders \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: acme-ces-2027-booth" \
  -d '{
    "items": [{ "sku": "BB-KIT-1010A", "quantity": 1 }],
    "email": "jane@acmerobotics.com",
    "name": "Jane Buyer",
    "company": "Acme Robotics",
    "shipping_address": {
      "name": "Jane Buyer", "company": "Acme Robotics",
      "address1": "123 Main St", "address2": "Suite 4",
      "city": "Austin", "province": "TX", "zip": "78701", "country": "US"
    },
    "shipping_speed": "ground",
    "show": { "name": "CES 2027", "date": "2027-01-06", "venue": "LVCC", "booth_number": "N1234" },
    "source": "claude-code",
    "send_invoice_email": true
  }'
```

With the CLI, a live order needs `--yes`, which confirms the buyer approved the items and total. Without it, the CLI prints the quote and exits with code `1` and error `confirm_required`:

```bash
bannerbooth order create BB-KIT-1010A:1 --email jane@acmerobotics.com \
  --ship-to "Jane Buyer, 123 Main St, Suite 4, Austin, TX 78701" --company "Acme Robotics" \
  --show-name "CES 2027" --show-date 2027-01-06 --venue LVCC --booth N1234 --invoice-email --yes
```

Then follow `next_actions` as described in [Ordering](https://docs.bannerandbooth.com/guides/ordering).
