LuckPanda · Schema

UpdatePartyCommand

CompanyBusiness ManagementCRMAccountingInventory

Properties

Name Type Description
idempotency_key object
correlation_id object
dry_run boolean
proposal_only boolean Make it a proposal for a person to accept instead of acting.
approval_request_id object
expected_version integer
display_name string
kind string
roles array
external_ref stringnull
contact_name stringnull
email stringnull
phone stringnull
billing_address object
shipping_address object
country_code stringnull
state_code stringnull India GST state code; defaults to the GSTIN prefix.
tax_id stringnull GSTIN (validated) for India; VAT or other tax number elsewhere. Unique per business.
currency stringnull
payment_terms_days integernull
notes stringnull
View JSON Schema on GitHub

JSON Schema

luckpanda-app-update-party-command-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/luckpanda-app/json-schema/luckpanda-app-update-party-command-schema.json",
  "title": "UpdatePartyCommand",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/luckpanda-app-parties-api-openapi.yml#/components/schemas/UpdatePartyCommand",
  "allOf": [
    {
      "$ref": "#/$defs/VersionedCommand"
    },
    {
      "type": "object",
      "properties": {
        "display_name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 300
        },
        "kind": {
          "type": "string",
          "enum": [
            "organization",
            "person"
          ]
        },
        "roles": {
          "type": "array",
          "minItems": 1,
          "uniqueItems": true,
          "items": {
            "type": "string",
            "enum": [
              "customer",
              "vendor",
              "lead"
            ]
          }
        },
        "external_ref": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 200
        }
      }
    },
    {
      "$ref": "#/$defs/PartyProfile"
    }
  ],
  "$defs": {
    "AddressIn": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 1000
        },
        {
          "type": "object",
          "required": [
            "line1"
          ],
          "properties": {
            "line1": {
              "type": "string",
              "minLength": 1,
              "maxLength": 300
            },
            "line2": {
              "type": [
                "string",
                "null"
              ]
            },
            "city": {
              "type": [
                "string",
                "null"
              ]
            },
            "state_code": {
              "type": [
                "string",
                "null"
              ],
              "pattern": "^[0-9]{2}$"
            },
            "postal_code": {
              "type": [
                "string",
                "null"
              ]
            },
            "country_code": {
              "type": [
                "string",
                "null"
              ],
              "pattern": "^[A-Z]{2}$"
            }
          },
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "CommandBase": {
      "type": "object",
      "required": [
        "idempotency_key",
        "correlation_id"
      ],
      "properties": {
        "idempotency_key": {
          "$ref": "#/$defs/IdempotencyKey"
        },
        "correlation_id": {
          "$ref": "#/$defs/Uuid"
        },
        "dry_run": {
          "type": "boolean",
          "default": false
        },
        "proposal_only": {
          "type": "boolean",
          "default": false,
          "description": "Make it a proposal for a person to accept instead of acting."
        },
        "approval_request_id": {
          "$ref": "#/$defs/Uuid"
        }
      }
    },
    "IdempotencyKey": {
      "type": "string",
      "minLength": 16,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9._:-]+$"
    },
    "PartyProfile": {
      "description": "Client profile (D91). Omitted keeps, null clears (on update). additionalProperties is checked on the merged command.",
      "type": "object",
      "properties": {
        "contact_name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 200
        },
        "email": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 320
        },
        "phone": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 30
        },
        "billing_address": {
          "$ref": "#/$defs/AddressIn"
        },
        "shipping_address": {
          "$ref": "#/$defs/AddressIn"
        },
        "country_code": {
          "type": [
            "string",
            "null"
          ],
          "pattern": "^[A-Z]{2}$"
        },
        "state_code": {
          "type": [
            "string",
            "null"
          ],
          "pattern": "^[0-9]{2}$",
          "description": "India GST state code; defaults to the GSTIN prefix."
        },
        "tax_id": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 100,
          "description": "GSTIN (validated) for India; VAT or other tax number elsewhere. Unique per business."
        },
        "currency": {
          "type": [
            "string",
            "null"
          ],
          "pattern": "^[A-Z]{3}$"
        },
        "payment_terms_days": {
          "type": [
            "integer",
            "null"
          ],
          "minimum": 0,
          "maximum": 365
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 4000
        }
      }
    },
    "Uuid": {
      "type": "string",
      "format": "uuid"
    },
    "VersionedCommand": {
      "allOf": [
        {
          "$ref": "#/$defs/CommandBase"
        },
        {
          "type": "object",
          "required": [
            "expected_version"
          ],
          "properties": {
            "expected_version": {
              "type": "integer",
              "minimum": 1
            }
          }
        }
      ]
    }
  }
}

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/luckpanda-app-update-party-command"
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. See our Privacy Policy and Terms.

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