/ OPEN API

The Flowprint REST API.

Open to every ecommerce colony — Shopify, WooCommerce, BigCommerce, or your own custom checkout. Authenticate, send a cart, get three carbon-smart incentives back. That's the whole loop.

// Authentication
Authorization: Bearer fpk_live_••••••••••••••••
Content-Type: application/json
Base URL: https://api.flowprint.io

Endpoints

POST/v1/checkout/incentives

Return the three optimized shipping options for a given cart.

{
  "cart_id": "c_8821",
  "destination": { "zip": "94110", "country": "US" },
  "items": [{ "sku": "TEE-01", "qty": 2, "weight_g": 320 }],
  "customer_id": "cus_7721"
}
POST/v1/orders

Commit a chosen incentive option once the order is placed. Persists to the carbon ledger.

{
  "order_id": "o_44120",
  "selected_option": "eco",
  "carrier": "ups_ground"
}
GET/v1/carbon/ledger?from=2026-01-01

Auditable per-order emissions report for finance & ESG teams.

POST/v1/webhooks/orders

Subscribe to events: order.optimized, order.shipped, model.retrained.

Ready to plug in?

Generate an API key in minutes — free during integration.

Request a key →