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

Properties

active?: boolean

If set to true, the ShippingMethod can be used during the creation or update of a Cart or Order.

Custom Fields for the ShippingMethod.

description?: string

Description of the ShippingMethod.

isDefault: boolean

If set to true, the ShippingMethod will be the Project's default ShippingMethod. When retrieving matching Shipping Methods, it is returned as the first item in the array. This flag does not automatically apply the Shipping Method to Carts.

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

Unique name for the ShippingMethod within a Project.

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.