---
title: addCruiseReview
slug: js-api/addcruisereview
description: Overview of the Monetate Travel API addCruiseReview method and how to use it
image:  https://archbee-image-uploads.s3.amazonaws.com/ceIfEvQHzQk1IVxoRWUh7/K9eTL4jKm7UQINb6zNziJ-20250912-181225.png
docTags: 
createdAt: 2024-04-30T20:04:16.960Z
---

:::hint{type="warning"}
This method call is only available to clients using the [Monetate Travel API](docId\:vhdqXHIQl8l4Mfz6YjkVB).
:::

:::CodeblockTabs
addCruiseReview Method

```javascript
// addCruiseReview Method
window.monetateQ = window.monetateQ || [];
var reviewObject = {
  // Required
  'adults': [2],
  'dtBegin': ['20261120'], // November 20, 2026
  'dtEnd': ['20261215'], // December 15, 2026
  'guests': [3],
  // Optional
  'children': [1],
  'port': ['Port Royal'],
  'dest': ['Tortuga'],
  'ship': ['The Black Pearl'],
  'rmClass': ['Captains Quarters'],
  'rmNumber': [5]
};
window.monetateQ.push(['addCruiseReview',
  reviewObject,
  'ROYAL1',
  1,
  '300.00',
  // Optional
  'EUR'
]);
window.monetateQ.push(['trackData']);
```
:::

The `addCruiseReview` method passes information from your site to Monetate when a customer adds a cruise to the cart. This method consists of seven required attributes and seven optional attributes.

## Required Attributes

These attributes are required with the `addCruiseReview` method:

- `adults` — An integer that includes the total number of adult passengers for the cruise
- `dtBegin` — A string that includes the cruise's start date in YYYYMMDD format
- `dtEnd` — A string that includes the cruise's end date in YYYYMMDD format
- `guests` — An integer that includes the total number of adults and children for the cruise
- `pid` — A string without spaces that includes an internal ID used to identify a cruise
- `quantity` — An integer that includes the number of cruises booked, which is typically 1
- `unitPrice` — A string that includes the cruise's price in the format XX.XX

## Optional Attributes

These attributes are optional with the `addCruiseReview` method:

- `dest` — A string that includes the cruise's port of destination
- `children` — An integer that includes the total number of child passengers for the cruise
- `port` — A string that includes the cruise's port of departure
- `rmClass` — A string that includes the type of room selected for the cruise
- `rmNumber` — A string or integer that includes the room number selected for the cruise
- `ship` — A string that includes the name of the cruise ship
- `currency` — A string in the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard (three capital letters and no spaces) that includes the currency used to book the cruise

