PurchaseContractResponse is a JSON Structure definition published by Mindbody, describing 7 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/mindbody/refs/heads/main/json-structure/public-api-v6-purchase-contract-response-structure.json",
"name": "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": "int32",
"description": "The Unique ID of the client who is purchasing the contract.",
"example": 123456
},
"LocationId": {
"type": "int32",
"description": "The ID of the location where the contract is being purchased.",
"example": 123456
},
"ContractId": {
"type": "int32",
"description": "The ID of the general contract being purchased.",
"example": 123456
},
"ClientContractId": {
"type": "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": [
{}
]
}
}
}
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.