Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The current currency code for the shopping cart.

Field

Type

Description

Required when adding an item to cart

name

string

Option name

YES

selectedValue

string

Seleted value on the option

YES

 
baseCurrencyCodestringThe default currency code for the merchant.NO

costPerLetter

costPerLetterLocalized

costPerLetterLocalizedFormatted

number

number

string

Fee per letter specified in a single or multiline option

NO

costPerLine

costPerLineLocalized

costPerLineLocalizedFormatted

number

Fee per line of text specified in a multiline option

NO

costIfSpecified

costIfSpecifiedLocalized

costIfSpecifiedLocalizedFormatted

number

Fee if specified

NO

currencyCodestring

NO

ignoreIfDefault

boolean

True if option will be ignored on the order if the default value is selected

NO

label

label

Option display label

NO

oneTimeFee

boolean

True if the fee is only applied once (irregardless of quantity)

NO

optionOid

integer

A unique option object identifier. This is provided to easy debugging with UltraCart premium support.

NO

required

boolean

True if required

NO

type

string

Type of option. See OPTION_TYPE_ constants in the checkoutapi.js for a list of valid values.

NO

values

CartItemOptionValue[ ]

Values that the customer can select from for radio or drop down style options

NO

...