Skip to main content

Request a digital proof or free samples

Ready Imprint
  • Optional digital proof
  • Free samples
  • Product-specific minimums
  • Delivery choices
  • Quantity pricing
← Shopping assistants

Agent API & MCP guide

Use the same server-generated estimates as our storefront. Discover a product, read its supported options, then request a quote for the customer’s exact configuration.

OpenAPI 3.1 schema (JSON)

Connect an MCP client

Configure a remote Streamable HTTP connection to the URL below. Use a client that supports adding custom MCP servers. No private backend credential is required for these public, read-only tools.

https://readyimprint.com/mcp

With a current SDK, let the SDK negotiate the protocol. Older clients use the initialize handshake; newer protocol versions can use server discovery. The connection exposes tools for discovery and estimates. It does not expose customer records, saved orders, payment actions, or artwork approval. An endpoint connection does not register us automatically in a third-party shopping directory.

For direct protocol clients: let your MCP SDK establish the connection, then list and call tools. Use the negotiated protocol version and accept JSON and event-stream responses. This server uses stateless HTTP with JSON responses.

Discover before you quote

search_products

Find available products. Use category and query filters, then paginate the bounded result set.

get_product_options

Read supported customization fields and a quote template for the selected product. Check coverage before filling in options.

get_proof_options

Read the digital-proof policy. Use request_quote for the configuration’s current proof fee. A proof request is not artwork approval.

request_quote

Calculate an estimate with authoritative server pricing. Does not save an order, send email, charge a payment, or create a proof.

get_configuration_schema

Read the selection schema and template for lanyards, wristbands, can coolers, table covers and apparel, including supported colors, text, hardware and quantity rows.

quote_configuration

Price a completed configuration and return a customer review link. The link carries selections into the product page; prices refresh when opened. Artwork upload and delivery review stay on the website.

Availability follows this storefront’s enabled categories. Lanyards, wristbands, can coolers, table covers and apparel support configuration handoff. Patches, PVC ID cards, balloons, tote bags, poly mailers, USB flash drives and coasters support the listed starting configurations; adjust other choices on the product page. Start with get_configuration_schema, complete its template with the customer’s choices, then call quote_configuration and share review_url. Other categories use the website for detailed customization. Always follow the returned schema and notes; never guess an unsupported value.

The configuration envelope contains version: 1, category, handle, an explicit proof boolean, and selection. Quotes return total_cents in USD, individual lines and warnings. Delivery upgrades and applicable tax are confirmed during checkout. Opening the link validates and reprices the selections; it does not add to cart, place an order or approve artwork. Review links contain the product choices and any imprint text, so share them only with the intended customer.

REST quote request

Use POST /api/quotes with Content-Type: application/json for a basic quote template. The MCP tools use the same pricing gateway and additionally validate published products and documented choices. For full configuration handoff, send the get_configuration_schema template to quote_configuration, or POST it to /api/agent-configurations. That endpoint accepts at most 16 KB; the configuration itself is limited to 12 KB and 20 rows. Get current product identifiers through discovery rather than hard-coding an identifier from an example.

REST quote request fields
FieldTypeMeaning
categoryRequired stringThe catalog category returned by product discovery.
quantityRequired integer1–1,000,000. This is an input bound, not a promise that every product supports every quantity.
variant_idString; required for lanyardsUse the identifier returned by discovery. Other categories resolve the variant from configuration fields. Badge holders, reels and other lanyard accessories are sold only as part of a lanyard order. Category "accessories" returns 422 with code ACCESSORY_LANYARD_ONLY.
metadataRequired objectPricing selections from the product’s quote template and option schema. Proof decisions are booleans. Do not include artwork files, payment details, or customer personal information.

Save the returned quote template as quote.json, adjust only its supported selections and quantity, then request the estimate:

curl 'https://readyimprint.com/api/quotes' \
  -H 'Content-Type: application/json' \
  -c quote-cookies.txt -b quote-cookies.txt \
  --data-binary @quote.json

Configuration examples

For lanyards, wristbands, can coolers, table covers and apparel, call get_configuration_schema with these argument objects, then complete its template and call quote_configuration. Basic get_product_options templates remain available where supported; a null quote_template means use the full configuration tools or website. Availability is checked at runtime.

100 polyester lanyards

{
  "handle": "lanyard-polyester",
  "category": "lanyards"
}

100 collapsible can coolers

{
  "handle": "can-cooler-collapsible",
  "category": "can-coolers"
}

100 debossed wristbands

{
  "handle": "wristband-debossed",
  "category": "wristbands"
}

One polyester table throw

{
  "handle": "table-cover-throw-polyester",
  "category": "table-covers"
}

24 heavy cotton T-shirts

{
  "handle": "apparel-gildan-5000",
  "category": "apparel"
}

100 embroidered patches (basic quote template: get_product_options)

{
  "handle": "patch-embroidered",
  "category": "patches"
}

The template selects a digital proof explicitly. Change the category’s proof flag to false only when that matches the customer’s choice. These examples are starting configurations, not descriptions of every available option.

Interpret the result

Amounts ending in _cents are integer US cents. The configuration subtotal is result.unit_cents × quantity + result.flat_fees_cents. A null unit price means unavailable, not zero; a resolved zero price remains possible. Breakdown amounts use dollars. The ladder contains at most six quantity comparisons for this configuration. A comparison’s per value is its unit price in cents; flat fees are separate. The ladder’s save value is the rounded percentage saved compared with the highest unit price among those returned rows, not a retail list price or the full catalog ladder.

This is an estimate, not a reserved price or checkout authorization. Requote after a selection or quantity changes. Delivery, any applicable tax and order-level charges, and final artwork details are handled in the ordering workflow. Do not describe the estimate as a confirmed delivered total.

Requesting a proof is not approving artwork

Use the product’s documented proof field as a boolean. Read proofPriceCents for the configuration’s quoted fee. When a proof is selected, the quote already includes its applicable charge; do not add the displayed fee a second time.

Do not promise free proofs or revisions. The customer must review the final layout through the existing artwork-approval workflow. A quote call does not generate a proof or authorize production.

Errors, limits & retries

200
Inspect result.error and result.unit_cents. A null unit price means no valid price was resolved; do not present it as zero.
400
The configuration or JSON is invalid. Correct the fields before retrying.
413
The request exceeds the 32 KB body limit. Send pricing selections only.
429
Rate limited. Wait for Retry-After before retrying; do not rotate cookies or identities.
503
Pricing is temporarily unavailable. Retry with backoff; do not substitute an old estimate as a current quote.

Quotes use shared session, network, and service-wide limits. Keep the returned session cookie when your client supports it. Requests from the same network share a ceiling even when cookies change. Current quote ceilings are 120 requests per session per minute, 240 per network per minute, and 1,200 service-wide per minute. Discovery has a separate process-local limit of 60 calls per network per minute, bounded search pages of 20 products, and a short catalog cache. Process-local discovery limits reset on restart and are not a global cross-replica quota. Limits are ceilings, not guaranteed capacity; respect Retry-After.

MCP may represent a failed tool call as an error result within a successful protocol response. Check the tool’s isError flag and message, not only the HTTP status. Browser origins are checked; an invalid Origin receives HTTP 403.

Need an option that discovery cannot describe? Contact Ready Imprint or use the product’s configurator. Never invent a supported material, deadline, or artwork approval.