Get Services
get_servicesGet Services — GET /sale/services Mindbody calls: 1. Note: RestrictToMembershipIds holds MembershipId values (get_memberships / get_active_client_memberships), not client contract IDs.
Get pricing options available for purchase at a site
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results to include, defaults to 100 | |
| offset | No | Page offset, defaults to 0. | |
| siteId | No | Site to call (SiteId header). Default -99. | |
| classId | No | Filters to the pricing options for the specified class ID. | |
| staffId | No | Sets `Price` and `OnlinePrice` to the particular pricing of a specific staff member, if allowed by the business. | |
| locationId | No | When specified, for each returned pricing option, `TaxRate` and `TaxIncluded` are calculated according to the specified location.… | |
| programIds | No | Filters to pricing options with the specified program IDs. | |
| sellOnline | No | When `true`, filters the pricing options to display only those available for online purchase. This parameter is only applicable in Business Mode (when a staff authentication header is included) and ignored in Consumer Mode (when no authentication header is passed).… | |
| serviceIds | No | Filters to the pricing options with the specified IDs. In this context, service and pricing option are used interchangeably. These are the `PurchasedItems[].Id` returned from GET Sales. | |
| sessionTypeIds | No | Filters to the pricing options with the specified session types IDs. | |
| classScheduleId | No | Filters to the pricing options for the specified class schedule ID. | |
| hideRelatedPrograms | No | When `true`, indicates that pricing options of related programs are omitted from the response. Default: false | |
| includeDiscontinued | No | When `true`, indicates that the filtered pricing option list includes discontinued pricing options. Default: false | |
| includeSaleInContractOnly | No | When `true`, indicates that the filtered pricing option list includes sale in contract only pricing options. Default: false |