@avvyr/storefront-sdk - v0.19.0
    Preparing search index...

    Class ShippingResource

    Index
    • The warehouses/stores the customer may pick goods up at. Pass a cartId to get an advisory per-location stock availability for the cart's lines. Pair with shipping options of type pickup-instore / pickup-warehouse; send the chosen location's id as pickupWarehouseId on cart.setShipping.

      Parameters

      • Optionalparams: { cartId?: string }

      Returns Promise<PickupLocation[]>

    • Get shipping options for a specific product

      Parameters

      • sku: string
      • params: { countryCode?: string; postalCode: string; quantity?: number }

      Returns Promise<ShippingOption[]>