Get Products
get_productsGet Products — GET /sale/products Mindbody calls: 1.
Get retail products 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. | |
| locationId | No | The location ID to use to determine the tax for the products that this request returns. Default: online store | |
| productIds | No | The barcode number of the product to be filter by. | |
| searchText | No | A search filter, used for searching by term. | |
| sellOnline | No | When `true`, only products that can be sold online are returned. When `false`, all products are returned. Default: false | |
| categoryIds | No | A list of revenue category IDs to filter by. Use this ID when calling the GET Categories endpoint. | |
| subCategoryIds | No | A list of subcategory IDs to filter by. Use this ID when calling the GET Categories endpoint. | |
| secondaryCategoryIds | No | A list of secondary categories to filter by. Use this ID when calling the GET Categories endpoint. |