Lynx · Schema

PostEcommerceRefundRequest

CompanyHealthcareFintechPaymentsBenefitsHealth Savings AccountsEmbedded FinanceCard IssuingInsurance

Properties

Name Type Description
data object
idempotency object Unique identifier that represents the operation
View JSON Schema on GitHub

JSON Schema

lynx-post-ecommerce-refund-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lynx/main/json-schema/lynx-post-ecommerce-refund-request-schema.json",
  "title": "PostEcommerceRefundRequest",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lynx-commerce-order-api-openapi.yml#/components/schemas/PostEcommerceRefundRequest",
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/$defs/EcommerceRefundRequestDto"
    },
    "idempotency": {
      "$ref": "#/$defs/Idempotency",
      "description": "Unique identifier that represents the operation"
    }
  },
  "required": [
    "data",
    "idempotency"
  ],
  "$defs": {
    "BaseCartItemDto": {
      "type": "object",
      "properties": {
        "sku": {
          "type": "string",
          "description": "Stock Keeping Unit"
        },
        "quantity": {
          "type": "integer",
          "format": "int32",
          "description": "The quantity for this item."
        }
      }
    },
    "BaseCommerceOrderDto": {
      "type": "object",
      "properties": {
        "orderNumber": {
          "type": "string",
          "description": "A unique order identifier created when an order is placed"
        }
      },
      "required": [
        "orderNumber"
      ]
    },
    "BaseMember": {
      "type": "object",
      "properties": {
        "clientMemberId": {
          "type": "string",
          "description": "Unique client-side identifier for the member"
        }
      },
      "required": [
        "clientMemberId"
      ]
    },
    "ClientOrgDto": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the client organization"
        }
      },
      "required": [
        "name"
      ]
    },
    "EcommerceRefundRequestDto": {
      "type": "object",
      "properties": {
        "clientOrg": {
          "$ref": "#/$defs/ClientOrgDto"
        },
        "member": {
          "$ref": "#/$defs/BaseMember"
        },
        "memberCommerceOrder": {
          "$ref": "#/$defs/BaseCommerceOrderDto"
        },
        "memberCommerceOrderLines": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/BaseCartItemDto"
          }
        },
        "refundReason": {
          "type": "string",
          "description": "Reason for refunding an item",
          "enum": [
            "Never Received",
            "Damaged Good",
            "Wrong Item",
            "Other"
          ]
        }
      },
      "required": [
        "refundReason"
      ]
    },
    "Idempotency": {
      "type": "object",
      "properties": {
        "idempotencyKey": {
          "type": "string",
          "description": "Unique identifier that represents the operation"
        }
      }
    }
  }
}

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/lynx-post-ecommerce-refund-request"
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.