ShippingOption

interface ShippingOption { ref_id: number; code: string; price: string; }

Source: global.ts:1240

A shipping choice offered by a Campaign, as returned by the API. Its ref_id is what a shopper's selection resolves to; the richer runtime form with computed discounts is ShippingMethod.


Properties

ref_id: number

Shipping option id.

code: string

Shipping option code (matches the campaign API).

price: string

Shipping price as a formatted string.