Discounts

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

Changed on

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

Use GetDiscountAvailabilitiesForSite to get the default site discount availability list details for the site

Licenses Required

  • Vista.Ocapi
get/ocapi/v1/sites/{siteId}/order-locations/{siteOrderLocationId}/discount-availability

Request

Path parameters

siteIdstring required

The unique identifier of the site

siteOrderLocationIdstring required

The unique identifier of the site order location

Headers

Connect-Region-Codestring

Region Code

Response

Success

siteIdstring required

Gets the unique identifier of the site

isDefaultboolean required

Gets a value indicating whether this is the default discount availability list details for the site

siteOrderLocationIdstring nullable

Gets the unique identifier of the site order location, if applicable

Changes