Back to FreshOn
For Developers & Partners

Build on honest food. The FreshOn Partner API.

A REST API for marketplaces, aggregators and ordering apps: read our full catalog — categories, products, pack variants, live availability — and place orders that flow straight into FreshOn's own picking and delivery operation.

Base URLhttps://api.freshon.in/api/partner/v1/
What the API provides

Full catalog feed

Categories, subcategories and every product with its pack variants — selling price, MRP, GST rate, barcode, SKU, net weight and WebP product images, ready to mirror into your own listings.

Live availability

Every pack variant carries a real-time in_stock flag computed from our warehouse batches at request time, so your storefront never sells what we can't deliver.

Order placement

Place orders by SKU. Prices are always resolved on our side at order time, stock is committed instantly, and the order drops straight into FreshOn's own picking and delivery pipeline.

Configurable delivery

You decide where orders go: CUSTOMER mode ships each order to your buyer's address (dropship), COMPANY mode ships everything to your registered company address so you run the last mile.

Simple, secure auth

One API key per partner, sent as an X-API-Key header. Keys are stored hashed on our side, revocable instantly, and scoped to your own data only.

Usage you can see

Plan-based rate limits and daily/monthly quotas, with a /usage/ endpoint that shows your consumption and remaining headroom at any moment.

Delivery, your way

One switch decides where every order goes

As the integration developer, you configure the delivery target once — it's a setting on your key, not a per-order choice.

CUSTOMER mode

Dropship. Each order carries your buyer's address and contact — FreshOn delivers directly to your customer's doorstep, and you never touch the produce.

COMPANY mode

Bulk to you. Every order ships to your registered company address — you consolidate, repack and run the last mile yourself.

How to onboard

From application to first order in four steps

  1. 01 — Apply

    Send one request to the public /register/ endpoint with your company details, use case and the plan you'd like. No key needed.

  2. 02 — Review & key

    The FreshOn team reviews your application. On approval we issue your API key on the requested plan and hand it over securely — it's shown exactly once, so store it in a secrets manager.

  3. 03 — Configure delivery

    Call PUT /config/ to choose CUSTOMER or COMPANY delivery mode (and register your company address for the latter). Verify everything with GET /ping/.

  4. 04 — Sync & sell

    Pull the catalog nightly, poll availability intraday, and start placing orders. Track your consumption anytime via GET /usage/.

Apply now
curl -X POST https://api.freshon.in/api/partner/v1/register/ \
  -H "Content-Type: application/json" \
  -d '{
    "company_name": "Acme Marketplace",
    "contact_name": "Ravi Kumar",
    "email": "api@acme.example",
    "use_case": "List FreshOn produce on our marketplace",
    "requested_plan": "STANDARD"
  }'
Then placing an order looks like
curl -X POST https://api.freshon.in/api/partner/v1/orders/ \
  -H "X-API-Key: fsk_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "items": [{ "sku": "ORAN-1KG-a1b2c3d4", "quantity": 2 }],
    "customer": { "name": "Ravi Kumar", "phone": "+919876543210" },
    "delivery_address": { "address_line": "5 Lake View Rd, Bengaluru 560034" },
    "external_reference": "ACME-1001"
  }'
Plans & service limits

Fair limits that grow with you

PlanBurst rateDaily quotaMonthly quota
Free60 / min5,000 / day100,000 / month
Standard120 / min20,000 / day400,000 / month
Enterprise300 / min100,000 / day2,000,000 / month

Every ceiling is visible on your key via /ping/ and can be raised individually for high-volume partners — just ask.

Endpoint overview
MethodEndpointWhat it does
POST/register/Apply for access (no key needed)
GET/ping/Validate your key & see its limits
GET/categories/Categories with nested subcategories
GET/subcategories/Subcategories, filterable by category
GET/products/Products + variants; filter by category, search, SKU, barcode, in-stock
GET/products/{id}/Full product detail with image gallery
GET/PUT/config/Your delivery mode & company address
POST/orders/Place an order by SKU
GET/orders/Your orders — filter by status or your own reference
GET/usage/Consumption vs your plan's quotas

Need the full request/response reference, sync recipes or a higher plan? Write to support@freshon.in with the subject “Partner API” and we'll get you the complete integration guide.