Rest
Retrieve a list of promo codes
get/Business/PromoCodes
Request
- Base URLhttps://api.mindbodyonline.com
- Authnone declared. Required headers: SiteId
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
request.activeOnlyboolean
Filter only active
request.onlineOnlyboolean
Filter only the ones that can be sold online
request.idsinteger[]
Filter by promo code IDs
request.startDatestring date-time
Filter by activation start date
request.endDatestring date-time
Filter by activation end date
request.orderBystring
Specify order of the results. Options are Name, CreationDate, ActivationDate and Id
request.limitinteger
Number of results to return, defaults to 100
request.offsetinteger
Number of results to skip, defaults to 0
Headers
SiteIdinteger required
Site ID
Response
OK
Changes
No recorded changes to this operation across all 3 revisions of this API.