interface ShippingMethodDraft {
    custom?: CustomFieldsDraft;
    description?: string;
    isDefault: boolean;
    key?: string;
    localizedDescription?: LocalizedString;
    localizedName?: LocalizedString;
    name: string;
    predicate?: string;
    taxCategory: TaxCategoryResourceIdentifier;
    zoneRates: ZoneRateDraft[];
}

Properties

Custom Fields for the ShippingMethod.

description?: string

Description of the ShippingMethod.

Deprecated

isDefault: boolean

If true the ShippingMethod will be the Project's default ShippingMethod.

key?: string

User-defined unique identifier for the ShippingMethod.

localizedDescription?: LocalizedString

Localized description of the ShippingMethod.

localizedName?: LocalizedString

Localized name of the ShippingMethod.

name: string

Name of the ShippingMethod.

predicate?: string

Valid Cart predicate to select a ShippingMethod for a Cart.

TaxCategory for all ZoneRates of the ShippingMethod.

zoneRates: ZoneRateDraft[]

Defines ShippingRates (prices) for specific zones.

Generated using TypeDoc