Value

Value

The single value of a rate group or the value of a rate group table's cell. Exactly one of no_shipping , flat_rate , price_percentage , carrier_rateName , subtable_name must be set.

Fields
no_shipping

bool

If true, then the product can't be shipped. Must be true when set, can only be set if all other fields are not set.

flat_rate

Price

A flat rate. Can only be set if all other fields are not set.

price_percentage

string

A percentage of the price represented as a number in decimal notation (For example, "5.4" ). Can only be set if all other fields are not set.

carrier_rate

string

The name of a carrier rate referring to a carrier rate defined in the same rate group. Can only be set if all other fields are not set.

subtable

string

The name of a subtable. Can only be set in table cells (For example, not for single values), and only if all other fields are not set.