Mindbody · JSON Structure

Public Api V6 Purchased Item Structure

Implementation of the 'PurchasedItem' model.

Type: object Properties: 25
FitnessWellnessBeautySchedulingBookingPoint of SaleStudiosSalonsSpasWebhooks

PurchasedItem is a JSON Structure definition published by Mindbody, describing 25 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

SaleDetailId Id IsService BarcodeId Description ContractId CategoryId SubCategoryId UnitPrice Quantity DiscountPercent DiscountAmount Tax1 Tax2 Tax3 Tax4 Tax5 TaxAmount TotalAmount Notes Returned PaymentRefId ExpDate ActiveDate GiftCardBarcodeId

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mindbody/refs/heads/main/json-structure/public-api-v6-purchased-item-structure.json",
  "name": "PurchasedItem",
  "description": "Implementation of the 'PurchasedItem' model.",
  "type": "object",
  "properties": {
    "SaleDetailId": {
      "type": "int32",
      "description": "The ID which gets assigned to the item when item is added to the cart.",
      "example": 123456
    },
    "Id": {
      "type": "int32",
      "description": "The ID of the purchased item. Use this ID when calling the GET Services or GET Products endpoint.",
      "example": 123456
    },
    "IsService": {
      "type": "boolean",
      "description": "When `true`, indicates that the purchased item was a pricing option for a service.",
      "example": true
    },
    "BarcodeId": {
      "type": "string",
      "description": "The barcode number of the purchased item. Use this ID when calling the GET Products endpoint.",
      "example": "example-value"
    },
    "Description": {
      "type": "string",
      "description": "The description of the sale transaction/pricing option.",
      "example": "Example note for Mindbody Public API."
    },
    "ContractId": {
      "type": "int32",
      "description": "The contract purchased by the client. Use this ID when calling the GET Contract endpoint.",
      "example": 123456
    },
    "CategoryId": {
      "type": "int32",
      "description": "The revenue category ID used for sale. Use this ID when calling the GET Categories endpoint.",
      "example": 123456
    },
    "SubCategoryId": {
      "type": "int32",
      "description": "The ID of revenue subcategory.",
      "example": 123456
    },
    "UnitPrice": {
      "type": "double",
      "description": "er Unit Price of the item purchased.",
      "example": 49.99
    },
    "Quantity": {
      "type": "int32",
      "description": "Quantity of the purchased item, applicable for products only. Note: Negative numbers indicate returned items.",
      "example": 10
    },
    "DiscountPercent": {
      "type": "double",
      "description": "The percent discount that was applied to the items subtotal.",
      "example": 1.0
    },
    "DiscountAmount": {
      "type": "double",
      "description": "The total discount amount that was applied to the items subtotal.",
      "example": 49.99
    },
    "Tax1": {
      "type": "double",
      "description": "A decimal representation of the first tax rate that was applied to the items subtotal.",
      "example": 1.0
    },
    "Tax2": {
      "type": "double",
      "description": "A decimal representation of the second tax rate that was applied to the items subtotal.",
      "example": 1.0
    },
    "Tax3": {
      "type": "double",
      "description": "A decimal representation of the third tax rate that was applied to the items subtotal.",
      "example": 1.0
    },
    "Tax4": {
      "type": "double",
      "description": "A decimal representation of the fourth tax rate that was applied to the items subtotal.",
      "example": 1.0
    },
    "Tax5": {
      "type": "double",
      "description": "A decimal representation of the fifth tax rate that was applied to the items subtotal.",
      "example": 1.0
    },
    "TaxAmount": {
      "type": "double",
      "description": "Total tax amount that is summation of tax1, tax2, tax3, tax4 and tax5.",
      "example": 49.99
    },
    "TotalAmount": {
      "type": "double",
      "description": "The items total, once discounts and/or tax was applied.",
      "example": 49.99
    },
    "Notes": {
      "type": "string",
      "description": "Note made by the customer while purchasing item.",
      "example": "Example note for Mindbody Public API."
    },
    "Returned": {
      "type": "boolean",
      "description": "When `true`, indicates that the purchased item is returned, `false` otherwise.",
      "example": true
    },
    "PaymentRefId": {
      "type": "int32",
      "description": "The payment reference ID generated during payment of sold item.",
      "example": 123456
    },
    "ExpDate": {
      "type": "datetime",
      "description": "The expiration date of the pricing option purchased.",
      "example": "2026-05-28T14:30:00Z"
    },
    "ActiveDate": {
      "type": "datetime",
      "description": "The activation date of pricing option purchased.",
      "example": "2026-05-28T14:30:00Z"
    },
    "GiftCardBarcodeId": {
      "type": "string",
      "description": "Gift Card BarcodeId",
      "example": "example-value"
    }
  }
}