ROOTREZ
  1. Discount
ROOTREZ
  • App
    • Api health check
      GET
    • Check if the API is alive
      GET
    • Check current outbound public IP
      GET
  • Property
    • Get property details
      GET
    • Get property availability
      POST
    • List property reviews
      GET
  • Properties
    • Get static data for an Account
      GET
    • Get availability for an account
      POST
  • ParityCheck
    • Perform parity check with availability data for a accountId
      POST
    • Check rate parity for a provider
      POST
  • Account
    • PublisherController_getSettings
      GET
    • Get map pins for a Account
      GET
    • Get filters for a Account
      GET
    • Get themes for a Account
      GET
    • Get banners by account
      GET
    • Get landing page by account and slug
      GET
  • Public Account
    • PublicPublisherController_getFilters
      GET
    • PublicPublisherController_getWidget
      GET
  • Auth
    • Authenticate token and secret to get JWT
      POST
    • AuthController_checkJWT
      GET
    • AuthController_refresh
      POST
  • Discount
    • Get grouped discounts
      GET
    • Get all discounts
      GET
    • DiscountController_getViewDiscount
      POST
  • Addons
    • Get products for the authenticated account
    • Get product detail from cache
    • AddOnsController_createOrder
  • Cache
    • CacheController_cleanByPublisher
    • CacheController_refreshByPublisher
    • CacheController_cleanByProperty
    • CacheController_refreshByProperty
  • Book
    • Create new reservation
    • Preview reservation
  • Create a conversation collection
    POST
  • Create a conversation model
    POST
  • search conversation
    POST
  • get a conversation model
    GET
  • semantica search
    POST
  • create product
    POST
  1. Discount

DiscountController_getViewDiscount

POST
/api/account/v4.0/discounts/view
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/account/v4.0/discounts/view' \
--header 'Content-Type: application/json' \
--data-raw '{
    "checkin": "2019-08-24T14:15:22Z",
    "checkout": "2019-08-24T14:15:22Z",
    "discountCode": "string"
}'
Response Response Example
{}

Request

Body Params application/json

Examples

Responses

🟢201Created
application/json
Body

Modified at 2025-05-22 15:45:10
Previous
Get all discounts
Next
Get products for the authenticated account
Built with