interface CustomShippingDraft {
    custom?: CustomFieldsDraft;
    deliveries?: DeliveryDraft[];
    externalTaxRate?: ExternalTaxRateDraft;
    key: string;
    shippingAddress?: _BaseAddress;
    shippingMethodName: string;
    shippingRate: ShippingRateDraft;
    shippingRateInput?: ShippingRateInputDraft;
    taxCategory?: TaxCategoryResourceIdentifier;
}

Properties

Custom Fields for the custom Shipping Method.

deliveries?: DeliveryDraft[]

Deliveries to be shipped with the custom Shipping Method.

externalTaxRate?: ExternalTaxRateDraft

Tax Rate used to tax a shipping expense if the Cart has the External TaxMode.

key: string

User-defined unique identifier of the custom Shipping Method in the Cart with Multiple ShippingMode.

shippingAddress?: _BaseAddress

Determines the shipping rate and Tax Rate of the associated Line Items.

shippingMethodName: string

Name of the custom Shipping Method.

shippingRate: ShippingRateDraft

Determines the shipping price.

shippingRateInput?: ShippingRateInputDraft

Input used to select a ShippingRatePriceTier. The data type of this field depends on the shippingRateInputType.type configured in the Project:

- If `CartClassification`, it must be [ClassificationShippingRateInputDraft](ctp:api:type:ClassificationShippingRateInputDraft).
- If `CartScore`, it must be [ScoreShippingRateInputDraft](ctp:api:type:ScoreShippingRateInputDraft).
- If `CartValue`, it cannot be set.

Tax Category used to determine a shipping Tax Rate if the Cart has the Platform TaxMode.

Generated using TypeDoc