estimate_order_costs
Preview production, shipping, tax, and total landed cost for an order before placing it. Read-only estimate; requires store, recipient address, and synced variants (Printful or Gelato only).
Instructions
Estimate production + shipping + tax + total for an order WITHOUT creating it (read-only against the fulfillment provider, no order placed). Give the store, the recipient, and the variants + quantities. Use to preview landed cost before placing an order. AVAILABLE FOR PRINTFUL AND GELATO ONLY: Printify offers no pre-order estimate, so a Printify-fulfilled store returns a refusal rather than a number — do not retry it, and do not present a cross-provider landed-cost comparison that silently omits Printify. Both country_code AND address1 are required; the platform rejects the request without a street address. The variants must already be synced to the fulfillment provider.
[#a2bd48]
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"store_uuid": "<store_uuid>",
"recipient": "<recipient>",
"items": "<items>"
},
"name": "estimate_order_costs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Line items to price. | |
| currency | No | Currency code (defaults to USD). | |
| recipient | Yes | Ship-to details. country_code and address1 are both required; city/state/zip improve accuracy. | |
| workspace | No | Workspace uuid to scope to (agency accounts). Omit for the Default workspace. | |
| store_uuid | Yes | The store the order would be placed in. |