Banner & BoothDocs

Ordering

The full order lifecycle: quote, create, artwork, proof, payment, production and shipping, with statuses, next_actions and an agent loop.

An order moves through two tracks at the same time: payment (the buyer pays a Shopify-hosted link) and artwork (files go in, a proof comes back, the buyer approves it). Printing starts only when both tracks are done. This page explains every state, what the API tells you to do next, and how an agent should drive an order from creation to delivery.

Lifecycle

create ──► awaiting_payment ──(buyer pays pay_url)──► paid
   │                                                      │
   └── upload artwork any time ──► artwork_received ──► proof_ready ──► approved ──► in_production ──► shipped ──► delivered
                                         ▲                    │
                                         └─ changes_requested ┘
  • Artwork can be uploaded and proofs approved before payment. You don't have to wait for the buyer to pay.
  • Nothing prints until the order is paid and every item that needs artwork has an approved proof.
  • Blank hardware (sandbags, lights, carry cases, brochure stands) needs no artwork. An order with only blank items goes straight from paid to production.

The two fields to read

Every order response, from create, get and every action, is the full order object. Two fields tell you what to do:

  • status: one value summarizing where the order is.
  • next_actions: an ordered list of what should happen now, each with a description and the exact call to make.

Read them on every response. Don't derive the state yourself from sub-statuses.

Statuses

statusMeaningWhat the agent does
awaiting_paymentLive order not paid yet. Shown until payment lands, even if artwork and proofs are done.Give the buyer payment.pay_url. Keep working the artwork track.
awaiting_artworkPaid; at least one item still needs a print file.Upload artwork for each SKU in artwork.needed_for.
in_prepressPaid; artwork received; prepress is making the proof.Wait. A prepress proof normally follows within 2 business hours.
proof_readyPaid; a proof or automatic preview is waiting for the buyer's decision.Show the proof to the buyer. Approve or request changes on their instruction.
changes_requestedThe buyer asked for changes; prepress is revising.Wait for the next proof version.
approvedPaid, and every proof is approved (or nothing needs artwork); production is next.Wait.
in_productionPrinting and assembly.Wait, or tell the buyer the production window from the product's turnaround.
shippedHanded to the carrier. Tracking is in fulfillment.tracking.Give the buyer the tracking link.
deliveredCarrier reports delivery.Done.
cancelledCancelled while unpaid.Done.

Because an unpaid order always shows awaiting_payment, check the sub-statuses and next_actions to see artwork progress on an unpaid order. An unpaid order with an approved proof shows status: "awaiting_payment" and proof.status: "approved". Production and shipping take priority over everything else: once an order is in_production, shipped or delivered, that's its status.

Sub-statuses

FieldValues
payment.statusunpaid, paid, partially_paid, refunded, voided
artwork.statusnot_required, needed, received, problem
proof.statusnot_started, preview_ready, proof_ready, changes_requested, approved
fulfillment.statusunfulfilled, in_production, shipped, delivered

