import { ShopifyCartDeliveryPreferenceInput } from '@daffodil/driver/shopify'
Delivery preferences can be used to prefill the delivery section at checkout.
interface ShopifyCartDeliveryPreferenceInput {
coordinates: ShopifyCartDeliveryCoordinatesPreferenceInput
deliveryMethod: ShopifyPreferenceDeliveryMethodType[]
pickupHandle: string[]
}
coordinates ShopifyCartDeliveryCoordinatesPreferenceInput |
|---|
The coordinates of a delivery location in order of preference. |
deliveryMethod ShopifyPreferenceDeliveryMethodType[] |
|---|
The preferred delivery methods such as shipping, local pickup or through pickup points. The input must not contain more than |
pickupHandle string[] |
|---|
The pickup handle prefills checkout fields with the location for either local pickup or pickup points delivery methods. It accepts both location ID for local pickup and external IDs for pickup points. The input must not contain more than |