Kit · Schema

List purchases Response

Email MarketingCreator EconomySubscribersAutomationNewslettersSequencesFormsBroadcastsWebhookMCPAgentsAuthenticationMarketing AutomationLanding PagesSegmentationEmail CampaignsSoftware-as-a-ServiceCommerce

Properties

Name Type Description
purchases array
pagination object
View JSON Schema on GitHub

JSON Schema

list_purchases_response.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/convertkit/main/json-schema/list_purchases_response.json",
  "title": "List purchases Response",
  "x-tag": "Purchases",
  "type": "object",
  "properties": {
    "purchases": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "transaction_id": {
            "type": "string"
          },
          "subscriber_id": {
            "type": "integer"
          },
          "status": {
            "type": "string"
          },
          "email_address": {
            "type": "string",
            "description": "The subscriber that the purchase belongs to"
          },
          "currency": {
            "type": "string",
            "description": "3 letter currency code (e.g. `USD`)"
          },
          "transaction_time": {
            "type": "string"
          },
          "subtotal": {
            "type": "number",
            "format": "float"
          },
          "discount": {
            "type": "number",
            "format": "float"
          },
          "tax": {
            "type": "number",
            "format": "float"
          },
          "total": {
            "type": "number",
            "format": "float"
          },
          "products": {
            "type": "array",
            "description": "Array of purchased products",
            "items": {
              "type": "object",
              "properties": {
                "quantity": {
                  "type": "integer",
                  "description": "Product quantity"
                },
                "lid": {
                  "type": "string",
                  "description": "Each product should have a unique `lid` (i.e., line item identifier) for this purchase."
                },
                "unit_price": {
                  "type": "number",
                  "format": "float",
                  "description": "Product price"
                },
                "sku": {
                  "nullable": true,
                  "description": "Product sku"
                },
                "name": {
                  "type": "string",
                  "description": "Product name"
                },
                "pid": {
                  "type": "string",
                  "description": "This is your identifier for a product. Each product provided in the `products` array must have a unique pid. Variants of the same product should have the same pid."
                }
              },
              "required": [
                "quantity",
                "lid",
                "unit_price",
                "sku",
                "name",
                "pid"
              ]
            }
          }
        },
        "required": [
          "id",
          "transaction_id",
          "status",
          "email_address",
          "subscriber_id",
          "currency",
          "transaction_time",
          "subtotal",
          "discount",
          "tax",
          "total",
          "products"
        ]
      }
    },
    "pagination": {
      "type": "object",
      "properties": {
        "has_previous_page": {
          "type": "boolean"
        },
        "has_next_page": {
          "type": "boolean"
        },
        "start_cursor": {
          "type": "string"
        },
        "end_cursor": {
          "type": "string"
        },
        "per_page": {
          "type": "integer"
        }
      },
      "required": [
        "has_previous_page",
        "has_next_page",
        "start_cursor",
        "end_cursor",
        "per_page"
      ]
    }
  },
  "required": [
    "purchases",
    "pagination"
  ]
}

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/list_purchases_response"
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.