Typescript SDK Type Docs
    Preparing search index...

    Interface ShippingInfoImportDraft

    Maps to an Order's shippingInfo property. This field is usually populated by the Cart associated with the Order, but when importing Orders you must provide a draft representation as a part of the OrderImport.

    Index

    Properties

    deliveries?: Delivery[]

    Maps to shippingInfo.deliveries. You cannot add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

    Maps to shippingInfo.discountedPrice.

    price: TypedMoney

    Maps to shippingInfo.price.

    Maps to shippingInfo.shippingMethod. If the referenced ShippingMethod does not exist, the state of the ImportOperation will be set to unresolved until the referenced ShippingMethod is created.

    shippingMethodName: string

    Maps to shippingInfo.shippingMethodName.

    shippingMethodState?: ShippingMethodState

    Maps to shippingInfo.shippingMethodState.

    shippingRate: ShippingRateDraft

    Used to determine the price.

    Maps to shippingInfo.taxCategory. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

    taxRate?: TaxRate

    Maps to shippingInfo.taxRate.