Get shipping estimate
get_shipping_estimateUse when the buyer asks shipping cost for selected catalog variants. Provide destination_address with address1, city and province_code for an estimate using the supplied address; otherwise the estimate uses postal-code placeholders and is approximate. Addresses are not validated. Cart shipping discounts and final tax are not evaluated; Shopify cart and checkout are authoritative. Required arguments: destination_postal_code, country (US|CA), and items with variant_id as a numeric Shopify variant ID string plus qty, for example {"variant_id":"53475949216112","qty":1}. Never send variant_id as a number.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| country | Yes | ||
| journey_id | No | ||
| match_type | No | ||
| selected_sku | No | ||
| result_set_id | No | ||
| selected_handle | No | ||
| destination_address | No | Optional address details used with destination_postal_code and country. Supply all three fields or omit this object. Values are passed through, not address-validated. | |
| destination_postal_code | Yes |