Gets the current list of discount availability entities for a particular site

This endpoint returns availabilities for discount entities configured for the site with respect to the site's current local time.

Licenses Required

  • Vista.Ocapi
Request
path Parameters
siteId
required
string

The unique identifier of the site

header Parameters
Connect-Region-Code
string

Region Code

Responses
200

Success

404

Site does not exist.

get/ocapi/v1/sites/{siteId}/discount-availability
Request samples
Response samples
application/json
{
  • "discountAvailabilities": [
    ]
}