The Printful API shipping rates endpoint is POST /v2/shipping-rates (the older V1 path is POST /shipping/rates), and you call it with three things: the buyer's address, each item's variant ID and quantity, and a currency. It sends back every shipping method Printful can use for that cart, with the price, the delivery window, and a flag that tells you if customs fees may apply. The real work for a store owner is what comes next: caching the quote, handling errors, and setting a store price that does not eat your margin.

What is the Printful shipping rates endpoint, and which version should I use?

Use V2 for new builds: POST https://api.printful.com/v2/shipping-rates. Printful's V2 API docs describe it as the way to see every shipping method for a cart, not just the standard one. V2 is still marked as a preview, so field names can change.

The V1 path, POST https://api.printful.com/shipping/rates, still shows up in older apps and tutorials. Here is how they differ:

  • V1 takes a recipient block and an items list using variant_id. Prices come back in your store's default currency unless you ask for another.
  • V2 uses catalog_variant_id and returns more detail per shipment, such as where it ships from and whether customs fees may apply.
  • Both return prices as text strings, so turn them into numbers before you do math.

If you have a working V1 call, there is no rush. But plan the move, because Printful's V2 migration notes say V2 brings standard time and price formats, new paging, and a new rate-limit method.

What do I need to send to get a shipping quote?

You need three things, according to Printful's "Estimating Shipments" guide:

  • Recipient data. The country code is a must. Add the state for the US, Canada and Australia, plus the ZIP or postal code. A better address gives a more exact quote.
  • Product variant and quantity. A variant is one exact version of a product, like a black Bella+Canvas tee in size M. Each one has its own catalog variant ID.
  • Currency. A three-letter code such as USD or EUR. If you leave it out, you get your store's default currency.

You can also send a locale, so the method names come back in the shopper's language.

Every request needs a sign-in token in the header (Authorization: Bearer plus your token). For calls tied to one store, also send the X-PF-Store-Id header, as the Printful API docs explain.

Private Token or Public App: which sign-in do I need?

Use a Private Token if the code only runs for your own store. Use a Public App if you are building a tool that other sellers will connect to. Both are covered in the Printful OAuth guide. When you make the token, pick only the scopes you need. A scope is a permission, like "read orders". A quote tool needs very little.

What does a shipping rates response look like?

You get a list with one entry per shipping method. In the sample in Printful's V2 docs, a three-shirt cart returns a STANDARD rate of 13.60 EUR, with 4 to 7 delivery days. The key fields are:

Field What it means for you
shipping The method code, such as STANDARD or EXPRESS
shipping_method_name The label you can show to shoppers
rate What Printful charges you for shipping, as a string
currency The currency of that rate
min_delivery_days / max_delivery_days The delivery window in days
min_delivery_date / max_delivery_date The same window as calendar dates
shipments One entry per parcel, with the country it leaves from
customs_fees_possible True if the buyer may owe duties or taxes on arrival

Field names come from the Printful V2 docs.

How do I know if customs fees might apply?

Check customs_fees_possible on each shipment. If it says true, the buyer may get a bill for duties when the parcel arrives. Surprise fees like that turn into refund requests. So show a short warning at checkout, or offer a method where duties are paid up front. Printful lists Standard DDP shipping for some routes, such as the US to Canada. DDP means "delivered duty paid": the duties are paid before delivery.

What if one cart ships from two countries?

You still get one quote per method. The shipments list just holds more than one parcel, each with its own departure_country. Test a mixed cart once to confirm the top-level rate covers every parcel before you rely on it.

How do I show the quote before checkout without breaking my store?

Call the endpoint from your server, never from the shopper's browser. Your token must stay secret, and anyone can read code that runs in a browser. The flow looks like this:

  1. The shopper types a country and ZIP on the cart page.
  2. Your cart page sends the cart items and address to your own server.
  3. Your server checks its cache. If it has no fresh quote, it calls Printful.
  4. Your server applies your pricing rule (see below) and sends back the price the shopper sees.
  5. Right before payment, ask for the quote again if the cart or address changed.

This matters most on a custom or headless store, or on WooCommerce. A headless store is one where you build your own front end. On Shopify, the simplest path is often to copy Printful's flat rates into your Shopify shipping rates and skip live calls. For the full setup, see our guide to shipping costs, times and profiles.

How often should I cache rates?

Cache by country, state, ZIP prefix and the exact list of items. Printful's flat rates change rarely, so a quote that is a few hours old is almost always right.

