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

# API reference

Source: https://docs.bannerandbooth.com/reference/api

## Basics

| | |
|---|---|
| Base URL | `https://api.bannerandbooth.com` (the same routes also answer on `https://mcp.bannerandbooth.com`) |
| Format | JSON in, JSON out, UTF-8. Send `Content-Type: application/json` on request bodies. |
| CORS | `Access-Control-Allow-Origin: *` |
| Currency | USD. Money fields are numbers with two decimals, e.g. `1196.99`. |
| Dates | `YYYY-MM-DD` for dates, ISO 8601 UTC for timestamps. |
| OpenAPI | `https://api.bannerandbooth.com/openapi.json` (OpenAPI 3.1) |
| Version | `/v1`. See [Limits and versioning](https://docs.bannerandbooth.com/reference/limits#versioning). |

### Auth

- **Catalog, planning, preflight, cart links and quotes:** no auth.
- **Orders:** `POST /v1/orders` and `POST /v1/orders/quote` need no auth. Every call on an existing order needs `Authorization: Bearer <order_key>`, using the key returned when the order was created. Keys look like `bbk_live_<32 hex>` or `bbk_test_<32 hex>`. The key is accepted only in the header, never in a query string.

A missing or wrong key returns `401 unauthorized`.

### Errors

Errors return an HTTP status and a JSON body:

```json
{
  "error": {
    "code": "unknown_sku",
    "message": "Unknown sku(s): BB-NOPE.",
    "hint": "Find skus with GET /v1/products?q=...",
    "docs": "https://docs.bannerandbooth.com/reference/errors#unknown_sku"
  }
}
```

Branch on `error.code`. `hint` and `docs` are present on most errors, not all. Every code is listed in [Errors](https://docs.bannerandbooth.com/reference/errors).

### Query string or body

`/v1/kits/plan`, `/v1/delivery-check` and `/v1/cart-link` accept either `GET` with query parameters or `POST` with a JSON body. Body fields override query fields with the same name.

---

## Catalog and planning

### Search products

`GET /v1/products` · no auth · MCP `search_displays` · CLI `bannerbooth search`

| Parameter | Type | Description |
|---|---|---|
| `q` | string | Free text, e.g. `10x10 booth kit`, `retractable banner under $150`. |
| `category` | string | Category slug from `/v1/categories`. |
| `max_price` | number | Max unit price, USD. |
| `min_price` | number | Min unit price, USD. |
| `fire_cert` | string | Keep only items whose rating mentions this, e.g. `NFPA 701`, `CPAI-84`. |
| `limit` | integer | 1-25, default 8. |
| `group_variants` | boolean | Default `true`: one row per product with `price_range`. `false`: one row per option. |
| `fields` | string | Comma-separated keys to keep in each result, e.g. `sku,price,url`. |

```bash curl
curl -s "https://api.bannerandbooth.com/v1/products?q=10x10+booth+kit&max_price=1500&limit=3"
```

```json Response
{
  "query": "10x10 booth kit",
  "filters": { "category": null, "max_price": 1500, "min_price": null, "fire_cert": null },
  "total_matches": 39,
  "returned": 3,
  "results": [
    {
      "sku": "BB-KIT-1010ECON",
      "title": "10×10 Booth Kit: 10 ft Backdrop, Throw and Deluxe Retractable",
      "category": "10x10 Booth Kit",
      "price": 695.99,
      "url": "https://bannerandbooth.com/products/10x10-essential-inline-trade-show-starter-kit?variant=51382462808321",
      "fire_cert": "NFPA 701 Certified (Sewn Tag + Lab PDF)",
      "size": "112 in W × 91.5 in H × 19.75 in D Wall in a 10×10 Booth",
      "turnaround": "2-4 business days production, 1-5 days ground transit",
      "image": "https://cdn.shopify.com/s/files/1/0857/1269/9649/files/10x10-essential-inline-trade-show-starter-kit-studio.jpg?v=1796083990"
    }
  ],
  "next_step": "Call get_display with a sku for every option, print specs and a cart link.",
  "shipping": "Ground shipping to the lower 48 states is included in the price on most items (shipping: 0 in each result); other items ship $12.00 flat, free on orders $100+; UPS 2nd Day Air $49.00",
  "promo_codes": { "BOOTH5": "5% off $500+", "FLEET10": "10% off $2,500+" }
}
```

Results are abbreviated to one. Grouped rows for products with several matching options also have `matching_options` and `price_range` (e.g. `"$465.99-$498.99"`). With no match, `results` is empty and `next_step` suggests categories.

### Get a product

`GET /v1/products/{sku}` · no auth · MCP `get_display` · CLI `bannerbooth get`

`{sku}` is a Banner & Booth SKU. A Shopify variant id or a product handle also works. Add `?fields=a,b` to keep only some keys.

```bash curl
curl -s https://api.bannerandbooth.com/v1/products/BB-TT-6FIT
```

```json Response
{
  "sku": "BB-TT-6FIT",
  "title": "6 ft Fitted Table Throw, 4-Sided, Custom Printed",
  "category": "Table Throw",
  "price": 124.99,
  "currency": "USD",
  "url": "https://bannerandbooth.com/products/6ft-4-sided-fitted-polyester-trade-show-table-throw?variant=51382469558529",
  "variant_id": "51382469558529",
  "image": "https://cdn.shopify.com/s/files/1/0857/1269/9649/files/6ft-4-sided-fitted-polyester-trade-show-table-throw-studio.jpg?v=1796084264",
  "fire_cert": "NFPA 701 Certified (Sewn Tag + Lab PDF)",
  "size": "72 in W × 29.625 in D × 29 in H (fits 72×30×29 in table)",
  "ship_weight_lbs": 2.5,
  "turnaround": {
    "text": "2-4 business days production, 1-5 days ground transit",
    "prod_min": 2, "prod_max": 4, "transit_min": 1, "transit_max": 5,
    "proof": "free digital proof within 2 business hours of receiving artwork"
  },
  "description": "This 6 ft fitted table throw is a custom printed table cover for trade show booths, job fairs and registration tables. ...",
  "options": [],
  "artwork": {
    "required": true,
    "product_class": "Table throw / runner",
    "min_effective_dpi": 100,
    "recommended_dpi": 150,
    "bleed_in": { "top": 0, "bottom": 0, "left": 0, "right": 0 },
    "safe_margin_in": 4,
    "layout_note": "On a 6 ft fitted throw keep the front logo inside a 56 x 20 in window centred on the 72 x 29 in front panel.",
    "visible_size_in": { "width": 72, "height": 29 },
    "art_size_with_bleed_in": { "width": 72, "height": 29 },
    "pixels_needed": { "at_min_dpi": "7200 x 2900", "at_recommended_dpi": "10800 x 4350" }
  },
  "shipping": "Ground shipping to the lower 48 states is included in the price on most items (shipping: 0 in each result); other items ship $12.00 flat, free on orders $100+; UPS 2nd Day Air $49.00",
  "cart_url": "https://mcp.bannerandbooth.com/c/51382469558529:1?s=agent",
  "promo_applicable_at_qty_1": null
}
```

`artwork` is abbreviated; see [Artwork](https://docs.bannerandbooth.com/guides/artwork#the-template-for-a-sku) for every field. It also has `template_url` (the [print template](#download-a-print-template), for items with a fixed print size) and `no_artwork_option` (how to order with only a logo). `options` lists sibling options (`sku`, `title`, `price`, `variant_id`) when the product has more than one. Blank hardware has `"artwork": { "required": false, "note": "Blank hardware: no artwork needed." }`. Unknown SKU: `404 not_found`.

### Download a print template

`GET /v1/products/{sku}/template.svg` · no auth · CLI `bannerbooth template`

A real-size SVG of the print canvas: `width` and `height` in inches (bleed included) and two layers. Put artwork in the `artwork` layer; the `guides` layer marks the bleed edge (red dashed), the finished edge (black) and the safe zone (green dashed), plus product-specific zones: the 6 in cassette leader on retractables, the 56 × 20 in front logo window on fitted throws, the pole pockets on step-and-repeats. Hide or delete `guides` before exporting.

| Parameter | Description |
|---|---|
| `download` | `1` sends `Content-Disposition: attachment` with the file name `<SKU>-template.svg`. |

```bash curl
curl -s -o BB-RB-33STD-template.svg "https://api.bannerandbooth.com/v1/products/BB-RB-33STD/template.svg?download=1"
head -c 300 BB-RB-33STD-template.svg
```

```text Response
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="33.5in" height="86in" viewBox="0 0 3350 8600" font-family="Helvetica, Arial, sans-serif">
<title>Print template BB-RB-33STD: 33.5 x 86 in with bleed</title>
```

Items without a fixed print size (canopies, which prepress templates per panel) and blank hardware return `404 not_found` with a hint.

### List categories

`GET /v1/categories` · no auth

```bash curl
curl -s https://api.bannerandbooth.com/v1/categories
```

```json Response
{
  "count": 34,
  "categories": [
    { "category": "vinyl-banner", "name": "Vinyl Banner", "products": 22, "variants": 114, "price_from": 21.99, "price_to": 424.99 },
    { "category": "10x10-booth-kit", "name": "10x10 Booth Kit", "products": 17, "variants": 22, "price_from": 465.99, "price_to": 2623.99 }
  ]
}
```

Sorted by number of options, largest first. Abbreviated to two.

### List venues

`GET /v1/venues` · no auth

| Parameter | Type | Description |
|---|---|---|
| `q` | string | Filter by venue or city name. |

```bash curl
curl -s "https://api.bannerandbooth.com/v1/venues?q=chicago"
```

```json Response
{
  "count": 1,
  "venues": [
    {
      "venue": "McCormick Place",
      "city": "Chicago, IL",
      "slug": "mccormick-place-chicago",
      "indoor_fire_code": "NFPA 701 + Chicago Fire",
      "outdoor_fire_code": "CPAI-84 + NFPA 701",
      "inline_height_cap": "8ft rear / 4ft front",
      "nearest_print_hub": "Dallas, TX / Philadelphia, PA",
      "hub_ground_days": "2",
      "guide": "https://bannerandbooth.com/blogs/guides/..."
    }
  ]
}
```

### Get a venue

`GET /v1/venues/{slug}` · no auth

`{slug}` from the list, e.g. `las-vegas-convention-center-las-vegas`. Loose names also resolve (`/v1/venues/javits`). Returns one venue object. Unknown: `404 not_found`.

### Plan a booth

`GET /v1/kits/plan` or `POST /v1/kits/plan` · no auth · MCP `plan_booth_kit` · CLI `bannerbooth plan`

| Parameter | Type | Description |
|---|---|---|
| `booth_size` | string | `10x10` (default), `10x20` or `tabletop`. |
| `budget` | number | Max spend before tax, USD. Picks `recommended_tier`. |
| `outdoor` | boolean | Canopy plans. |
| `venue_or_city` | string | e.g. `Javits`, `LVCC`, `Orlando`. Adds the venue's rules. |
| `show_date` | string | `YYYY-MM-DD`. Adds `timing` for the recommended plan. |
| `source` | string | Your assistant's name, for cart-link attribution. |

```bash curl
curl -s "https://api.bannerandbooth.com/v1/kits/plan?booth_size=10x10&budget=1500"
```

```json Response
{
  "booth": { "size": "10x10", "outdoor": false, "venue": null },
  "budget": 1500,
  "recommended_tier": "standard",
  "compliance": "Inline 10 ft walls in these plans stand 91.5 in or less, inside the common 8 ft rear height cap; fabric carries a sewn NFPA 701 tag and lab PDF.",
  "plans": [
    {
      "tier": "standard",
      "why": "10 ft wall, throw, retractable and a wheeled case that becomes a printed podium.",
      "items": [
        { "sku": "BB-KIT-1010A", "title": "10×10 Booth Kit: 10 ft Backdrop, Podium Case, Throw and Retractable", "qty": 1, "unit_price": 1196.99, "url": "https://bannerandbooth.com/products/10x10-architect-complete-trade-show-booth-kit?variant=51382462087425" }
      ],
      "subtotal": 1196.99,
      "promo_code": "BOOTH5",
      "estimated_total_before_tax": 1137.14,
      "within_budget": true,
      "lead_time": "4 business days production + up to 5 days ground after proof approval",
      "cart_url": "https://mcp.bannerandbooth.com/c/51382462087425:1?d=BOOTH5&s=agent"
    }
  ],
  "artwork": "Buy now and email your logo or print file after checkout to support@bannerandbooth.com with the order number. ...",
  "shipping": "Ground shipping to the lower 48 states is included in the price on most items ..."
}
```

`plans` is abbreviated to one; the real response has every tier (value, starter, standard, premium for 10×10). When no plan fits the budget, `recommended_tier` is `null` and `budget_note` explains the cheapest option.

### Check delivery and venue rules

`GET /v1/delivery-check` or `POST /v1/delivery-check` · no auth · MCP `check_venue_and_cutoff` · CLI `bannerbooth cutoff`

| Parameter | Type | Description |
|---|---|---|
| `venue_or_city` | string | Venue or city. Optional. |
| `show_date` | string | `YYYY-MM-DD`, the first show day. Without it, only venue data is returned. |
| `sku` | string | Use this SKU's production and transit days. Without it: 4 production, 5 ground. |

```bash curl
curl -s "https://api.bannerandbooth.com/v1/delivery-check?venue_or_city=LVCC&show_date=2027-01-06&sku=BB-KIT-1010A"
```

Returns `venue` (a venue object or `null`, plus `venue_note` when no profile matched) and `timing` with `order_by_ground`, `approve_proof_by_ground`, `order_by_2nd_day_air`, `approve_proof_by_2nd_day_air`, `business_days_left_for_ground`, `status` (`GREEN`, `AMBER`, `RED`), `advice` and `assumptions`. A malformed date returns `timing: { "error": "show_date must be YYYY-MM-DD" }`. The full response and the calculation are in [Shipping and deadlines](https://docs.bannerandbooth.com/guides/shipping-and-deadlines#show-date-cutoffs).

### Preflight artwork

`POST /v1/artwork/preflight` · no auth · MCP `preflight_artwork` · CLI `bannerbooth preflight`

| Field | Type | Description |
|---|---|---|
| `sku` | string | Target SKU, or give `target_width_in` and `target_height_in`. |
| `width_px`, `height_px` | integer | File pixel size. |
| `file_format` | string | `pdf`, `ai`, `eps`, `svg`, `png`, `jpg`, `tif`, `psd`. |
| `color_mode` | string | `cmyk`, `rgb`, `grayscale`. |
| `is_vector` | boolean | Vector file. Implied for `ai`, `eps`, `svg`. |
| `fonts_outlined` | boolean | For PDF/AI/EPS. |
| `includes_bleed` | boolean | `false` if the file is only the visible area. |
| `embedded_raster_min_dpi` | number | Lowest effective DPI of photos placed in a vector file. |
| `target_width_in`, `target_height_in` | number | Visible print size, when there's no SKU. |

```bash curl
curl -s -X POST https://api.bannerandbooth.com/v1/artwork/preflight \
  -H "Content-Type: application/json" \
  -d '{"sku":"BB-TB-10ST","width_px":17400,"height_px":14325,"file_format":"tif","color_mode":"cmyk"}'
```

```json Response
{
  "verdict": "PASS",
  "product": { "sku": "BB-TB-10ST", "title": "10 ft Straight Tension Fabric Backdrop With Frame" },
  "checks": [
    { "check": "aspect_ratio", "status": "PASS", "detail": "File ratio 1.215 matches the 116x95.5 in art size (bleed included)." },
    { "check": "effective_resolution", "status": "PASS", "detail": "150 DPI at full print size (minimum 100, recommended 150)." },
    { "check": "color_mode", "status": "PASS", "detail": "CMYK." }
  ],
  "spec": { "product_class": "Tension fabric graphic", "art_size_with_bleed_in": { "width": 116, "height": 95.5 }, "effective_dpi": 150 },
  "human_check": "Every custom order also gets a free human prepress check and a digital proof within 2 business hours; nothing prints until you approve.",
  "send_files_to": "support@bannerandbooth.com"
}
```

`spec` is abbreviated. Errors: `400 missing_target` (no SKU and no target size), `404 not_found` (unknown SKU). See [Artwork: preflight](https://docs.bannerandbooth.com/guides/artwork#preflight).

### Create a cart link

`GET /v1/cart-link` or `POST /v1/cart-link` · no auth · MCP `create_cart_url` · CLI `bannerbooth cart`

| Field | Type | Description |
|---|---|---|
| `items` | array or string | Required. `[{ "sku": "BB-KIT-1010A", "quantity": 1 }]`, or in a query string `BB-KIT-1010A:1,BB-TT-6FIT:2`. 1-25 lines, quantity 1-500. |
| `discount_code` | string | `BOOTH5` or `FLEET10`. The best eligible code is applied anyway. |
| `show_date` | string | `YYYY-MM-DD`. Adds `show_date_tip` with the cutoff. |
| `source` | string | Your assistant's name. Recorded on the Shopify order as `agent_source`. |

```bash curl
curl -s -X POST https://api.bannerandbooth.com/v1/cart-link \
  -H "Content-Type: application/json" \
  -d '{"items":[{"sku":"BB-KIT-1010A","quantity":2},{"sku":"BB-TB-10ST","quantity":1}],"source":"my-agent"}'
```

```json Response
{
  "checkout_url": "https://mcp.bannerandbooth.com/c/51382462087425:2,51382463496449:1?d=FLEET10&s=my-agent",
  "direct_shopify_url": "https://bannerandbooth.com/cart/51382462087425:2,51382463496449:1?discount=FLEET10&attributes%5Bagent_source%5D=my-agent&utm_source=my-agent&utm_medium=agent&utm_campaign=agent_cart_link",
  "lines": [
    { "sku": "BB-KIT-1010A", "title": "10×10 Booth Kit: 10 ft Backdrop, Podium Case, Throw and Retractable", "qty": 2, "unit_price": 1196.99, "line_total": 2393.98 },
    { "sku": "BB-TB-10ST", "title": "10 ft Straight Tension Fabric Backdrop With Frame", "qty": 1, "unit_price": 404.99, "line_total": 404.99 }
  ],
  "subtotal": 2798.97,
  "discount_code": "FLEET10",
  "discount": 279.9,
  "estimated_total_before_tax": 2519.07,
  "currency": "USD",
  "shipping": "Ground shipping to the lower 48 states is included in the price on most items ...",
  "how_it_works": "Opening checkout_url loads these items into a Shopify checkout on bannerandbooth.com with the code applied; the buyer enters address and payment there. Nothing is charged until they complete checkout.",
  "artwork_next_step": "Buy now and email your logo or print file after checkout to support@bannerandbooth.com with the order number. ..."
}
```

When you ask for a code the cart doesn't qualify for, `note` explains which code was applied instead. Errors: `400 bad_items`, `400 unknown_sku`.

### Checkout redirect

`GET /c/{items}` · no auth

`{items}` is `SKU:qty` or `variant_id:qty`, comma-separated. Redirects (`302`) to the Shopify cart with the best volume code. Query parameters: `d` (discount code), `s` (source name). This is what `checkout_url` points to; you rarely build it by hand.

```bash curl
curl -s -o /dev/null -w '%{http_code} %{redirect_url}\n' "https://mcp.bannerandbooth.com/c/BB-KIT-1010A:1?s=my-agent"
```

### Request a B2B quote

`POST /v1/quotes` · no auth · MCP `request_b2b_quote` · CLI `bannerbooth quote`

Sends the request to the Banner & Booth sales desk. A person replies by email. **Only call it when the buyer asked for a quote and agreed to share their email.** Not available in test mode. Limit: 5 per hour per IP.

| Field | Type | Description |
|---|---|---|
| `contact_email` | string | Required. The buyer's email. |
| `details` | string | Required, 10+ characters. What they need. |
| `contact_name`, `company`, `phone` | string | Optional. |
| `skus` | array of strings | Optional. |
| `quantity` | string | Optional. |
| `needed_by` | string | `YYYY-MM-DD`. |
| `ship_to_zip` | string | Optional. |
| `needs` | array | Any of `purchase_order`, `net_terms`, `w9`, `tax_exempt`, `custom_size`, `bulk_pricing`, `rush`. |
| `source` | string | Your assistant's name. |

Returns `reference` (`BBQ-...`), `received`, `status`, `reply_to`, `follow_up` and a `mailto` fallback. Errors: `400 bad_email`, `400 missing_details`, `429 rate_limited`, `405 method_not_allowed` on `GET`. Example in [B2B](https://docs.bannerandbooth.com/guides/b2b#send-a-quote-request).

### Other catalog endpoints

| Endpoint | Description |
|---|---|
| `GET /v1/policies` | Merchant name, shipping, artwork, promo codes, fire certifications, and links to the refund, terms and privacy policies. |
| `GET /v1/size-charts?topic=` | Size charts. Topics: `booth_10x10_inline`, `tablecloth_6ft`, `tablecloth_8ft`, `retractable_standard`, `step_and_repeat`, `canopy_10x10`, `all`. |
| `GET /v1/competitors?q=` | Maps a competitor item (Displays2Go, Vistaprint, BannerBuzz, E-Z UP, TentCraft, Freeman/GES rental) to a Banner & Booth SKU with its current price. |
| `GET /v1/tco?shows=&rental_per_show_usd=&drayage_per_show_usd=&sku=` | Rent vs. buy comparison, with assumptions in the response. |
| `GET /v1` | Index of endpoints. |
| `GET /catalog.json` | Every option in one file. |

---


## Orders

All order endpoints are on `https://api.bannerandbooth.com`. Everything that returns an order returns the full [order object](https://docs.bannerandbooth.com/reference/order-object). The examples read `BB_ORDER_ID` and `BB_ORDER_KEY` from the environment. Python examples use `requests` (`pip install requests`); Node examples use built-in `fetch` in an ES module (Node 18+). The responses shown are real test-mode responses, shortened where marked.

`GET /v1/orders` (listing orders) isn't available: there are no accounts, so each order is reached by its id and key.

### Quote an order

`POST /v1/orders/quote` · no auth · MCP `quote_order` · CLI `bannerbooth order quote`

Prices an order without creating anything. Same body as [create](#create-an-order); `email` isn't needed.

```bash curl
curl -s -X POST https://api.bannerandbooth.com/v1/orders/quote \
  -H "Content-Type: application/json" \
  -d '{
    "items": [{ "sku": "BB-TB-10ST", "quantity": 1 }, { "sku": "BB-TT-6FIT", "quantity": 1 }, { "sku": "BB-RB-33STD", "quantity": 1 }],
    "shipping_speed": "ground",
    "show": { "date": "2027-01-06", "venue": "LVCC" }
  }'
```

```python Python
import requests

quote = requests.post(
    "https://api.bannerandbooth.com/v1/orders/quote",
    json={
        "items": [{"sku": "BB-TB-10ST", "quantity": 1}, {"sku": "BB-TT-6FIT", "quantity": 1}, {"sku": "BB-RB-33STD", "quantity": 1}],
        "shipping_speed": "ground",
        "show": {"date": "2027-01-06", "venue": "LVCC"},
    },
    timeout=30,
).json()
print(quote["subtotal"], quote["discount"], quote["total"], quote["deadline"]["status"])
```

```javascript Node
const quote = await (
  await fetch("https://api.bannerandbooth.com/v1/orders/quote", {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({
      items: [{ sku: "BB-TB-10ST", quantity: 1 }, { sku: "BB-TT-6FIT", quantity: 1 }, { sku: "BB-RB-33STD", quantity: 1 }],
      shipping_speed: "ground",
      show: { date: "2027-01-06", venue: "LVCC" },
    }),
  })
).json();
console.log(quote.subtotal, quote.discount, quote.total, quote.deadline.status);
```

```json Response
{
  "lines": [
    { "sku": "BB-TB-10ST", "title": "10 ft Straight Tension Fabric Backdrop With Frame", "quantity": 1, "unit_price": 404.99, "line_total": 404.99, "artwork_required": true, "url": "https://bannerandbooth.com/products/10ft-straight-tension-fabric-trade-show-backdrop?variant=51382463496449", "variant_id": "51382463496449" },
    { "sku": "BB-TT-6FIT", "title": "6 ft Fitted Table Throw, 4-Sided, Custom Printed", "quantity": 1, "unit_price": 124.99, "line_total": 124.99, "artwork_required": true, "url": "https://bannerandbooth.com/products/6ft-4-sided-fitted-polyester-trade-show-table-throw?variant=51382469558529", "variant_id": "51382469558529" },
    { "sku": "BB-RB-33STD", "title": "33.5×80 in Standard Retractable Banner Stand With Stabilizer Feet", "quantity": 1, "unit_price": 84.99, "line_total": 84.99, "artwork_required": true, "url": "https://bannerandbooth.com/products/standard-33x80-economy-retractable-banner-stand?variant=51382467952897", "variant_id": "51382467952897" }
  ],
  "subtotal": 614.97,
  "discount": { "code": "BOOTH5", "amount": 30.75 },
  "shipping": { "speed": "ground", "amount": 0 },
  "tax": null,
  "total": 584.22,
  "currency": "USD",
  "totals_note": "Sales tax is calculated at payment from the shipping address.",
  "artwork_required_for": ["BB-TB-10ST", "BB-TT-6FIT", "BB-RB-33STD"],
  "deadline": {
    "status": "GREEN",
    "order_by_ground": "2026-12-18",
    "approve_proof_by_ground": "2026-12-21",
    "order_by_2nd_day_air": "2026-12-23",
    "approve_proof_by_2nd_day_air": "2026-12-24",
    "business_days_left_for_ground": 14,
    "advice": "Order with ground shipping by the cutoff; send artwork the same day."
  },
  "seller": { "name": "Banner & Booth", "legal_name": "Packrift LLC", "website": "https://bannerandbooth.com", "support": "support@bannerandbooth.com" },
  "policies": {
    "refunds": "https://bannerandbooth.com/policies/refund-policy",
    "terms": "https://bannerandbooth.com/policies/terms-of-service",
    "privacy": "https://bannerandbooth.com/policies/privacy-policy",
    "shipping": "https://bannerandbooth.com/policies/shipping-policy"
  },
  "production": "Custom items print after artwork is received and the proof is approved; each line's production and transit time is on its product (GET /v1/products/{sku}).",
  "next_step": "POST https://api.bannerandbooth.com/v1/orders with the same body plus email (add \"test\": true to try it without paying)."
}
```

`deadline` is shortened here; it also has `today`, `show_date`, `product`, `assumptions` and `venue` (see [order object: deadline](https://docs.bannerandbooth.com/reference/order-object#deadline)). `tax` is `null` in a quote; sales tax is added at payment. `discount_note` appears when a requested code didn't apply. Errors: `400 invalid_request`, `400 bad_json`, `422 unknown_sku`, `422 unsupported_destination`.

### Create an order

`POST /v1/orders` · no auth · MCP `create_order` · CLI `bannerbooth order create`

| Header | Description |
|---|---|
| `Idempotency-Key` | Recommended. Any unique string. The same key and body within 24 hours returns the original order (`200`, header `Idempotent-Replayed: true`) instead of creating another. Keys are separate for test and live. |

| Field | Type | Required | Description |
|---|---|---|---|
| `items` | array | yes | 1-25 lines of `{ "sku", "quantity" }`. Quantity 1-500. |
| `email` | string | live only | Buyer email. The Shopify invoice and Banner & Booth's proof emails go here. |
| `name`, `company`, `phone` | string | no | Buyer details. |
| `shipping_address` | object | no | `name`, `company`, `address1` (required), `address2`, `city` (required), `province` (required: 2-letter code, lower 48 or `DC`), `zip` (required: 5-digit ZIP), `country` (`US`), `phone`. |
| `shipping_speed` | string | no | `ground` (default) or `2nd_day_air` (+$49.00 per order). |
| `discount_code` | string | no | `BOOTH5` or `FLEET10`. The best eligible code is applied either way. |
| `show` | object | no | `name`, `date` (`YYYY-MM-DD`), `venue`, `booth_number`, and for shipping to the show: `exhibitor`, `ship_to` (`advance_warehouse`, `show_site` or `address`), `warehouse_deadline` (`YYYY-MM-DD`), `contractor` (e.g. `Freeman`, `GES`). Adds `deadline` and `show.labeling`. See [Shipping to a show](https://docs.bannerandbooth.com/guides/shipping-and-deadlines#shipping-to-a-show). |
| `design_briefs` | array | no | Up to 10 [design briefs](#submit-a-design-brief), each with a `sku`, for items where the buyer has only a logo. |
| `po_number` | string | no | Buyer's purchase order number (60 characters). |
| `notes` | string | no | Instructions for prepress: layout, PMS colors, part names (2,000 characters). |
| `artwork_urls` | array | no | `[{ "sku", "url" }]`: up to 10 files for Banner & Booth to fetch. Bad links come back in `warnings`. |
| `notify_url` | string | no | `https` URL for [webhooks](https://docs.bannerandbooth.com/guides/webhooks). Adds `webhook_secret` to the response. |
| `source` | string | no | Your agent's name, e.g. `claude-code`. Defaults to `api`. |
| `send_invoice_email` | boolean | no | `true` makes Shopify email the payment link to `email` (live orders). |
| `test` | boolean | no | `true` creates a [test order](https://docs.bannerandbooth.com/guides/test-mode). |

```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": "buyer@example.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" },
    "notes": "Logo centered, use PMS 186 C",
    "source": "claude-code",
    "test": true
  }'
```

```python Python
import requests

resp = requests.post(
    "https://api.bannerandbooth.com/v1/orders",
    headers={"Idempotency-Key": "acme-ces-2027-booth"},
    json={
        "items": [{"sku": "BB-KIT-1010A", "quantity": 1}],
        "email": "buyer@example.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"},
        "notes": "Logo centered, use PMS 186 C",
        "source": "claude-code",
        "test": True,
    },
    timeout=30,
)
resp.raise_for_status()
order = resp.json()
print(order["id"], order["order_key"], order["status"], order["total"])
```

```javascript Node
const resp = await fetch("https://api.bannerandbooth.com/v1/orders", {
  method: "POST",
  headers: { "Content-Type": "application/json", "Idempotency-Key": "acme-ces-2027-booth" },
  body: JSON.stringify({
    items: [{ sku: "BB-KIT-1010A", quantity: 1 }],
    email: "buyer@example.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" },
    notes: "Logo centered, use PMS 186 C",
    source: "claude-code",
    test: true,
  }),
});
if (!resp.ok) throw new Error(JSON.stringify(await resp.json()));
const order = await resp.json();
console.log(order.id, order.order_key, order.status, order.total);
```

Returns `201` with the [order object](https://docs.bannerandbooth.com/reference/order-object#example) (including `customer`, `shipping_address`, `notes` and `show.labeling`) plus `order_key`, `key_note`, and `webhook_secret` if `notify_url` was set. A replay with the same `Idempotency-Key` returns `200` with the same body, `idempotent_replayed: true`, and the header `Idempotent-Replayed: true`.

Errors: `400 bad_json`; `400 invalid_request` (missing or invalid `email` on a live order, bad `items`, bad `shipping_speed`, address missing a field, ZIP not 5 digits, `show.date` not `YYYY-MM-DD`, `notify_url` not https); `409 conflict` (idempotency key reused with a different body); `422 unknown_sku`; `422 unsupported_destination`; `429 rate_limited`; `502 upstream_error` (retry with the same `Idempotency-Key`).

### Retrieve an order

`GET /v1/orders/{id}` · order key · MCP `get_order` · CLI `bannerbooth order status`

Returns the order object. Live orders are refreshed from Shopify on each call (payment, order number, tracking).

```bash curl
curl -s "https://api.bannerandbooth.com/v1/orders/$BB_ORDER_ID" -H "Authorization: Bearer $BB_ORDER_KEY"
```

```python Python
import os, requests

order = requests.get(
    f"https://api.bannerandbooth.com/v1/orders/{os.environ['BB_ORDER_ID']}",
    headers={"Authorization": f"Bearer {os.environ['BB_ORDER_KEY']}"},
    timeout=30,
).json()
print(order["status"], [a["action"] for a in order["next_actions"]])
```

```javascript Node
const { BB_ORDER_ID, BB_ORDER_KEY } = process.env;
const order = await (
  await fetch(`https://api.bannerandbooth.com/v1/orders/${BB_ORDER_ID}`, { headers: { Authorization: `Bearer ${BB_ORDER_KEY}` } })
).json();
console.log(order.status, order.next_actions.map((a) => a.action));
```

Errors: `401 unauthorized` (missing key, or a key for a different order), `404 not_found`.

### Update an order

`PATCH /v1/orders/{id}` (`POST` also works) · order key · MCP `update_order` · CLI `bannerbooth order update`

Changes an unpaid order. Send only the fields to change. Totals, the deadline and the payment link update, and the Shopify draft order is updated to match.

| Field | Behavior |
|---|---|
| `items` | Replaces every line. Send the full list. |
| `email`, `name`, `company`, `phone` | Replace the buyer details. |
| `shipping_address` | Replaces the address; `null` removes it. Same rules as create. |
| `shipping_speed` | `ground` or `2nd_day_air`. |
| `discount_code` | Same rules as create. |
| `show` | Merged into the existing show: send only the keys that change, e.g. `{"booth_number":"N1301"}`. `null` removes it. |
| `po_number`, `notes` | Replace; an empty value clears. |

```bash curl
curl -s -X PATCH "https://api.bannerandbooth.com/v1/orders/$BB_ORDER_ID" \
  -H "Authorization: Bearer $BB_ORDER_KEY" -H "Content-Type: application/json" \
  -d '{
    "items": [{ "sku": "BB-TB-10ST", "quantity": 1 }, { "sku": "BB-TT-6FIT", "quantity": 1 }, { "sku": "BB-RB-33STD", "quantity": 1 }],
    "shipping_speed": "2nd_day_air",
    "show": { "booth_number": "N1301" }
  }' | jq '{subtotal, discount, shipping, total, booth: .show.booth_number, label: .show.labeling}'
```

```python Python
import os, requests

order = requests.patch(
    f"https://api.bannerandbooth.com/v1/orders/{os.environ['BB_ORDER_ID']}",
    headers={"Authorization": f"Bearer {os.environ['BB_ORDER_KEY']}"},
    json={
        "items": [{"sku": "BB-TB-10ST", "quantity": 1}, {"sku": "BB-TT-6FIT", "quantity": 1}, {"sku": "BB-RB-33STD", "quantity": 1}],
        "shipping_speed": "2nd_day_air",
        "show": {"booth_number": "N1301"},
    },
    timeout=30,
).json()
print(order["subtotal"], order["shipping"], order["total"], order["show"]["labeling"])
```

```javascript Node
const { BB_ORDER_ID, BB_ORDER_KEY } = process.env;
const order = await (
  await fetch(`https://api.bannerandbooth.com/v1/orders/${BB_ORDER_ID}`, {
    method: "PATCH",
    headers: { Authorization: `Bearer ${BB_ORDER_KEY}`, "Content-Type": "application/json" },
    body: JSON.stringify({
      items: [{ sku: "BB-TB-10ST", quantity: 1 }, { sku: "BB-TT-6FIT", quantity: 1 }, { sku: "BB-RB-33STD", quantity: 1 }],
      shipping_speed: "2nd_day_air",
      show: { booth_number: "N1301" },
    }),
  })
).json();
console.log(order.subtotal, order.shipping, order.total, order.show.labeling);
```

```json Response
{
  "subtotal": 614.97,
  "discount": { "code": "BOOTH5", "amount": 30.75 },
  "shipping": { "speed": "2nd_day_air", "amount": 49 },
  "total": 633.22,
  "booth": "N1301",
  "label": "Exhibitor: Acme Robotics · Booth N1301 · CES 2027 (2027-01-06) · LVCC · c/o Freeman · Advance warehouse, due 2026-12-28"
}
```

That's a real test order changed from two lines to three and from ground to 2nd Day Air. Returns the order object and sends an `order.updated` webhook with the changed field names. Errors: `400 invalid_request` ("Nothing to change." when no recognized field is sent, or an invalid value), `409 conflict` (paid or cancelled: "Paid orders can't be changed through the API."), `422 unknown_sku`, `422 unsupported_destination`.

### List order events

`GET /v1/orders/{id}/events` · order key · CLI `bannerbooth order events`

The order's timeline, oldest first.

```bash curl
curl -s "https://api.bannerandbooth.com/v1/orders/$BB_ORDER_ID/events" -H "Authorization: Bearer $BB_ORDER_KEY"
```

```json Response
{
  "order_id": "bbo_test_veceqxd96t",
  "events": [
    { "type": "order.created", "at": "2026-12-01T03:54:06Z", "data": { "total": 1137.14, "lines": 1, "draft": null } },
    { "type": "artwork.received", "at": "2026-12-01T03:54:14Z", "data": { "artwork_id": "art_2d8wfdy6yj", "sku": "BB-KIT-1010A", "filename": "backdrop.svg", "preflight": "PASS", "auto_preview": "prf_7pupsphn3j" } },
    { "type": "proof.ready", "at": "2026-12-01T03:54:14Z", "data": { "proof_id": "prf_wnzxmwfr45", "sku": "BB-KIT-1010A", "version": 2 } },
    { "type": "proof.approved", "at": "2026-12-01T03:54:25Z", "data": { "proof_id": "prf_t6cycxx4jk", "sku": "BB-KIT-1010A", "kind": "human", "by": "Jane Buyer", "note": "Approved in chat" } },
    { "type": "order.paid", "at": "2026-12-01T03:54:25Z", "data": { "simulated": true } }
  ]
}
```

Shortened. Types: `order.created`, `order.updated`, `artwork.received`, `design_brief.received`, `proof.ready`, `proof.approved`, `proof.changes_requested`, `invoice.emailed`, `order.paid`, `order.in_production`, `order.shipped`, `order.delivered`, `order.cancelled`, `order.reorder` (on a new order made by reordering) and `order.reordered` (on the original).

### Upload artwork

`PUT /v1/orders/{id}/artwork?sku={sku}&filename={name}` · order key · CLI `bannerbooth order upload`

Body: the raw file bytes, with `Content-Length` (`curl -T` sets it). Up to 100 MB; larger files use the [two-step upload](#start-a-two-step-upload-or-attach-a-link).

| Query parameter | Required | Description |
|---|---|---|
| `filename` | yes | With the extension: `pdf`, `ai`, `eps`, `svg`, `png`, `jpg`, `jpeg`, `tif`, `tiff`, `psd` or `zip`. |
| `sku` | when needed | The line the file is for. Optional when only one line needs artwork. |
| `role` | no | `logo` marks the file as a logo for a [design brief](#submit-a-design-brief), not print-ready art. Logos skip preflight and automatic previews. |
| `width_px`, `height_px`, `color_mode`, `is_vector` | no | Measurements for preflight. PNG, JPEG and SVG sizes are also read from the file. |

```bash curl
curl -s -T backdrop.pdf -H "Authorization: Bearer $BB_ORDER_KEY" \
  "https://api.bannerandbooth.com/v1/orders/$BB_ORDER_ID/artwork?sku=BB-KIT-1010A&filename=backdrop.pdf"
```

```python Python
import os, requests

with open("backdrop.pdf", "rb") as f:
    resp = requests.put(
        f"https://api.bannerandbooth.com/v1/orders/{os.environ['BB_ORDER_ID']}/artwork",
        params={"sku": "BB-KIT-1010A", "filename": "backdrop.pdf"},
        headers={"Authorization": f"Bearer {os.environ['BB_ORDER_KEY']}"},
        data=f,
        timeout=600,
    )
resp.raise_for_status()
print(resp.json()["artwork"]["status"])
```

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

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

```json Response
{
  "artwork": {
    "id": "art_2d8wfdy6yj",
    "sku": "BB-KIT-1010A",
    "filename": "backdrop.svg",
    "size": 205,
    "content_type": "image/svg+xml",
    "source": "upload",
    "url": null,
    "status": "received",
    "preflight": {
      "verdict": "PASS",
      "checks": [
        { "check": "aspect_ratio", "status": "PASS", "detail": "File ratio 1.215 matches the 116x95.5 in art size (bleed included)." },
        { "check": "effective_resolution", "status": "PASS", "detail": "Vector artwork scales to any size." },
        { "check": "color_mode", "status": "INFO", "detail": "Color mode unknown." }
      ],
      "effective_dpi": null
    },
    "created_at": "2026-12-01T03:54:14Z"
  },
  "order": { "id": "bbo_test_veceqxd96t", "status": "awaiting_payment", "...": "the full order object" }
}
```

Returns `201`. Uploading a file for a SKU replaces any pending proof for that SKU (it becomes `superseded`). Errors: `400 invalid_request` (no `Content-Length`, unsupported extension, missing `sku` when several lines need art), `409 conflict` (order in production, shipped, delivered or cancelled: artwork can't change then), `413 too_large` (over 100 MB), `422 unknown_sku` (SKU not on this order), `429 rate_limited` (60 uploads per hour per order).

### Start a two-step upload or attach a link

`POST /v1/orders/{id}/artwork` · order key · MCP `add_artwork`

| Body | Effect |
|---|---|
| `{ "sku", "url" }` | Attach a file by link. Returns `201 { artwork, order }`. |
| `{ "sku", "filename", "size" }` | Start a two-step upload (up to 500 MB). `size` is the exact byte count. Returns `201` with upload instructions. |

Optional on either: `width_px`, `height_px`, `color_mode`, `is_vector`, and `role: "logo"` for a logo.

```bash curl
curl -s -X POST "https://api.bannerandbooth.com/v1/orders/$BB_ORDER_ID/artwork" \
  -H "Authorization: Bearer $BB_ORDER_KEY" -H "Content-Type: application/json" \
  -d '{"sku":"BB-KIT-1010A","filename":"throw.pdf","size":284113920}'
```

```json Response
{
  "artwork_id": "art_ascgubwz3f",
  "upload": {
    "method": "PUT",
    "url": "https://api.bannerandbooth.com/t/upload/art_ascgubwz3f",
    "headers": { "Content-Type": "application/pdf" },
    "parts": 1,
    "part_size": 284113920,
    "part_url": null,
    "expires_in_seconds": 3600
  },
  "complete_url": "https://api.bannerandbooth.com/v1/orders/bbo_test_veceqxd96t/artwork/art_ascgubwz3f/complete",
  "curl": "curl -X PUT -H \"Content-Type: application/pdf\" --upload-file ./throw.pdf \"https://api.bannerandbooth.com/t/upload/art_ascgubwz3f\" && curl -X POST -H \"Authorization: Bearer $BB_ORDER_KEY\" \"https://api.bannerandbooth.com/v1/orders/bbo_test_veceqxd96t/artwork/art_ascgubwz3f/complete\""
}
```

Then:

1. If `upload.parts` is 1, `PUT` the whole file to `upload.url` with `upload.headers`. No `Authorization` header.
2. If `upload.parts` is more than 1, `PUT` each part to `upload.part_url` with `{n}` replaced by `1` to `parts`. Every part except the last is exactly `part_size` bytes (95 MB).
3. `POST` to `complete_url` with the order key.

Treat `upload.url` as opaque. It may be a Banner & Booth URL (valid 24 hours) or a signed storage URL (valid 1 hour); `expires_in_seconds` says which. Full Python and Node code: [Artwork: two-step upload](https://docs.bannerandbooth.com/guides/artwork#two-step-upload).

### Complete a two-step upload

`POST /v1/orders/{id}/artwork/{artwork_id}/complete` · order key

The `complete_url` from the previous step. No body needed (measurements may be sent). Returns `200 { artwork, order }`. Errors: `404 not_found` (unknown upload), `409 conflict` (bytes not received yet, or already completed).

### List artwork

`GET /v1/orders/{id}/artwork` · order key

```bash curl
curl -s "https://api.bannerandbooth.com/v1/orders/$BB_ORDER_ID/artwork" -H "Authorization: Bearer $BB_ORDER_KEY"
```

```json Response
{
  "order_id": "bbo_test_veceqxd96t",
  "artwork": [
    { "id": "art_hbhjd5wk4d", "sku": "BB-TT-6FIT", "role": "logo", "filename": "logo.svg", "size": 115, "content_type": "image/svg+xml", "source": "upload", "url": null, "status": "received", "preflight": null, "created_at": "2026-12-01T04:18:57Z" },
    { "id": "art_5vv4f8ax26", "sku": "BB-TB-10ST", "role": "artwork", "filename": "backdrop.svg", "size": 205, "content_type": "image/svg+xml", "source": "upload", "url": null, "status": "received", "preflight": { "verdict": "PASS", "checks": [], "effective_dpi": null }, "created_at": "2026-12-01T04:19:10Z" }
  ]
}
```

Shortened (`checks` emptied, briefs omitted). Two-step uploads that haven't been completed aren't listed; the order's `artwork.uploads_in_progress` counts them. Fields are described in the [order object](https://docs.bannerandbooth.com/reference/order-object#artwork).

### Submit a design brief

`POST /v1/orders/{id}/design-brief` · order key · MCP `submit_design_brief` · CLI `bannerbooth order brief`

For a buyer with no print-ready file. Send a logo and the words; Banner & Booth prepress lays out the item for free and sends a proof. The brief counts as that item's artwork.

| Field | Type | Description |
|---|---|---|
| `sku` | string | The line it's for. Optional when only one line needs artwork. |
| `logo_url` | string | A link to the logo. |
| `logo_artwork_id` | string | Or the `id` of a logo uploaded to this order with `role=logo`. |
| `headline`, `subheadline` | string | Up to 120 and 200 characters. |
| `body_text` | string | Up to 1,000 characters. |
| `website`, `phone`, `contact_email` | string | Contact lines to print. |
| `colors` | array | Up to 10 hex or Pantone values, e.g. `["#C2411F", "PMS 186 C"]`. |
| `fonts` | string | Brand fonts. |
| `notes` | string | Layout instructions, up to 2,000 characters. |
| `reference_urls` | array | Up to 5 links to examples or a brand guide. |

At least one of a logo, `headline` or `notes` is required.

```bash curl
curl -s -T logo.svg -H "Authorization: Bearer $BB_ORDER_KEY" \
  "https://api.bannerandbooth.com/v1/orders/$BB_ORDER_ID/artwork?sku=BB-TT-6FIT&filename=logo.svg&role=logo" > logo.json

curl -s -X POST "https://api.bannerandbooth.com/v1/orders/$BB_ORDER_ID/design-brief" \
  -H "Authorization: Bearer $BB_ORDER_KEY" -H "Content-Type: application/json" \
  -d "{\"sku\":\"BB-TT-6FIT\",\"logo_artwork_id\":\"$(jq -r .artwork.id logo.json)\",\"headline\":\"Robots that ship\",\"website\":\"acmerobotics.com\",\"colors\":[\"#C2411F\",\"PMS 186 C\"],\"notes\":\"Logo centered on the front panel, website below it.\"}" \
  | jq '.artwork'
```

```python Python
import os, requests

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

with open("logo.svg", "rb") as f:
    logo = requests.put(f"{API}/v1/orders/{oid}/artwork", headers=auth, data=f, timeout=120,
                        params={"sku": "BB-TT-6FIT", "filename": "logo.svg", "role": "logo"}).json()["artwork"]

brief = requests.post(f"{API}/v1/orders/{oid}/design-brief", headers=auth, timeout=30, json={
    "sku": "BB-TT-6FIT", "logo_artwork_id": logo["id"], "headline": "Robots that ship",
    "website": "acmerobotics.com", "colors": ["#C2411F", "PMS 186 C"],
    "notes": "Logo centered on the front panel, website below it.",
}).json()
print(brief["artwork"]["role"], brief["order"]["artwork"]["needed_for"])
```

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

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

const logo = (await (await fetch(`${API}/v1/orders/${BB_ORDER_ID}/artwork?sku=BB-TT-6FIT&filename=logo.svg&role=logo`,
  { method: "PUT", headers: auth, body: await readFile("logo.svg") })).json()).artwork;

const brief = await (await fetch(`${API}/v1/orders/${BB_ORDER_ID}/design-brief`, {
  method: "POST",
  headers: { ...auth, "Content-Type": "application/json" },
  body: JSON.stringify({
    sku: "BB-TT-6FIT", logo_artwork_id: logo.id, headline: "Robots that ship",
    website: "acmerobotics.com", colors: ["#C2411F", "PMS 186 C"],
    notes: "Logo centered on the front panel, website below it.",
  }),
})).json();
console.log(brief.artwork.role, brief.order.artwork.needed_for);
```

```json Response
{
  "artwork": {
    "id": "art_h6s52f32u3",
    "sku": "BB-TT-6FIT",
    "role": "brief",
    "filename": "design-brief.json",
    "size": 0,
    "content_type": "application/json",
    "source": "brief",
    "url": null,
    "status": "received",
    "preflight": null,
    "created_at": "2026-12-01T04:18:57Z",
    "brief": {
      "headline": "Robots that ship",
      "subheadline": null,
      "body_text": null,
      "website": "acmerobotics.com",
      "phone": null,
      "email": null,
      "colors": ["#C2411F", "PMS 186 C"],
      "fonts": null,
      "notes": "Logo centered on the front panel, website below it.",
      "reference_urls": [],
      "logo_url": null,
      "logo_artwork_id": "art_hbhjd5wk4d"
    }
  },
  "order": { "...": "the full order object" }
}
```

Returns `201 { artwork, order }` and an `artwork.received` webhook with `"role": "brief"`. A new brief replaces any pending proof for that SKU. Errors: `400 invalid_request` (no logo, headline or notes), `404 not_found` (`logo_artwork_id` not on this order), `409 conflict` (order in production, shipped, delivered or cancelled).

### Proofs

#### List proofs

`GET /v1/orders/{id}/proofs` · order key · MCP `list_proofs` · CLI `bannerbooth order proofs`

```bash curl
curl -s "https://api.bannerandbooth.com/v1/orders/$BB_ORDER_ID/proofs" -H "Authorization: Bearer $BB_ORDER_KEY"
```

```json Response
{
  "order_id": "bbo_test_veceqxd96t",
  "proofs": [
    {
      "id": "prf_7pupsphn3j",
      "version": 1,
      "kind": "auto_preview",
      "status": "superseded",
      "sku": "BB-KIT-1010A",
      "url": "https://api.bannerandbooth.com/p/1c68140f8713d5574df2f955f863abc2.svg",
      "preview_url": "https://api.bannerandbooth.com/p/1c68140f8713d5574df2f955f863abc2.svg",
      "note": null,
      "decided_by": null,
      "created_at": "2026-12-01T03:54:14Z",
      "decided_at": null
    },
    {
      "id": "prf_t6cycxx4jk",
      "version": 3,
      "kind": "human",
      "status": "pending",
      "sku": "BB-KIT-1010A",
      "url": "https://api.bannerandbooth.com/docs-assets/test-proof.svg",
      "preview_url": "https://api.bannerandbooth.com/p/40429c7e4bd1d509908681d28fe24e1f",
      "note": "Simulated prepress proof (test mode).",
      "decision_note": null,
      "decided_by": null,
      "created_at": "2026-12-01T03:54:25Z",
      "decided_at": null
    }
  ]
}
```

Shortened to two of three proofs. Ordered by `version`.

#### Approve a proof

`POST /v1/orders/{id}/proofs/{proof_id}/approve` · order key · MCP `approve_proof` · CLI `bannerbooth order approve`

`{proof_id}` is a `prf_...` id, or `latest` for the newest pending proof. Approval authorizes printing as shown. Only call it on the buyer's explicit instruction.

| Field | Type | Description |
|---|---|---|
| `approved_by` | string | The name of the person approving. Send it: it's recorded as `decided_by`. |
| `note` | string | Optional. Kept with the approval. |

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

```python Python
import os, requests

order = requests.post(
    f"https://api.bannerandbooth.com/v1/orders/{os.environ['BB_ORDER_ID']}/proofs/latest/approve",
    headers={"Authorization": f"Bearer {os.environ['BB_ORDER_KEY']}"},
    json={"approved_by": "Jane Buyer", "note": "Approved in chat"},
    timeout=30,
).json()
print(order["status"], order["proof"]["status"])
```

```javascript Node
const { BB_ORDER_ID, BB_ORDER_KEY } = process.env;
const order = await (
  await fetch(`https://api.bannerandbooth.com/v1/orders/${BB_ORDER_ID}/proofs/latest/approve`, {
    method: "POST",
    headers: { Authorization: `Bearer ${BB_ORDER_KEY}`, "Content-Type": "application/json" },
    body: JSON.stringify({ approved_by: "Jane Buyer", note: "Approved in chat" }),
  })
).json();
console.log(order.status, order.proof.status);
```

Returns the order object. The `note` you send is stored on the proof as `decision_note`; prepress's own note stays in `note`. Errors: `404 not_found` (no such proof, or `latest` with nothing pending: "There is no proof waiting for review."), `409 conflict` (proof already decided or superseded, or order cancelled).

#### Request changes

`POST /v1/orders/{id}/proofs/{proof_id}/request-changes` · order key · MCP `request_proof_changes` · CLI `bannerbooth order changes`

| Field | Type | Required | Description |
|---|---|---|---|
| `changes` | string | yes | 5-2,000 characters, in the buyer's words. |

```bash curl
curl -s -X POST "https://api.bannerandbooth.com/v1/orders/$BB_ORDER_ID/proofs/latest/request-changes" \
  -H "Authorization: Bearer $BB_ORDER_KEY" -H "Content-Type: application/json" \
  -d '{"changes":"Move the logo up 6 inches."}'
```

```python Python
import os, requests

order = requests.post(
    f"https://api.bannerandbooth.com/v1/orders/{os.environ['BB_ORDER_ID']}/proofs/latest/request-changes",
    headers={"Authorization": f"Bearer {os.environ['BB_ORDER_KEY']}"},
    json={"changes": "Move the logo up 6 inches."},
    timeout=30,
).json()
print(order["proof"]["status"])
```

```javascript Node
const { BB_ORDER_ID, BB_ORDER_KEY } = process.env;
const order = await (
  await fetch(`https://api.bannerandbooth.com/v1/orders/${BB_ORDER_ID}/proofs/latest/request-changes`, {
    method: "POST",
    headers: { Authorization: `Bearer ${BB_ORDER_KEY}`, "Content-Type": "application/json" },
    body: JSON.stringify({ changes: "Move the logo up 6 inches." }),
  })
).json();
console.log(order.proof.status);
```

Returns the order object with `proof.status: "changes_requested"`. Errors: `400 invalid_request` (`changes` outside 5-2,000 characters), `404 not_found`, `409 conflict`.

### Get a payment link

`POST /v1/orders/{id}/pay` · order key · MCP `get_payment_link` · CLI `bannerbooth order pay`

| Field | Type | Description |
|---|---|---|
| `email_invoice` | boolean | `true` also emails the link to the order's `email` (live orders). |

```bash curl
curl -s -X POST "https://api.bannerandbooth.com/v1/orders/$BB_ORDER_ID/pay" \
  -H "Authorization: Bearer $BB_ORDER_KEY" -H "Content-Type: application/json" \
  -d '{"email_invoice": false}'
```

```python Python
import os, requests

link = requests.post(
    f"https://api.bannerandbooth.com/v1/orders/{os.environ['BB_ORDER_ID']}/pay",
    headers={"Authorization": f"Bearer {os.environ['BB_ORDER_KEY']}"},
    json={"email_invoice": False},
    timeout=30,
).json()
print(link["status"], link["pay_url"])
```

```javascript Node
const { BB_ORDER_ID, BB_ORDER_KEY } = process.env;
const link = await (
  await fetch(`https://api.bannerandbooth.com/v1/orders/${BB_ORDER_ID}/pay`, {
    method: "POST",
    headers: { Authorization: `Bearer ${BB_ORDER_KEY}`, "Content-Type": "application/json" },
    body: JSON.stringify({ email_invoice: false }),
  })
).json();
console.log(link.status, link.pay_url);
```

```json Response
{
  "status": "unpaid",
  "pay_url": "https://api.bannerandbooth.com/t/pay/bbo_test_veceqxd96t",
  "emailed": false,
  "methods": ["card", "shop_pay", "apple_pay", "google_pay"],
  "note": "Test order: opening the link marks it paid; nothing is charged."
}
```

On a paid order it returns `{ "status": "paid", "pay_url": null, "message": "This order is already paid." }`. Errors: `409 conflict` (order cancelled).

### Cancel an order

`POST /v1/orders/{id}/cancel` · order key · MCP `cancel_order` · CLI `bannerbooth order cancel`

Only while unpaid. Deletes the unpaid Shopify draft order and returns the order object with `status: "cancelled"` and `payment.pay_url: null`. Calling it again on a cancelled order returns the same result. No body.

```bash curl
curl -s -X POST "https://api.bannerandbooth.com/v1/orders/$BB_ORDER_ID/cancel" -H "Authorization: Bearer $BB_ORDER_KEY"
```

```python Python
import os, requests

order = requests.post(
    f"https://api.bannerandbooth.com/v1/orders/{os.environ['BB_ORDER_ID']}/cancel",
    headers={"Authorization": f"Bearer {os.environ['BB_ORDER_KEY']}"},
    timeout=30,
).json()
print(order.get("status"), order.get("error"))
```

```javascript Node
const { BB_ORDER_ID, BB_ORDER_KEY } = process.env;
const order = await (
  await fetch(`https://api.bannerandbooth.com/v1/orders/${BB_ORDER_ID}/cancel`, {
    method: "POST",
    headers: { Authorization: `Bearer ${BB_ORDER_KEY}` },
  })
).json();
console.log(order.status ?? order.error);
```

Errors: `409 conflict` on a paid order ("Paid orders cannot be cancelled through the API."). Email support@bannerandbooth.com with the order number.

### Simulate an event

`POST /v1/orders/{id}/simulate` · order key · test orders only · MCP `simulate_order_event` · CLI `bannerbooth order simulate`

| Field | Type | Required | Description |
|---|---|---|---|
| `event` | string | yes | `paid`, `proof_ready`, `in_production`, `shipped` or `delivered`. |

```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":"paid"}'
```

```python Python
import os, requests

order = requests.post(
    f"https://api.bannerandbooth.com/v1/orders/{os.environ['BB_ORDER_ID']}/simulate",
    headers={"Authorization": f"Bearer {os.environ['BB_ORDER_KEY']}"},
    json={"event": "paid"},
    timeout=30,
).json()
print(order["status"], order["payment"]["status"], order["order_number"])
```

```javascript Node
const { BB_ORDER_ID, BB_ORDER_KEY } = process.env;
const order = await (
  await fetch(`https://api.bannerandbooth.com/v1/orders/${BB_ORDER_ID}/simulate`, {
    method: "POST",
    headers: { Authorization: `Bearer ${BB_ORDER_KEY}`, "Content-Type": "application/json" },
    body: JSON.stringify({ event: "paid" }),
  })
).json();
console.log(order.status, order.payment.status, order.order_number);
```

Returns the order object. Errors: `400 invalid_request` (unknown event), `409 conflict` (live order). See [Test mode](https://docs.bannerandbooth.com/guides/test-mode#simulate-events).

### Reorder

`POST /v1/orders/{id}/reorder` · the **original** order's key · MCP `reorder` · CLI `bannerbooth order reorder`

Creates a new order (same mode: test stays test) with the same items at current prices. The buyer's email, contact details, shipping address, shipping speed and `notify_url` carry over unless you override them. Every artwork file is reused, and the latest approved proof for each item carries over as approved, so identical graphics go straight to payment. `Idempotency-Key` is supported.

| Field | Description |
|---|---|
| `items` | Replace the item list. Default: the original lines. |
| `email`, `shipping_address`, `shipping_speed` | Override what carries over. |
| `show` | The new show. The original show doesn't carry over. |
| `po_number`, `notes`, `discount_code`, `send_invoice_email` | For the new order. |

```bash curl
curl -s -X POST "https://api.bannerandbooth.com/v1/orders/$BB_ORDER_ID/reorder" \
  -H "Authorization: Bearer $BB_ORDER_KEY" -H "Content-Type: application/json" \
  -H "Idempotency-Key: ces-2028-reorder" \
  -d '{"show":{"name":"CES 2028","date":"2028-01-11","venue":"LVCC","booth_number":"N1301"},"po_number":"PO-8120"}' \
  | jq '{id, order_key, status, reorder_of, total, reused_artwork_for, carried_over_approvals, proof: .proof.status, next: [.next_actions[].action]}'
```

```python Python
import os, requests

new = requests.post(
    f"https://api.bannerandbooth.com/v1/orders/{os.environ['BB_ORDER_ID']}/reorder",
    headers={"Authorization": f"Bearer {os.environ['BB_ORDER_KEY']}", "Idempotency-Key": "ces-2028-reorder"},
    json={"show": {"name": "CES 2028", "date": "2028-01-11", "venue": "LVCC", "booth_number": "N1301"}, "po_number": "PO-8120"},
    timeout=60,
).json()
print(new["id"], new["order_key"], new["reused_artwork_for"], new["carried_over_approvals"])
```

```javascript Node
const { BB_ORDER_ID, BB_ORDER_KEY } = process.env;
const fresh = await (
  await fetch(`https://api.bannerandbooth.com/v1/orders/${BB_ORDER_ID}/reorder`, {
    method: "POST",
    headers: { Authorization: `Bearer ${BB_ORDER_KEY}`, "Content-Type": "application/json", "Idempotency-Key": "ces-2028-reorder" },
    body: JSON.stringify({ show: { name: "CES 2028", date: "2028-01-11", venue: "LVCC", booth_number: "N1301" }, po_number: "PO-8120" }),
  })
).json();
console.log(fresh.id, fresh.order_key, fresh.reused_artwork_for, fresh.carried_over_approvals);
```

```json Response
{
  "id": "bbo_test_d2b6dvc8b9",
  "order_key": "bbk_test_...",
  "status": "awaiting_payment",
  "reorder_of": "bbo_test_xxvt4vq96t",
  "total": 633.22,
  "reused_artwork_for": ["BB-TT-6FIT", "BB-TB-10ST", "BB-RB-33STD"],
  "carried_over_approvals": ["BB-TB-10ST", "BB-TT-6FIT", "BB-RB-33STD"],
  "proof": "approved",
  "next": ["pay"]
}
```

That's a real reorder of a paid test order: three items, artwork and approvals carried over, so the only next step is payment. Returns `201` with the new order object plus its `order_key` (store it; the new order has its own key), `key_note`, `reused_artwork_for` and `carried_over_approvals`. Carried-over proofs have `decision_note: "Approved on order <id> (reorder)"`. Reused files have `reused_from: "<old order id>/<artwork id>"`. To change the graphics, upload new artwork to the new order, wait for its new proof, and approve that one before the buyer pays.

A live reorder creates a real order and invoice: confirm items and total with the buyer first. Errors: as for [create](#create-an-order).

---

## Index and health

| Endpoint | Returns |
|---|---|
| `GET https://api.bannerandbooth.com/` | JSON index: `name`, `version`, `docs`, `reference`, `openapi`, `mcp`, `llms_txt`, `status`. |
| `GET /health` | `ok`, `version` (`2.2.0`), `cli_version`, `cli_url`, `catalog_updated`, and counts of options, products and venues. |
