TABLE OF CONTENTS

Introduction

Product Addon APIs are used by distributors to get product addon details through the product addon detail API and check the real-time availability of certain product addons through the product addon availability API. Please be aware that distributors who connect with Disney are required to implement these APIs.

  • Product Addon Detail(/productAddon/{supplierId}/{hotelId}/{type}/{code})
  • Product Addon Availability(/productAddon/availability)
  • Product Addon Park Reservation(/productAddon/parkReservation)

Product Addon Detail

The API is used by distributors to get product addon details for a specific hotel.

GET /productAddon/{supplierId}/{hotelId}/{type}/{code}?distributorId={distributorId} HTTP/1.1
URL: {BookingUSB-Endpoint}/productAddon/{supplierId}/{hotelId}/{type}/{code}?distributorId={distributorId}
Authorization:53ac07777cdffac2d53000002d698728ce964432d7167596bc005c5fc
Content-Type: application/json;charset=utf-8

Request Schema

Request(METHOD: GET)

Level

Field Name

Data Type

Required

Description

Example

1

supplierId

string

Y

Supplier ID in DerbySoft's system

Disney

1

hotelId

string

Y

Supplier's hotel ID

06

1

type

string

Y

Type of product addon

DisneyTicket

1codestringYCode of product addon/
1distributorIdstringY

Distributor ID in DerbySoft's system

/

Response Example

Success Response (HTTP Status 200) 
{
  "supplierId": "DISNEY",
  "hotelId": "06",
  "productAddon": {
    "code": "code",
    "name": "name",
    "type": "DisneyTicket",
    "policies": [
      "policy",
      "policy"
    ],
    "restrictions": {
      "officeIds": [
        "officeId",
        "officeId"
      ],
      "discountGroups": [
        "group",
        "group"
      ],
      "ageQualifyingTypes": [
        {
          "type": "Adult",
          "minAge": 18,
          "maxAge": 99
        }
      ],
      "saleDateRange": {
        "startDate": "2018-01-01",
        "endDate": "2018-01-04"
      },
      "usageDateRange": {
        "startDate": "2018-01-01",
        "endDate": "2018-01-04"
      },
      "durationDays": 3,
      "usageBufferDays": 3
    },
    "rates": [
      {
        "dateRange": {
          "startDate": "2018-01-01",
          "endDate": "2018-01-04"
        },
        "rate": {
          "ageQualifyingType": {
            "type": "Adult",
            "minAge": 18,
            "maxAge": 99
          },
          "currency": "USD",
          "amountBeforeTax": 123.23,
          "amountAfterTax": 134.34
        }
      }
    ],
    "parkReservationRequired": true,
    "attractions": [
      {
        "attractionId": "magic-kingdom",
        "attractionName": "Magic Kingdom Park"
      },
      {
        "attractionId": "animal-kingdom",
        "attractionName": "Disney's Animal Kingdom Theme Park"
      }
    ]
  }
}
Error Response (HTTP Status 403)
{
  "error": "Key not authorized"
}
Error Response (HTTP Status 500) 
{
  "errorCode": "string",
  "errorMessage": "string"
}

Response Schema

Response

Level

Field Name

Data Type

Required

Description

Example

1

supplierId

string

Y

Supplier ID in DerbySoft's system

DISNEY

1

hotelId

string

Y

Supplier's hotel ID

06

1

productAddon

object

N

/

 /

2@codestringYProduct addon code/
2@namestringYProduct addon name/
2@typestringYProduct addon typeDisneyTicket
2

policies

array[string]N//
2

restrictions

objectN//
3officeIdsarray[string]NThe distributor identifier for each of their offices or points of sale[SC-1_SCUSA001]
3discountGroupsarray[string]N//
3ageQualifyingTypesarray[object]N//
4@typeenumYEnum: [Adult, Child]Adult
4@minAgeintegerY/18
4@maxAgeintegerY/99
3saleDateRangeobjectY//
4@startDatestringYformat with yyyy-MM-dd2022-01-01
4@endDatestringYformat with yyyy-MM-dd2022-01-04
3usageDateRangeobjectY//
4@startDatestringYformat with yyyy-MM-dd2022-01-01
4@endDatestringYformat with yyyy-MM-dd2022-01-04
3durationDaysintegerY/3
3usageBufferDaysintegerY/3
2