artwork.status: "problem" means a file failed (for example a link couldn't be fetched) and that SKU still needs a usable file. Upload a corrected one. Prepress also contacts the buyer by email about files it can't use.

next_actions

Each entry has an action and a description, plus whichever of these apply: url (a page a human opens), sku, http (method and URL), curl (a complete command), cli (a bannerbooth command), proof_id, kind, approve_http and changes_http (for proofs), and tracking (once shipped).

On a live order right after creation:

"next_actions": [
  {
    "action": "pay",
    "description": "Open the payment link and pay with card, Shop Pay, Apple Pay or Google Pay.",
    "url": "https://bannerandbooth.com/.../invoices/...",
    "cli": "bannerbooth order pay bbo_k3m9q2x7vd"
  },
  {
    "action": "upload_artwork",
    "sku": "BB-KIT-1010A",
    "description": "Upload the print file for BB-KIT-1010A.",
    "http": "PUT https://api.bannerandbooth.com/v1/orders/bbo_k3m9q2x7vd/artwork?sku=BB-KIT-1010A&filename=<file>",
    "curl": "curl -T ./artwork.pdf -H \"Authorization: Bearer $BB_ORDER_KEY\" \"https://api.bannerandbooth.com/v1/orders/bbo_k3m9q2x7vd/artwork?sku=BB-KIT-1010A&filename=artwork.pdf\"",
    "cli": "bannerbooth order upload bbo_k3m9q2x7vd ./artwork.pdf --sku BB-KIT-1010A"
  }
]

When a proof is waiting (from a real test order):

{
  "action": "review_proof",
  "sku": "BB-KIT-1010A",
  "proof_id": "prf_t6cycxx4jk",
  "kind": "human",
  "description": "Review the proof for BB-KIT-1010A and approve it or request changes.",
  "url": "https://api.bannerandbooth.com/p/40429c7e4bd1d509908681d28fe24e1f",
  "approve_http": "POST https://api.bannerandbooth.com/v1/orders/bbo_test_veceqxd96t/proofs/prf_t6cycxx4jk/approve",
  "changes_http": "POST https://api.bannerandbooth.com/v1/orders/bbo_test_veceqxd96t/proofs/prf_t6cycxx4jk/request-changes",
  "cli": "bannerbooth order approve bbo_test_veceqxd96t prf_t6cycxx4jk"
}
actionWho actsWhat to do
payThe buyerShow url (same as payment.pay_url). The agent cannot pay.
upload_artworkThe agentUpload a file for sku. Replace ./artwork.pdf in curl and cli (and <file> in http) with the real file.
review_proofThe buyer decides, the agent records itShow url to the buyer. Then call approve_http or changes_http with the buyer's words.
wait_for_proofPrepressPoll GET /v1/orders/{id} or wait for the proof.ready webhook.
wait_for_productionBanner & BoothPoll occasionally or wait for order.shipped.
track_shipmentThe buyerShare the tracking link from fulfillment.tracking.
noneNobodyThe order is delivered or cancelled.

The list is ordered by priority, but entries are independent. When both pay and upload_artwork appear, do the upload yourself and send the payment link to the buyer in the same turn.

Step by step

1. Price it

POST /v1/orders/quote takes the same body as create, needs no email, and creates nothing. It returns lines, subtotal, discount, shipping, total, the deadline check, seller and policies. tax is null in a quote: sales tax is added at payment.

curl -s 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": { "name": "CES 2027", "date": "2027-01-06", "venue": "LVCC" }
  }'

With the 2026-11-30 prices this is $404.99 + $124.99 + $84.99 = $614.97, minus BOOTH5 (5%, $30.75) = $584.22 before tax, with ground shipping included.

2. Confirm with the buyer

Before a live order, show the buyer everything they're agreeing to, and ask for a yes. The quote response has all of it:

  • The seller: seller.name (Banner & Booth), operated by seller.legal_name (Packrift LLC).
  • Every line with its unit price and line total.
  • The discount code and amount.
  • Shipping speed and amount, and the address.
  • That sales tax is added at payment (tax is null until then, or an estimate if you sent an address).
  • The total and the currency (USD).
  • Production and shipping time (each product's turnaround) and the deadline status for the show.
  • The refund policy link: policies.refunds.

Agents that create live orders without confirmation will be rate limited quickly (10 live creates per hour per IP) and send buyers invoices they didn't ask for.

3. Create

POST /v1/orders returns 201 with the order object (including customer, shipping_address and show.labeling, so you can read back what was recorded) plus order_key and a key_note reminder. If you set notify_url, the response also includes webhook_secret. Both are shown only in this response (and in idempotent replays of it). If any artwork_urls couldn't be attached, they're listed in warnings.

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",
    "show": { "name": "CES 2027", "date": "2027-01-06", "venue": "LVCC", "booth_number": "N1234" },
    "source": "my-agent",
    "test": true
  }'

Store id and order_key right away. See Keys below.

4. Artwork

Upload one file per SKU that needs art (artwork.needed_for). Three ways: raw PUT up to 100 MB, a two-step signed upload up to 500 MB, or a link. Each SKU's real-size print template is at GET /v1/products/{sku}/template.svg. If the buyer has only a logo, send a design brief instead and prepress lays it out. See Artwork.

Kits such as BB-KIT-1010A have several printed parts (wall, throw, retractable, podium wrap). Upload one file per part under the kit's SKU and name each file by part (wall.pdf, throw.pdf, banner.pdf, podium.pdf), or send one design brief for the kit. Prepress builds layouts from a logo for free.

5. Proof

For PNG, JPEG and SVG uploads on products with a fixed print size, you get an automatic layout preview right away (kind: "auto_preview"). A prepress proof (kind: "human") normally follows within 2 business hours of receiving artwork. Uploading a new file for a SKU replaces its pending proof. Show the proof to the buyer, then approve it or request changes with their words. See Proofs.

6. Payment