Caching also keeps you under the rate limit. Printful allows 120 general API requests per minute per store, and V2 uses a "leaky bucket" that refills bit by bit. Say a sale email sends 400 shoppers to their carts in one minute. Without a cache, that is 400 calls against a limit of 120, and most of those shoppers see an error. With a cache, most carts reuse a quote that is already saved.

Log how long each call takes. If calls get slow, show a saved quote first and update it when the fresh one arrives.

What happens when the call fails or times out?

Plan for failure, because a cart with no shipping price is a cart that does not convert. Printful returns a 429 Too Many Requests error when you go over the limit, with a Retry-After header that says how many seconds to wait, per the Printful rate-limit docs. V2 errors come back as JSON with a status code and a short reason, per the V2 docs.

Good fallback rules:

  • On a 429, wait the number of seconds in Retry-After, then try once more. Never retry in a tight loop.
  • On a timeout, show your fixed backup rate (for example, your standard US flat rate) and log the miss.
  • On a bad address error, ask the shopper to check their ZIP or state. Do not show an empty price.
  • On a customs flag, show the warning instead of hiding it.

A backup flat rate should never be lower than what Printful really charges. If it is, you pay the gap. Our shipping overcharge fix guide covers how to find those gaps.

How do I turn Printful's rate into the price my customer pays?

The endpoint tells you your cost. It does not tell you what to charge. That is a store pricing choice.

Printful's published US flat rates are $4.95 for one t-shirt plus $2.20 for each extra shirt, and $8.79 plus $2.50 for hoodies. Say your store does 340 orders a month at a $31 average order. You charge every order a flat $4.95. Here is what each cart costs you:

Cart Printful charges you You charge Gap per order
1 tee $4.95 $4.95 $0.00
2 tees $4.95 + $2.20 = $7.15 $4.95 −$2.20
1 hoodie $8.79 $4.95 −$3.84
1 hoodie + 1 tee $8.79 + $2.20 = $10.99* $4.95 −$6.04

*Mixed carts can price differently. Check this one with a live quote. Rates are from Printful's shipping page.

Now say 85 of your 340 orders are two-tee carts, and 40 are single hoodies. That is 85 × $2.20 = $187, plus 40 × $3.84 = $153.60. You lose $340.60 a month on shipping you thought was covered. A live quote, or a rate table with more tiers, closes that gap.

You have three honest options:

  • Pass it through. Show the live Printful rate. This is the most exact, but it can look high.
  • Flat rate with tiers. Charge by order value so bigger carts pay more. This is easy to set up in Shopify.
  • Free shipping over a threshold. You pay shipping, and the threshold gets people to add one more item. Use our Printful free shipping threshold guide to find the break-even point.

Price matters at checkout. In Baymard Institute's research, 40% of US shoppers who left a cart blamed extra costs like shipping, and 20% blamed slow delivery.

Do the delivery dates include printing time?

Treat them with care. Printful quotes its shipping windows "after fulfillment", and fulfillment takes 2 to 5 business days. Printful's help center says over 97% of orders ship within 5 business days.

Place one test order and compare the date the API gave you with the real arrival date. If the API window covers only transit, add printing time before you show it to shoppers. For a US tee on standard shipping, that is 2–5 days of printing plus 3–4 days in transit, so 5 to 9 business days in total. Our breakdown of Printful t-shirt shipping rates and times in the US walks through more cases.

Can I skip the code entirely?

Yes. Many sellers never call the endpoint at all. They copy Printful's rates into their store once and check them each season.

That is the job Victor, the AI employee from PodVector AI, does for you. Victor reads Printful's shipping rates for your products and sets your Shopify shipping rates to match. He also runs a monthly supplier cost review on his own and writes a short report when a rate changes. If your shipping gap is the problem, let Victor set your store's shipping rates. For other shipping tools that plug into Shopify, see our Shopify shipping app guide.

FAQs

Why does the order estimate show a different shipping price than the rates endpoint?

The order estimate always uses the standard method. Printful's V2 docs say to use the shipping rates endpoint if you want to see every method, like Express.

Can I get rates in euros or pounds?

Yes. Send the three-letter currency code in your request. If you leave it out, rates come back in your store's default currency.

Should I call the endpoint on every page view?

No. Call it only when you have a country and a cart, and cache the answer. Calling it on every page view burns through your rate limit and slows the page.

What should I show if the shipping call fails?

Show a backup flat rate that is at least as high as Printful's real cost, and log the error. Never show an empty shipping line, because shoppers leave when they cannot see the total.