rates

array[object]N//
3dateRangeobjectY//
4@startDatestringY

start date of date range, format with yyyy-MM-dd

2022-01-01
4@endDatestringY

end date of date range, format with yyyy-MM-dd

2022-01-04
3ratearray[object]Y//
4ageQualifyingTypeobjectN//
5@typeenumYEnum: [Adult, Child]Adult
5@minAgeintegerY/18
5@maxAgeintegerY/99
4currencystringY/USD
4amountBeforeTaxnumberN/123.23
4amountAfterTaxnumberN/134.34
2parkReservationRequiredbooleanNThe flag indicates whether this addon needs reservation or not.true
2attractionsarray[object]N//
3@attractionIdstringYTheme Park's IDmagic-kingdom
3@attractionNamestringYTheme Park's nameMagic Kingdom Park


Product Addon Availability

This API is used to check real-time availability for certain product addons. It will hit the hotel suppliers' system to get real-time results.

POST /productAddon/availability HTTP/1.1
URL: {BookingUSB-Endpoint}/productAddon/availability
Authorization:53ac07777cdffac2d53000002d698728ce964432d7167596bc005c5fc
Content-Type: application/json;charset=utf-8

Request Schema

Request (METHOD: POST)

Level

Field Name

Data Type

Required

Description

Example

1headerobjectY//
2@supplierIdstringY

Max Length: 32

Supplier ID in DerbySoft's system

DISNEY
2

@distributorId

string

Y

Max Length: 32

Distributor ID in DerbySoft's system

XYZ

2

@version

string

Y

Max Length: 20

Version of API

v4

2

@token

string

Y

Max Length: 64

A unique ID to identify requests and responses, usually it's a UUID identity.

18393849028490234

1

bookingChannel

string

N

Sub-distributor or office ID, This attribute is optional when Disney offers the distributor with only 1 bookingChannel code.

/

1

officeId

string

N

The distributor identifier for each of their offices or points of sale.

NOTE: This attribute is mandatory when requesting product addon availability from Disney. And for other suppliers, it depends.

/

1

hotelId

string

Y

Hotel ID in supplier's system

06

1

date

string

Y

format with yyyy-MM-dd

 2022-01-01

1productAddonTypestringYthe type of product addonDisneyTicket
1productAddonCandidatesarray[object]Y//
2@codestringYproduct addon code/
2@quantityintegerY/1

Request Example

Request Example
{
  "header": {
    "supplierId": "DISNEY",
    "distributorId": "XYZ",
    "version": "v4",
    "token": "18393849028490234"
  },
  "bookingChannel": "string",
  "officeId": "string",
  "hotelId": "06",
  "date": "2022-01-01",
  "productAddonType": "DisneyTicket",
  "productAddonCandidates": [
    {
      "code": "string",
      "quantity": 1
    }
  ]
}

Response Schema

Response

Level

Field Name

Data Type

Required

Description

Example

1headerobjectY//
2@supplierIdstringY

MaxLength: 32

Supplier ID in DerbySoft's system

DISNEY
2

@distributorId

string

Y

MaxLength: 32

Distributor ID in DerbySoft's system

XYZ

2

@version

string

Y

MaxLength: 20

Version of API

v4

2

@token

string

Y

MaxLength: 64

A unique ID to identify requests and responses, normally it should be a UUID identity.

18393849028490234

1

bookingChannel

string

N

Sub-distributor ID

/

1

officeId

string

N

The distributor identifier for each of their offices or points of sale.

/

1

hotelId

string

Y

Hotel ID in supplier's system

06

1

date

string

N

format with yyyy-MM-dd

 2022-01-01

1productAddonTypestringNthe type of product addonDisneyTicket
1

productAddons

array[object]N//
2@codestringYproduct addon code
2ratesarray[object]Y//
3ageQualifyingTypeobjectN//
4@typeenumYEnum: [Adult, Child]Adult
4@minAgeintegerY/18
4@maxAgeintegerY/99
3currencystringY/USD
3amountBeforeTaxnumberN/123.23
3amountAfterTaxnumberN/134.34