The buyer opens payment.pay_url (a Shopify-hosted checkout for exactly this order) and pays by card, Shop Pay, Apple Pay or Google Pay. GET /v1/orders/{id} shows payment.status: "paid" and an order_number afterward. See Payments.

7. Production and shipping

Once paid and approved, the order moves to in_production, then shipped with tracking in fulfillment.tracking, then delivered. Production and transit times come from each product's turnaround (for example "2-4 business days production, 1-5 days ground transit").

Drive the loop

The whole integration can be one loop: read the order, act on next_actions, wait, repeat. This script uploads artwork it has files for and prints what the buyer needs to do. It stops at delivered or cancelled.

# drive_order.py: python3 drive_order.py  (needs BB_ORDER_ID and BB_ORDER_KEY)
import os, time, requests

API = "https://api.bannerandbooth.com"
ORDER_ID = os.environ["BB_ORDER_ID"]
AUTH = {"Authorization": f"Bearer {os.environ['BB_ORDER_KEY']}"}
FILES = {"BB-KIT-1010A": "backdrop.svg"}  # sku -> local print file

def get_order():
    r = requests.get(f"{API}/v1/orders/{ORDER_ID}", headers=AUTH, timeout=30)
    r.raise_for_status()
    return r.json()

def upload(sku, path):
    with open(path, "rb") as f:
        r = requests.put(
            f"{API}/v1/orders/{ORDER_ID}/artwork",
            params={"sku": sku, "filename": os.path.basename(path)},
            headers=AUTH, data=f, timeout=300,
        )
    r.raise_for_status()
    print(f"uploaded {path} for {sku}")

uploaded = set()
told = set()
while True:
    order = get_order()
    print(order["status"], [a["action"] for a in order["next_actions"]])
    if order["status"] in ("delivered", "cancelled"):
        break
    for a in order["next_actions"]:
        kind = a["action"]
        if kind == "upload_artwork":
            for sku in order["artwork"]["needed_for"]:
                if sku in FILES and sku not in uploaded:
                    upload(sku, FILES[sku])
                    uploaded.add(sku)
        elif kind in ("pay", "review_proof", "track_shipment") and (kind, order["status"]) not in told:
            print(f"BUYER: {a['description']} {a.get('url', '')}")
            told.add((kind, order["status"]))
    time.sleep(60)
// drive_order.mjs: node drive_order.mjs  (needs BB_ORDER_ID and BB_ORDER_KEY)
import { readFile } from "node:fs/promises";
import { basename } from "node:path";

const API = "https://api.bannerandbooth.com";
const { BB_ORDER_ID, BB_ORDER_KEY } = process.env;
const AUTH = { Authorization: `Bearer ${BB_ORDER_KEY}` };
const FILES = { "BB-KIT-1010A": "backdrop.svg" }; // sku -> local print file

async function getOrder() {
  const r = await fetch(`${API}/v1/orders/${BB_ORDER_ID}`, { headers: AUTH });
  if (!r.ok) throw new Error(JSON.stringify(await r.json()));
  return r.json();
}

async function upload(sku, path) {
  const url = `${API}/v1/orders/${BB_ORDER_ID}/artwork?sku=${encodeURIComponent(sku)}&filename=${encodeURIComponent(basename(path))}`;
  const r = await fetch(url, { method: "PUT", headers: AUTH, body: await readFile(path) });
  if (!r.ok) throw new Error(JSON.stringify(await r.json()));
  console.log(`uploaded ${path} for ${sku}`);
}

const uploaded = new Set();
const told = new Set();
for (;;) {
  const order = await getOrder();
  console.log(order.status, order.next_actions.map((a) => a.action));
  if (["delivered", "cancelled"].includes(order.status)) break;
  for (const a of order.next_actions) {
    if (a.action === "upload_artwork") {
      for (const sku of order.artwork.needed_for) {
        if (FILES[sku] && !uploaded.has(sku)) {
          await upload(sku, FILES[sku]);
          uploaded.add(sku);
        }
      }
    } else if (["pay", "review_proof", "track_shipment"].includes(a.action) && !told.has(a.action + order.status)) {
      console.log(`BUYER: ${a.description} ${a.url ?? ""}`);
      told.add(a.action + order.status);
    }
  }
  await new Promise((r) => setTimeout(r, 60_000));
}

With a test order, run simulate in another terminal to move it along. The CLI has the same loop built in: bannerbooth order watch <id> polls until the order ships.

