Refersion · Schema

ConversionTrigger

A mechanism used to attribute a conversion to a specific affiliate.

Affiliate MarketingInfluencer MarketingE-CommerceReferral TrackingCommission ManagementShopify

Properties

Name Type Description
trigger_id integer Unique numeric identifier for this trigger.
affiliate_code string The affiliate's Refersion code.
type string The type of conversion trigger.
trigger string The trigger value: a coupon code, SKU string, or email address.
View JSON Schema on GitHub

JSON Schema

conversion-trigger.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/refersion/main/json-schema/conversion-trigger.json",
  "title": "ConversionTrigger",
  "description": "A mechanism used to attribute a conversion to a specific affiliate.",
  "type": "object",
  "required": ["affiliate_code", "type", "trigger"],
  "properties": {
    "trigger_id": {
      "type": "integer",
      "description": "Unique numeric identifier for this trigger."
    },
    "affiliate_code": {
      "type": "string",
      "description": "The affiliate's Refersion code."
    },
    "type": {
      "type": "string",
      "enum": ["COUPON", "SKU", "EMAIL"],
      "description": "The type of conversion trigger."
    },
    "trigger": {
      "type": "string",
      "description": "The trigger value: a coupon code, SKU string, or email address."
    }
  }
}