Mindbody · Schema

PurchaseContractResponse

Implementation of the 'PurchaseContractResponse' model. Response model for POST PurchaseContract endpoint

FitnessWellnessBeautySchedulingBookingPoint-of-SaleStudiosSalonsSpasWebhook

Properties

Name Type Description
ClientId string The ID of the client who is purchasing the contract.
UniqueClientId integer The Unique ID of the client who is purchasing the contract.
LocationId integer The ID of the location where the contract is being purchased.
ContractId integer The ID of the general contract being purchased.
ClientContractId integer The ID of the specific contract being purchased by this specific client, not to be confused with the `ContractId`, which refers to a general contract that the business offers.
Totals object Purchase totals
PaymentProcessingFailures array Contains information only if SCA challenge is indicated.
View JSON Schema on GitHub

JSON Schema

public-api-v6-purchase-contract-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mindbody/refs/heads/main/json-schema/public-api-v6-purchase-contract-response-schema.json",
  "title": "PurchaseContractResponse",
  "description": "Implementation of the 'PurchaseContractResponse' model. Response model for POST PurchaseContract endpoint",
  "type": "object",
  "properties": {
    "ClientId": {
      "type": "string",
      "description": "The ID of the client who is purchasing the contract.",
      "example": "example-value"
    },
    "UniqueClientId": {
      "type": "integer",
      "format": "int32",
      "description": "The Unique ID of the client who is purchasing the contract.",
      "example": 123456
    },
    "LocationId": {
      "type": "integer",
      "format": "int32",
      "description": "The ID of the location where the contract is being purchased.",
      "example": 123456
    },
    "ContractId": {
      "type": "integer",
      "format": "int32",
      "description": "The ID of the general contract being purchased.",
      "example": 123456
    },
    "ClientContractId": {
      "type": "integer",
      "format": "int32",
      "description": "The ID of the specific contract being purchased by this specific client, not to be confused with the `ContractId`, which refers to a general contract that the business offers.",
      "example": 123456
    },
    "Totals": {
      "$ref": "#/components/schemas/PurchaseContractResponseTotals",
      "description": "Purchase totals"
    },
    "PaymentProcessingFailures": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/PaymentProcessingFailure"
      },
      "description": "Contains information only if SCA challenge is indicated.",
      "example": [
        {}
      ]
    }
  }
}

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/public-api-v6-purchase-contract-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.