GitHub

ShopifyCartSelectableAddressUpdateInput

Type

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

The input fields to update a line item on a cart.

interface ShopifyCartSelectableAddressUpdateInput {
  address: ShopifyCartAddressInput
  id: string
  oneTimeUse: boolean
  selected: boolean
  validationStrategy: ShopifyDeliveryAddressValidationStrategy
}

Properties

address
ShopifyCartAddressInput

Exactly one kind of delivery address.

id
string

The id of the selectable address.

oneTimeUse
boolean

When true, 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.

validationStrategy
ShopifyDeliveryAddressValidationStrategy

Defines what kind of address validation is requested.