Calculate shipping
printify_calculate_shippingGet a shipping price quote for a set of line items to a destination address. Non-destructive — it only prices, it does NOT place an order. line_items is an array where each item is one of {product_id, variant_id, quantity}, {print_provider_id, blueprint_id, variant_id, quantity}, or {sku, quantity}. address_to is the destination (first_name, last_name, email, phone, country, region, address1, address2, city, zip, company). Printify REST: POST /v1/shops/{shop_id}/orders/shipping.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shop_id | Yes | Shop id — required. | |
| address_to | Yes | Destination address object. | |
| line_items | Yes | Array of line items to price (see description for accepted shapes). |