PROTOTYPE — TEST ONLY — NOT A REAL STORE

Airo Commerce + Printify Automation

Airo owns the storefront, cart, checkout, payment, and order database. Printify orders are submitted automatically server-side after payment — no manual entry required.

Architecture Capabilities

Airo order database

MySQL — products, variants, orders, order_items tables. One master order per customer checkout.

Unified cart

Single Airo cart holds both Printify and native items. Customer sees one cart, one total.

One checkout / one payment

Customer pays once through Airo. Printify is never charged by the customer — Printify charges the merchant separately for production.

Auto Printify submission

POST /api/orders inspects fulfillment_source per line item. Printify items are automatically submitted to POST /v1/shops/{id}/orders.json server-side.

Failure isolation

If Printify API fails, the master order is preserved. Items are marked printify_submission_failed for retry — no data loss.

Native item fulfillment

Non-Printify items stored with status awaiting_fulfillment in the same order for merchant fulfillment.

Printify order ID stored

Returned Printify order ID is written to order_items.printify_order_id immediately after successful submission.

Status polling

GET /api/orders/:id polls Printify live for current status on any non-terminal Printify order IDs.

Webhook support

POST /api/printify/webhook receives order:updated and order:shipment:created events. Register URL in Printify Settings → Webhooks.

Secure credentials

PRINTIFY_API_TOKEN and PRINTIFY_SHOP_ID stored in Airo Secrets — never in client JS.

No manual Printify entry

Merchant never opens Printify to create orders. Submission is fully automated on checkout.

Mixed order support

One order can contain Printify + native items. Customer sees one confirmation. Fulfillment splits internally.

Loading products...