GitHub

ShopifyCartDeliveryOption

Type

import { ShopifyCartDeliveryOption } from '@daffodil/driver/shopify'

A shipping or delivery choice available to customers during checkout. Each option includes a title, estimated cost, and delivery method type such as shipping or local pickup.

Returned by the CartDeliveryGroup object's deliveryOptions field and selectedDeliveryOption field.

interface ShopifyCartDeliveryOption {
  __typename: "CartDeliveryOption"
  code: string
  deliveryMethodType: ShopifyDeliveryMethodType
  description: string
  estimatedCost: ShopifyMoneyV2
  handle: string
  title: string
}

Properties

__typename
"CartDeliveryOption"
code
string

The code of the delivery option.

deliveryMethodType
ShopifyDeliveryMethodType

The method for the delivery option.

description
string

The description of the delivery option.

estimatedCost
ShopifyMoneyV2

The estimated cost for the delivery option.

handle
string

The unique identifier of the delivery option.

title
string

The title of the delivery option.