interface ShippingMethod {
    active: boolean;
    createdAt: string;
    createdBy?: CreatedBy;
    custom?: CustomFields;
    description?: string;
    id: string;
    isDefault: boolean;
    key?: string;
    lastModifiedAt: string;
    lastModifiedBy?: LastModifiedBy;
    localizedDescription?: LocalizedString;
    localizedName?: LocalizedString;
    name: string;
    predicate?: string;
    taxCategory: TaxCategoryReference;
    version: number;
    zoneRates: ZoneRate[];
}

Hierarchy (view full)

Properties

active: boolean

Indicates if the ShippingMethod is active.

If `true`, the ShippingMethod can be used during the creation or update of a Cart or Order.
createdAt: string

Date and time (UTC) the ShippingMethod was initially created.

createdBy?: CreatedBy

IDs and references that created the ShippingMethod.

custom?: CustomFields

Custom Fields of the ShippingMethod.

description?: string

Description of the ShippingMethod.

Deprecated

id: string

Unique identifier of the ShippingMethod.

isDefault: boolean

If true, this ShippingMethod is the Project's default ShippingMethod.

key?: string

User-defined unique identifier of the ShippingMethod.

lastModifiedAt: string

Date and time (UTC) the ShippingMethod was last updated.

lastModifiedBy?: LastModifiedBy

IDs and references that last modified the ShippingMethod.

localizedDescription?: LocalizedString

Localized description of the ShippingMethod.

localizedName?: LocalizedString

Localized name of the ShippingMethod.

name: string

Unique name of the ShippingMethod within a Project.

predicate?: string

Valid Cart predicate to select a ShippingMethod for a Cart.

taxCategory: TaxCategoryReference

TaxCategory of all ZoneRates of the ShippingMethod.

version: number

Current version of the ShippingMethod.

zoneRates: ZoneRate[]

Defines ShippingRates (prices) for specific Zones.