How often to poll

Reads aren't rate limited beyond Cloudflare's defaults, but there's no reason to poll hard. Suggested intervals:

Waiting forPoll every
A proof (in_prepress, changes_requested)1-2 minutes
Payment2-5 minutes while the buyer is in the conversation, otherwise hourly
Production and shippingEvery few hours

Or set notify_url and wait for webhooks, then confirm each one with GET /v1/orders/{id}.

Timeline

GET /v1/orders/{id}/events returns the order's history, oldest first:

curl -s "https://api.bannerandbooth.com/v1/orders/$BB_ORDER_ID/events" \
  -H "Authorization: Bearer $BB_ORDER_KEY"
{
  "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.changes_requested", "at": "2026-12-01T03:54:25Z", "data": { "proof_id": "prf_wnzxmwfr45", "sku": "BB-KIT-1010A", "kind": "human", "by": null, "note": "Move the logo up 6 inches." } },
    { "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" } }
  ]
}

Shortened. Event types are order.created, invoice.emailed and the webhook types. The data contents vary by type.

Idempotency

Send Idempotency-Key: <any unique string> on POST /v1/orders. The same key with the same body within 24 hours returns the original response, including its order_key, with status 200, the header Idempotent-Replayed: true and "idempotent_replayed": true. The same key with a different body returns 409 conflict. Test and live keys are tracked separately.

Over MCP, pass the same thing as the idempotency_key argument to create_order. Always send one: an agent that retries a create_order call after a timeout or a dropped connection gets the original order back (idempotent_replayed: true) instead of a second invoice for the buyer.

Use a key that identifies the purchase, not the attempt: acme-ces-2027-booth is better than a random UUID per retry. If a create call times out or returns 502 upstream_error, retry with the same key.

Changing an order

While the order is unpaid, PATCH /v1/orders/{id} (MCP update_order, CLI bannerbooth order update) changes items, buyer details, the shipping address, shipping speed, discount code, show details, PO number or notes. Send only what changes; items replaces the whole list and show is merged. Totals, the deadline and the payment link update, and an order.updated webhook is sent.

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 '{"shipping_speed":"2nd_day_air","show":{"booth_number":"N1301"}}' | jq '{total, shipping, booth: .show.booth_number}'

Show the buyer the new total before they pay. To change artwork, upload a new file (it replaces the pending proof) or request changes on the current proof. Once an order is paid, PATCH returns 409 conflict: email support@bannerandbooth.com with the order number. Artwork can still be added after payment, until the order goes into production.

Reordering

POST /v1/orders/{id}/reorder (MCP reorder, CLI bannerbooth order reorder), authorized with the original order's key, creates a new order with the same items at today's prices. Contact details, address, shipping speed and notify_url carry over; the show doesn't, so send the new one. Artwork is reused and each item's approved proof carries over, so identical graphics go straight to payment.

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"}}' \
  | jq '{id, order_key, total, carried_over_approvals, next: [.next_actions[].action]}'

The response is the new order with its own order_key: store it. Quote the new total to the buyer, because prices may have changed since the first order. A live reorder sends a real invoice, so confirm with the buyer first. See API reference: reorder.

Cancelling

POST /v1/orders/{id}/cancel works only while the order is unpaid. It deletes the unpaid Shopify draft order, sets status to cancelled, clears payment.pay_url and sends order.cancelled if you set notify_url. Cancelling twice is harmless. On a paid order it returns 409 conflict; email support@bannerandbooth.com instead.

curl -s -X POST "https://api.bannerandbooth.com/v1/orders/$BB_ORDER_ID/cancel" \
  -H "Authorization: Bearer $BB_ORDER_KEY" | jq .status

Order keys

The order_key (bbk_live_<32 hex> or bbk_test_<32 hex>) is the only credential for an order. Send it as Authorization: Bearer <order_key> on every call to /v1/orders/{id}/..., or as the order_key argument to MCP order tools.

  • It's returned once, in the create response. Store it immediately.
  • Anyone with it can upload artwork, approve proofs and cancel an unpaid order. It can't spend money: payment happens on Shopify's checkout.
  • Don't put it in a public repo, an issue, a shared chat or a URL. Keep it in an environment variable or a secrets store.
  • The CLI saves keys to ~/.bannerbooth/orders.json (file mode 600) and looks up keys in this order: --key, BB_ORDER_KEY, then that file.
  • If you lose a key, email support@bannerandbooth.com from the address on the order with the order id.