GitHub

ShopifyAvailableShippingRates

interface

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

A collection of available shipping rates for a checkout.

interface ShopifyAvailableShippingRates {
  __typename: "AvailableShippingRates"
  ready: boolean
  shippingRates: ShopifyShippingRate[]
}

Properties

__typename
"AvailableShippingRates"
ready
boolean

Whether or not the shipping rates are ready. The shippingRates field is null when this value is false. This field should be polled until its value becomes true.

shippingRates
ShopifyShippingRate[]

The fetched shipping rates. null until the ready field is true.