Response Example

Success Response (HTTP Status 200) 
{
  "header": {
    "supplierId": "DISNEY",
    "distributorId": "XYZ",
    "version": "v4",
    "token": "18393849028490234"
  },
  "bookingChannel": "string",
  "officeId": "string",
  "hotelId": "06",
  "date": "2022-01-01",
  "productAddonType": "DisneyTicket",
  "productAddons": [
    {
      "code": "string",
      "rates": [
        {
          "ageQualifyingType": {
            "type": "Adult",
            "minAge": 18,
            "maxAge": 99
          },
          "currency": "USD",
          "amountBeforeTax": 123.23,
          "amountAfterTax": 134.34
        }
      ]
    }
  ]
}
Error Response (HTTP Status 403)
{
  "error": "Key not authorized"
}
Error Response (HTTP Status 500) 
{
  "errorCode": "string",
  "errorMessage": "string"
}

Product Addon Park Reservation

This API was used by Distributors to book the parks with product add-ons. It will be forwarded to the hotel supplier system to get real-time results.


Disney has a "parkReservationRequired" true/false flag in their API for ticket products. When this is "true", the park pass reservation is required and this API can be used instead of the customer going directly to Disney.  Any modification or cancellation for the park pass reservations would require the customer to contact Disney directly. 


Distributors can use the Park Reservation API to plan their visit to the park and make reservations in advance if necessary. Distributors can send reservation requests to the product Addon Reservation API and provide the attraction IDs, the entry date, and the reservation IDs of the room package.  

How to use: 
① Distributors can send reservation dates in separate requests for a reservation id.The response will contain both success and error messages for the reservations. Distributors need to parse the full messages.
② If the park pass reservation fails, Distributors can send requests for a different date or a different park.
③ Only 1 park needs to be reserved for a ticket if visiting on the same date. If the visits are for two different dates, the request need to be made for the entire entry period.
POST /productAddon/parkReservation HTTP/1.1
URL: {BookingUSB-Endpoint}/productAddon/parkReservation
Authorization:53ac07777cdffac2d53000002d698728ce964432d7167596bc005c5fc
Accept-Encoding: gzip
Content-Encoding: gzip
Content-Type: application/json;charset=utf-8

Request Schema

Response

Level

Field Name

Data Type

Required

Description

Example

1headerobjectY//
2@supplierIdstringY

Max Length: 32

Supplier ID in DerbySoft's system

DISNEY
2

@distributorId

string

Y

Max Length: 32

Distributor ID in DerbySoft's system

XYZ

2

@version

string

Y

Max Length: 20

Version of API

v4

2

@token

string

Y

Max Length: 64

A unique ID to identify requests and responses, normally it should be a UUID identity.

18393849028490234

1reservationIdsobjectY//
2@distributorResIdstringY

Distributor's reservation ID. Distributors should keep the ID unique on their system to avoid any potential issues caused by duplicate reservation IDs.

C2084DFL0
2@derbyResIdstringN

Reservation ID in DerbySoft's system, This is a unique ID as DerbySoft would do splitting reservations.

D15F893D34DF
2@supplierResIdstringN

Reservation ID in Suppliers' system

89389494
1

productAddonAttractions

array[object]

Y

/

/

2@productAddonCodestringYproduct addon code3LXRE
2@officeIdstringYThe distributor identifier for each of their offices or points of sale.

Note: The pre-assigned ID from the supplier. This attribute is mandatory when requesting addOn availability from Disney
3C-1_SCUSA001
2attractionsDetailarray[object]Y//
3@attractionIdstringYThe attraction ID of the product addonmagic-kingdom
3@entryDatestringYThe entry date to the attraction( format: YYYY-MM-DD)2023-07-13

Request Example

