Discounts
Gets the current list of discount availability entities for a particular site
Changed onThis endpoint returns availabilities for discount entities configured for the site with respect to the site's current local time.
Use GetDiscountAvailabilitiesForSiteOrderLocation to get the site discount availability list details for a particular site order location
Licenses Required
- Vista.Ocapi
get/ocapi/v1/sites/{siteId}/discount-availability
Request
- Base URLhttps://developer.vista.co (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
siteIdstring required
The unique identifier of the site
Headers
Connect-Region-Codestring
Region Code
Response
Success
Changes
- breaking
added to the response body
oneOflist for the response status - breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status
- breaking