GitHub

ShopifyCartAddressInput

Type

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

Specifies a delivery address for a cart. Provide either a deliveryAddress with full address details, or a copyFromCustomerAddressId to copy from an existing customer address. Used by CartSelectableAddressInput and CartSelectableAddressUpdateInput.

interface ShopifyCartAddressInput {
  copyFromCustomerAddressId: string
  deliveryAddress: ShopifyCartDeliveryAddressInput
}

Properties

copyFromCustomerAddressId
string

Copies details from the customer address to an address on this cart.

deliveryAddress
ShopifyCartDeliveryAddressInput

A delivery address stored on this cart.