Method Calls
addCruiseReview
this method call is only available to clients using the getting started with the monetate travel api addcruisereview method // 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 standard (three capital letters and no spaces) that includes the currency used to book the cruise