InvoiceMate API Distribution

Sell our catalog on your storefront — with live stock and tiered pricing

Middleman gives resellers authenticated APIs to sync products, check availability, create orders, and decrement inventory in real time.

Live products

Artists

Price tiers

How it works

1. Get your API key
Register, get approved, create a key scoped to your site. Each site gets its own credentials.
2. Sync the catalog
Pull products with filters, images, MRP and your tier price. Use /products/sync for deltas.
3. Sell & confirm
Quote → reserve stock → confirm after your customer pays. We decrement inventory transactionally.

Reseller tiers

Pricing is tiered — Silver, Gold, Platinum — with optional per-category or per-product overrides.

Silver

10%

off MRP

Entry tier

Gold

18%

off MRP

Standard tier

Platinum

25%

off MRP

Premium tier

Built for production

Hashed API keys

Secrets never stored in plaintext. Timing-safe verification, rotatable keys, scopes & rate limits.

Transactional stock

SELECT … FOR UPDATE on confirm. Reservations prevent overselling across your site and ours.

Usage dashboard

See every API hit, error rate, top endpoints, and orders — all scoped to your account.

Quick start

Sign up, grab a sandbox key, and you are querying a real API in under a minute — no approval needed.

# Sandbox: a fixed 10-product catalog, real inventory never touched
curl -H "Authorization: Bearer mk_test_xxx.SECRET" \
  "https://YOUR_HOST/api/v1/products?limit=10"

# Go live by swapping the key. Nothing else changes.
curl -H "Authorization: Bearer mk_live_xxx.SECRET" \
  "https://YOUR_HOST/api/v1/products?limit=10"

FAQ

What is Middleman?

A reseller API platform on top of InvoiceMate. Same catalog your shop-app uses, exposed as authenticated JSON APIs.

How does pricing work?

You are assigned a tier (Silver/Gold/Platinum). APIs return MRP and your reseller_price. You set your own retail.

When is stock reduced?

Only when you confirm an order (or use the one-shot POST /orders). Reserve holds stock temporarily.

Can I test before going live?

Yes. Create a test key and every endpoint serves a fixed 10-product sandbox with isolated orders — real inventory is never touched. Test keys work even before your account is approved, and the response schema is identical to live, so you go live by swapping the key.

Can I have multiple sites?

Yes. Each site has its own domain, webhooks, and API keys.