Ranla · Schema

UpdateAffiliateRequest

Artificial IntelligenceMarketingGrowthSoftware-as-a-ServiceAutomationCompany

Properties

Name Type Description
first_name stringnull
last_name stringnull
company stringnull
website stringnull
country stringnull
notes stringnull
tags array
campaign_id string Move to another campaign; new commissions use its rates
parent_affiliate_id stringnull
postback_url stringnull Receives this partner's `referral.*` and `commission.*` events as JSON POSTs
email_opt_out boolean
commission_override objectnull A rate for this partner only, replacing the campaign's. `null` clears it.
token string Rename the primary link token
View JSON Schema on GitHub

JSON Schema

ranla-ai-update-affiliate-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ranla-ai/json-schema/ranla-ai-update-affiliate-request-schema.json",
  "title": "UpdateAffiliateRequest",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ranla-ai-openapi.yml#/components/schemas/UpdateAffiliateRequest",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "first_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "last_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "company": {
      "type": [
        "string",
        "null"
      ]
    },
    "website": {
      "type": [
        "string",
        "null"
      ]
    },
    "country": {
      "type": [
        "string",
        "null"
      ]
    },
    "notes": {
      "type": [
        "string",
        "null"
      ]
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "campaign_id": {
      "type": "string",
      "description": "Move to another campaign; new commissions use its rates"
    },
    "parent_affiliate_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "postback_url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "description": "Receives this partner's `referral.*` and `commission.*` events as JSON POSTs"
    },
    "email_opt_out": {
      "type": "boolean"
    },
    "commission_override": {
      "type": [
        "object",
        "null"
      ],
      "description": "A rate for this partner only, replacing the campaign's. `null` clears it.",
      "required": [
        "commission_type"
      ],
      "properties": {
        "commission_type": {
          "type": "string",
          "enum": [
            "percent",
            "flat"
          ]
        },
        "commission_bps": {
          "type": "integer",
          "minimum": 0,
          "maximum": 10000
        },
        "commission_flat_cents": {
          "type": "integer",
          "minimum": 1
        }
      }
    },
    "token": {
      "type": "string",
      "description": "Rename the primary link token"
    }
  }
}

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/ranla-ai-update-affiliate-request"
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.