Refersion · Schema

Conversion

A tracked purchase or qualifying action attributed to an affiliate.

Affiliate MarketingInfluencer MarketingE-CommerceReferral TrackingCommission ManagementShopify

Properties

Name Type Description
conversion_id stringinteger Unique identifier for the conversion.
order_id string The order ID from the merchant's e-commerce platform.
affiliate_id integer The numeric ID of the affiliate this conversion is attributed to.
offer_id integer The ID of the offer under which this conversion was recorded.
status string The approval status of the conversion.
payment_status string Whether the commission for this conversion has been paid.
commission_total number The total commission earned for this conversion.
order_total number The total order value.
commissionable_order_total number The portion of the order total that is commissionable.
currency string Three-letter ISO currency code.
is_test_conversion boolean Whether this is a test conversion.
type string The mechanism by which the conversion was tracked.
items array Line items associated with this conversion.
View JSON Schema on GitHub

JSON Schema

conversion.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/refersion/main/json-schema/conversion.json",
  "title": "Conversion",
  "description": "A tracked purchase or qualifying action attributed to an affiliate.",
  "type": "object",
  "properties": {
    "conversion_id": {
      "type": ["string", "integer"],
      "description": "Unique identifier for the conversion."
    },
    "order_id": {
      "type": "string",
      "description": "The order ID from the merchant's e-commerce platform."
    },
    "affiliate_id": {
      "type": "integer",
      "description": "The numeric ID of the affiliate this conversion is attributed to."
    },
    "offer_id": {
      "type": "integer",
      "description": "The ID of the offer under which this conversion was recorded."
    },
    "status": {
      "type": "string",
      "enum": ["PENDING", "APPROVED", "UNQUALIFIED", "DENIED"],
      "description": "The approval status of the conversion."
    },
    "payment_status": {
      "type": "string",
      "enum": ["PAID", "UNPAID"],
      "description": "Whether the commission for this conversion has been paid."
    },
    "commission_total": {
      "type": "number",
      "description": "The total commission earned for this conversion."
    },
    "order_total": {
      "type": "number",
      "description": "The total order value."
    },
    "commissionable_order_total": {
      "type": "number",
      "description": "The portion of the order total that is commissionable."
    },
    "currency": {
      "type": "string",
      "minLength": 3,
      "maxLength": 3,
      "description": "Three-letter ISO currency code."
    },
    "is_test_conversion": {
      "type": "boolean",
      "description": "Whether this is a test conversion."
    },
    "type": {
      "type": "string",
      "enum": [
        "AFFILIATE_SITE_CONVERSION",
        "MANUAL_CREDIT_BY_CLIENT",
        "CONVERSION_TRIGGER_SKU",
        "CONVERSION_TRIGGER_COUPON",
        "CONVERSION_TRIGGER_EMAIL",
        "AUTO_CREDIT_AFFILIATE_ID",
        "CANCELLATION_AFFILIATE_SITE_CONVERSION",
        "CANCELLATION_MANUAL_CREDIT_BY_CLIENT",
        "CANCELLATION_CONVERSION_TRIGGER_SKU",
        "CANCELLATION_CONVERSION_TRIGGER_COUPON",
        "CANCELLATION_CONVERSION_TRIGGER_EMAIL",
        "CANCELLATION_AUTO_CREDIT_AFFILIATE_ID"
      ],
      "description": "The mechanism by which the conversion was tracked."
    },
    "items": {
      "type": "array",
      "description": "Line items associated with this conversion.",
      "items": {
        "type": "object",
        "properties": {
          "sku": {
            "type": "string",
            "description": "Product SKU."
          },
          "price": {
            "type": "number",
            "description": "Unit price."
          },
          "quantity": {
            "type": "integer",
            "description": "Quantity ordered."
          }
        },
        "required": ["sku"]
      }
    }
  }
}

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/conversion"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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