GitHub

ShopifyCartSelectableAddress

Type

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

A selectable delivery address for a cart.

interface ShopifyCartSelectableAddress {
  __typename: "CartSelectableAddress"
  address: ShopifyCartDeliveryAddress
  id: string
  oneTimeUse: boolean
  selected: boolean
}

Properties

__typename
"CartSelectableAddress"
address
ShopifyCartDeliveryAddress

The delivery address.

id
string

A unique identifier for the address, specific to this cart.

oneTimeUse
boolean

This delivery address will not be associated with the buyer after a successful checkout.

selected
boolean

Sets exactly one address as pre-selected for the buyer.