GitHub

ShopifyCartPreferencesInput

interface

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

The input fields represent preferences for the buyer that is interacting with the cart.

interface ShopifyCartPreferencesInput {
  delivery: ShopifyCartDeliveryPreferenceInput
  wallet: string[]
}

Properties

delivery
ShopifyCartDeliveryPreferenceInput

Delivery preferences can be used to prefill the delivery section in at checkout.

wallet
string[]

Wallet preferences are used to populate relevant payment fields in the checkout flow. Accepted value: ["shop_pay"].

The input must not contain more than 250 values.