MerchantFlow · Schema

ProfitabilityDay

E-CommerceAnalyticsSoftware-as-a-ServiceProfitabilityShopifyWooCommerce

Properties

Name Type Description
date string YYYY-MM-DD in the store timezone.
currency string
gross_revenue number Amount in the order currency.
refunds number Amount in the order currency.
net_revenue number Amount in the order currency.
shipping_revenue number Amount in the order currency.
discounts number Amount in the order currency.
cogs number Amount in the order currency.
product_cost_only number COGS excluding handling cost.
ad_spend number Amount in the order currency.
payment_fees number Includes fees estimated from the merchant's payment fee rules for orders whose platform reported no fee. The per-order split is available as payment_fee_source on /orders.
shipping_cost number Amount in the order currency.
fulfillment_cost number Amount in the order currency.
tax number Amount in the order currency.
variable_costs number Amount in the order currency.
opex number Amount in the order currency.
amortised_expenses number Amount in the order currency.
interest_expense number Amount in the order currency.
product_margin_cm1 number net_revenue - product_cost_only.
gross_profit_cm2 number net_revenue - cogs.
contribution_margin_cm3 number gross_profit_cm2 - shipping - fulfilment - payment fees - ad spend.
ebitda number Amount in the order currency.
net_profit number Amount in the order currency.
cogs_coverage_pct numbernull
View JSON Schema on GitHub

JSON Schema

merchantflow-ai-profitability-day-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/merchantflow-ai/json-schema/merchantflow-ai-profitability-day-schema.json",
  "title": "ProfitabilityDay",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/merchantflow-ai-openapi.json#/components/schemas/ProfitabilityDay",
  "type": "object",
  "properties": {
    "date": {
      "type": "string",
      "description": "YYYY-MM-DD in the store timezone."
    },
    "currency": {
      "type": "string"
    },
    "gross_revenue": {
      "type": "number",
      "description": "Amount in the order currency."
    },
    "refunds": {
      "type": "number",
      "description": "Amount in the order currency."
    },
    "net_revenue": {
      "type": "number",
      "description": "Amount in the order currency."
    },
    "shipping_revenue": {
      "type": "number",
      "description": "Amount in the order currency."
    },
    "discounts": {
      "type": "number",
      "description": "Amount in the order currency."
    },
    "cogs": {
      "type": "number",
      "description": "Amount in the order currency."
    },
    "product_cost_only": {
      "type": "number",
      "description": "COGS excluding handling cost."
    },
    "ad_spend": {
      "type": "number",
      "description": "Amount in the order currency."
    },
    "payment_fees": {
      "type": "number",
      "description": "Includes fees estimated from the merchant's payment fee rules for orders whose platform reported no fee. The per-order split is available as payment_fee_source on /orders."
    },
    "shipping_cost": {
      "type": "number",
      "description": "Amount in the order currency."
    },
    "fulfillment_cost": {
      "type": "number",
      "description": "Amount in the order currency."
    },
    "tax": {
      "type": "number",
      "description": "Amount in the order currency."
    },
    "variable_costs": {
      "type": "number",
      "description": "Amount in the order currency."
    },
    "opex": {
      "type": "number",
      "description": "Amount in the order currency."
    },
    "amortised_expenses": {
      "type": "number",
      "description": "Amount in the order currency."
    },
    "interest_expense": {
      "type": "number",
      "description": "Amount in the order currency."
    },
    "product_margin_cm1": {
      "type": "number",
      "description": "net_revenue - product_cost_only."
    },
    "gross_profit_cm2": {
      "type": "number",
      "description": "net_revenue - cogs."
    },
    "contribution_margin_cm3": {
      "type": "number",
      "description": "gross_profit_cm2 - shipping - fulfilment - payment fees - ad spend."
    },
    "ebitda": {
      "type": "number",
      "description": "Amount in the order currency."
    },
    "net_profit": {
      "type": "number",
      "description": "Amount in the order currency."
    },
    "cogs_coverage_pct": {
      "type": [
        "number",
        "null"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/merchantflow-ai-profitability-day"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.