latestSwagger 2.02026-08-10143234301.7 KB
dc2736850e42
Rest
Retrieve a list of promo codes
get/Business/PromoCodes
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