GitHub

ShopifyDeliveryAddressInput

Type

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

The input fields for delivery address preferences.

interface ShopifyDeliveryAddressInput {
  customerAddressId: string
  deliveryAddress: ShopifyMailingAddressInput
  deliveryAddressValidationStrategy: ShopifyDeliveryAddressValidationStrategy
  oneTimeUse: boolean
}

Properties

customerAddressId
string

The ID of a customer address that is associated with the buyer that is interacting with the cart.

deliveryAddress
ShopifyMailingAddressInput

A delivery address preference of a buyer that is interacting with the cart.

deliveryAddressValidationStrategy
ShopifyDeliveryAddressValidationStrategy

Defines what kind of address validation is requested.

oneTimeUse
boolean

Whether the given delivery address is considered to be a one-time use address. One-time use addresses do not get persisted to the buyer's personal addresses when checking out.