Request Example
{
    "header": {
      "supplierId": "DISNEY",
      "distributorId": "XYZ",
      "version": "v4",
      "token": "18393849028490234"
    },
    "reservationIds": {
      "distributorResId": "C2084DFL0",
      "derbyResId": "D15F893D34DF",
      "supplierResId": "89389494"
    },
    "productAddonAttractions": [
      {
        "productAddonCode": "3LXRE",
        "officeId": "SC-1 SCUSA001",
        "attractionsDetail": [
          {
            "attractionId": "magic-kingdom",
            "entryDate": "2023-07-13"
          },
          {
            "attractionId": "magic-kingdom",
            "entryDate": "2023-07-13"
          }
        ]
      },
      {
        "productAddonCode": "3LBFE",
        "officeId": "SC-1 SCUSA001",
        "attractionsDetail": [
          {
            "attractionId": "animal-kingdom",
            "entryDate": "2023-07-14"
          },
          {
            "attractionId": "animal-kingdom",
            "entryDate": "2023-07-14"
          }
        ]
      }
    ]
  }

Response Schema

Response

Level

Field Name

Data Type

Required

Description

Example

1headerobjectY//
2@supplierIdstringY

Max Length: 32

Supplier ID in DerbySoft's system

DISNEY
2@distributorIdstringY

Max Length: 32

Distributor ID in DerbySoft's system

XYZ

2

@version

string

Y

Max Length: 20

Version of API

v4

2

@token

string

Y

Max Length: 64

A unique ID to identify requests and responses, normally it should be a UUID identity.

18393849028490234

1reservationIdsobjectY//
2@distributorResIdstringNDistributor's reservation ID. Distributors should keep the ID unique on their system to avoid any potential issues caused by duplicate reservation IDs.C2084DFL0
2@derbyResIdstringNReservation ID in DerbySoft’s system. The ID is uniqueD15F893D34DF
2@supplierResIdstringYReservation ID in suppliers' system89389494
1

productAddonAttractions

array[object]

Y

/

/

2@productAddonCodestringYproduct addon code3LXRE
2@officeIdstringYThe distributor identifier for each of their offices or points of sale.

Note: The pre-assigned Id from the supplier. This attribute is mandatory when requesting addOn availability from Disney
3C-1_SCUSA001
2@productAddonResIdstringYThe reservation id of the product addon returned from the supplier. This is a mandatory attribute when sending reservation requests to Disney1234
2attractionsDetailarray[object]Y//
3@attractionIdstringYThe attraction ID of product addonmagic-kingdom
3@entryDatestringYThe entry date to the attraction( format: YYYY-MM-DD)2023-07-13
3@attractionResIdstringNIf the attractionResId is returned, it means the reservation is successful12345
3failCauseobjectC//
3@errorCodestringCerror code/
3@errorMessagestringCerror message/

Response Example

Success Response (HTTP Status 200) 
{
  "header": {
    "supplierId": "DISNEY",
    "distributorId": "XYZ",
    "version": "v4",
    "token": "18393849028490234"
  },
  "reservationIds": {
    "distributorResId": "C2084DFL0",
    "derbyResId": "D15F893D34DF",
    "supplierResId": "89389494"
  },
  "productAddonAttractions": [
    {
      "productAddonCode": "3LXRE",
      "officeId": "SC-1 SCUSA001",
      "productAddonResId": "string",
      "attractionsDetail": [
        {
          "attractionId": "magic-kingdom",
          "entryDate": "2023-07-13",
          "attractionResId": "string"
        },
        {
          "attractionId": "magic-kingdom",
          "entryDate": "2023-07-13",
          "attractionResId": "string"
        }
      ]
    },
    {
      "productAddonCode": "3LBFE",
      "officeId": "SC-1 SCUSA001",
      "productAddonResId": "string",
      "attractionsDetail": [
        {
          "attractionId": "animal-kingdom",
          "entryDate": "2023-07-14",
          "attractionResId": "string"
        },
        {
          "attractionId": "animal-kingdom",
          "entryDate": "2023-07-14",
          "failCause": {
            "errorCode": "string",
            "errorMessage": "string"
          }
        }
      ]
    }
  ]
}
Error Response (HTTP Status 403)
{
  "error": "Key not authorized"
}
Error Response (HTTP Status 500) 
{
  "errorCode": "string",
  "errorMessage": "string"
}