dash.shipping
Shipping rate and tracking methods.
Updated
On this page
dash.shipping
getRates(options)
const { rates } = await dash.shipping.getRates({ to_postal: "78701", weight_oz: 5.0 })
Shipping rate and tracking methods.
Updated
getRates(options)const { rates } = await dash.shipping.getRates({ to_postal: "78701", weight_oz: 5.0 })
const { rate } = await dash.shipping.getCheapestRate({ to_postal: "78701", weight_oz: 5.0 })
const { rate } = await dash.shipping.getFastestRate({ to_postal: "78701", weight_oz: 5.0 })
const rate = await dash.shipping.getRate({ to_postal: "78701", weight_oz: 5.0, prefer: "cheapest" })
const tracking = await dash.shipping.track("1Z999...", "usps")
const result = await dash.shipping.validateAddress({ address_line1: "123 Main", city: "Austin", state: "TX", postal_code: "78701" })
const { qualifies, threshold, remaining } = await dash.shipping.checkFreeShipping("89.99")
See Shipping for full details.