TABLE OF CONTENTS

Used by the distributor to retrieve the dynamic information (e.g., Price) of products.


Query rates of the ticket product

This API is used to query the DerbySoft cache to query the available ticket product rate


REQUEST

Request Headers

LevelField NameData TypeRequiredDescriptionExample
1authorization*stringYOauth2 authorization token
1echo-token*stringYA unique echo token is generated from the distributorcc28bac659c44422b2dab11705934a4f
1distributor-id*stringYDistributor ID in the Derbysoft systemDISTRIBUTOR
1brand-idstringNProperty brand, required for Disney, United ParksWDW
1office-idstringNThe distributor identifier for each of their offices or points of sale consists of distributorid(Disney) and officeid(Disney), which are combined with the underscore. Required for DisneyDERBY-1_DERBY001
1supplier-id*stringY
DISNEY

Request Body

LevelField NameData TypeRequiredDescriptionExample
1dateRange*
Y

2startDate*dateYStart date of date range, format with yyyy-MM-dd
2endDatedateNEnd date of date range, format with yyyy-MM-dd
1productIdstringN
5XK03A
1durationDaysintegerNThe number of days included in the ticket purchase
1affiliationstringNAvailable discount code


Request Example

Request Example: post //shopping 
{
  "dateRange": {
    "startDate": "2022-02-13",
    "endDate": "2022-02-15"
  },
  "productId": [
    "5XK03A",
    "5XK03C"
  ],
  "durationDays": 5,
  "affiliation": "STD_GST"
}



RESPONSE

Response Schema

LevelField NameData TypeRequiredDescriptionExample
1supplier-id*stringYsupplier-idDISNEY
1destination
N

2countryCode*stringYCountry Code, ISO 3166-1 alpha-2 code, Min 1 char
2countryName*stringYMin 1 char
2subdivisionCode*stringYSubdivision Code, ISO 3166-2 code, Min 1 char
2subdivisionName*stringY Min 1 char
2subdivisionCategory*stringYSubdivision Category, such as state, province
2cityNamestringN

1productId*stringY
5XK03A
1brand-idstringNProperty brand, required for Disney, United ParksWDW
1durationDaysintegerNThe number of days included in the ticket purchase5
1marketRegionsarrayNIt will be used for ticket products, advising whether the tickets can only be sold to a specific region. ["INTL_WHOLESALE"]

1affiliationsarrayNAll available discount codes for this product ["STD_GST"]

1rates
YProduct price details for a period


2usageDateRange
NThe usage window of this product
3startDatedateYStart date of date range, format with yyyy-MM-dd2025-03-11
3endDatedateNEnd date of date range, format with yyyy-MM-dd2026-02-28
2date*stringYCheck in date. Format with yyyy-MM-dd2026-10-09
2price*
Y

3amountBeforeTaxnumberNSingle ticket price without tax
3amountAfterTaxnumberNSingle ticket price with tax
3decimalPlacesintegerNDecimal places
2currency*stringYCurrency code
3exchangeBeforeTaxnumberNthe full retail price of the ticket without tax


3exchangeAfterTaxnumberNThe full retail price of the ticket with tax
3netDiscount
N

4typeenumNAllowed: PERCENTAGE┃AMOUNT
4valuenumberNNet discount value.

Response Example

Success Response (HTTP Status 200)
[
  {
    "supplierId": "DISNEY",
    "destination": {
      "countryCode": "US",
      "countryName": "United States",
      "subdivisionCode": "US-IL",
      "subdivisionName": "Illinois",
      "subdivisionCategory": "State",
      "cityName": "Chicago"
    },
    "productId": "5XK03A",
    "brandId": "WDW",
    "durationDays": 5,
    "marketRegions": [
      "INTL_WHOLESALE"
    ],
    "affiliations": [
      "STD_GST"
    ],
    "rates": [
      {
        "usageDateRange": {
          "startDate": "2022-02-13",
          "endDate": "2022-02-15"
        },
        "date": "2022-02-13",
        "price": {
          "amountBeforeTax": 120.01,
          "amountAfterTax": 150.01,
          "decimalPlaces": 2,
          "currency": "USD",
          "exchangeBeforeTax": 652.06,
          "exchangeAfterTax": 694.06,
          "netDiscount": {
            "type": "PERCENTAGE",
            "value": 0.01
          }
        }
      }
    ]
  }
]


Error Response (HTTP Status 500)
{
  "errorCode": "System",
  "errorMessage": "Internal Server Error"
}