Discounts

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

Changed on

This 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

Path parameters

siteIdstring required

The unique identifier of the site

Headers

Connect-Region-Codestring

Region Code

Response

Success

OR

Changes

    • breaking

      added to the response body oneOf list for the response status

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the required property from the response with the status