Updated
commercetools shipping integration for parcel labels
A commercetools shipping integration with GoatLabels is a small service you run: it consumes order messages from a queue, calls the GoatLabels REST API to rate-shop USPS, UPS and FedEx, with DHL on international lanes, and writes the tracking number back to the Order. There is no packaged commercetools connector.
Carriers behind one API call
USPS, UPS and FedEx quoted for domestic parcels your service sends (USPS up to 70 lb), DHL on international lanes, no carrier contracts to set up.
A ledger keyed to your order number
Every label debits the quoted amount from a prepaid wallet to a dated ledger entry that carries the reference your service sends.
Free account. No card needed.
| GoatLabels | Build direct carrier integrations | A shipping platform via Connect | Enterprise multi-carrier system | |
|---|---|---|---|---|
| How orders reach it | Your consumer reads order messages from a queue and calls the REST API, or you import a Merchant Center order export as CSV. | Your consumer calls each carrier's own API, one integration per carrier. | A Connect Connector built from service, event, and job applications, per the commercetools guide. | Integrated by the vendor or a partner as an implementation project. |
| What your team builds | One small service: consume the message, buy the label, write the parcel and tracking number back to the Order. | Rating, label, tracking, and error handling for every carrier, then upkeep as each API changes. | Depends on the platform. The guide we read describes no Checkout shipping Connector contract, so the mapping is yours to confirm. | Usually little code on your side, but a scoped project with the vendor. |
| Carrier accounts | None to set up. Labels are bought on GoatLabels' accounts; your own negotiated rates cannot be used. | Your own account and contract with every carrier you integrate. | Check the platform: often your own accounts, sometimes platform rates as well. | Your own carrier contracts, often across many carriers and regions. |
| Rate shopping | USPS, UPS and FedEx quoted on domestic parcels (USPS up to 70 lb), DHL on international lanes, one price per rate. | Only if you write the comparison logic across the carriers you have integrated. | Typically yes, across the accounts you connect to the platform. | Typically yes, rule-based across contracted carriers. |
| Tracking back on the Order | Returned by the API at purchase; your service adds the Parcel to a Delivery. No automatic write-back. | Your service writes it from each carrier's response. | An asynchronous write-back by the Connector, when the integration provides one. | Written back by the vendor's integration. |
| Price and commitment | Free $0 a month with 50 shipments, or Pro $40 a month flat with unlimited shipments. No contract. | No software fee; engineering time plus each carrier's contracted rates. | Not stated here; see the platform's own pricing page. | Quoted by sales, typically with implementation fees. |
Third-party details checked on from each vendor's own pages: commercetools docs: shipping carrier integration guide (checked 2026-10-06); commercetools API: Subscriptions (checked 2026-10-06); commercetools API: Cart and Order messages (checked 2026-10-06); commercetools Merchant Center release notes (checked 2026-10-06). Plans and features change, so confirm on the vendor's current page before you decide.
What are the ways to add shipping labels to commercetools?
commercetools leaves shipping execution to you. You can pick one of four routes: a label API called from your own small service, direct integrations with each carrier, a shipping platform wired in through Connect, or an enterprise multi-carrier system. GoatLabels is the first route. The table sets out what each one asks of your team.
What you need, then four steps to the first labels.
-
An order message or an order export
A Subscription that delivers order messages to a queue, with a small worker to read it, or a Merchant Center order export as CSV for a pilot. Either carries the ship-to, line items and order number.
-
Test keys and a reference convention
A commercetools shipping integration starts in test: build the worker against test keys, and decide whether the order number, PO or Business Unit key is the reference on every ledger line.
-
Cartons, weights and a funded wallet
The label request needs carton count, weights and dimensions; rough is fine for a first run. Fund the prepaid wallet by card before the first live purchase.
-
Step 1
Get the orders in. Your worker posts order messages to the REST API, or drop a Merchant Center CSV or paste one order. Head the column Reference and it stays on each row.
-
Step 2
Pick a rate side by side. USPS, UPS and FedEx quote a domestic carton with a delivery window; DHL quotes international. Lowest-priced, fastest, or a named service.
-
Step 3
Pay from the wallet. The quoted amount leaves the prepaid balance as a dated ledger line with the order reference; an Idempotency-Key means a retried call never buys twice.
-
Step 4
Print or auto-print. commercetools shipping labels print from the browser or PrintNode sends them to a thermal printer; your worker adds the Parcel and tracking to the Order.
What is a commercetools shipping integration?
A commercetools shipping integration is the code that connects your project to something that can rate and label parcels. The commercetools carrier integration guide describes it as connecting to a carrier, a multi-carrier rate-shopping engine, or a label and shipping-execution platform, with an asynchronous write-back that books a shipment and records its tracking number on the Order.
The same guide notes that Checkout defines no shipping Connector contract, so nothing arrives ready-made. You decide where rates come from at checkout, which service buys the label after the order is placed, and how the parcel and its tracking number land back on the Order. In a composable commerce shipping stack, GoatLabels covers the label and rate-shopping part behind one REST API.
How do commercetools orders reach a label API?
Through a Subscription and a consumer you run. A commercetools Subscription delivers a message to a queue destination when a resource changes, with SQS as the documented example. The pages we read do not describe calling an arbitrary HTTP endpoint, so plan for a small worker to read the queue, fetch or unpack the order, and call the label API.
With GoatLabels that worker makes a few calls: create the shipment with the ship-to address, cartons, and weights; read the quotes (USPS, UPS and FedEx on a domestic parcel, DHL on international lanes); buy the one your rule picks. Send the message or order ID as the Idempotency-Key, so a redelivered queue message never buys a second label. Calls are unlimited on every plan.
How does tracking get back onto the commercetools Order?
Your service writes it. commercetools Orders model Delivery and Parcel objects, and the platform emits order messages such as Parcel Added To Delivery when one is recorded. After the label is bought, your worker adds a Parcel with the tracking number to the Order's Delivery using your commercetools API client.
GoatLabels returns the tracking number in the purchase response and sends later tracking events on signed webhooks that can be replayed if your endpoint was down. It does not write into commercetools itself. Anything already subscribed to parcel messages in your stack, such as a notification service, keeps working because the Order is updated the usual way.
Does this work for B2B orders and without writing code?
Yes to both, with limits. Merchant Center supports B2B order creation with Business Unit selection, and those orders are Orders like any other, so commercetools B2B shipping runs through the same queue consumer. Pass the order number, PO, or Business Unit key as the reference and it appears on the ledger line for that label.
For a pilot with no code, Merchant Center can export orders to CSV. Reshape the file to the GoatLabels column layout and import up to 500 rows at a time; errors name the row and field, and one bad row does not fail the batch. A multi-carton order produces several labels, each a ledger line with the same reference. Tracking then goes back by hand or by script.
When is GoatLabels the wrong commercetools shipping integration?
It is the wrong choice if you want a packaged Connector you install rather than a service you own, if you must ship on your own negotiated carrier contracts, or if you need LTL and freight, an SLA, or SSO. GoatLabels offers none of those. It is parcel only, with US origins, and provides no SDK beyond the OpenAPI 3.1 spec.
Enterprises with carrier contracts in many regions, retailer compliance labels, or regulated goods are better served by an enterprise multi-carrier system or direct carrier integrations. GoatLabels suits a composable team that is comfortable running one more small service and would rather call one API than maintain a separate integration for each carrier.
Comparing storefront platforms first? See B2B ecommerce shipping software. Ready to read the endpoints? Start with the shipping API for developers.
A queue consumer that buys the label.
Your worker already has the order from the subscription message. The GoatLabels REST API serves as the shipping API for commercetools without a Connector: your worker rate-shops and buys in a few calls, with unlimited calls on every plan, live and test keys, Idempotency-Key support, signed replayable webhooks, and rate-limit headers. There is no SDK; the OpenAPI 3.1 spec generates a typed client for your language.
- Create, rate-shop, and buy in a few calls
- Idempotency-Key for redelivered queue messages
- Signed, replayable tracking webhooks
- Test keys for a staging project
commercetools shipping integration: FAQ
- Does GoatLabels have a commercetools connector?
- No. GoatLabels has no packaged commercetools Connector or app. The route is a small service you run that consumes order messages and calls the REST API, or a CSV import of up to 500 rows per file from an order export. The store connectors do not include commercetools.
- Which carriers can commercetools shipping labels use?
- USPS, UPS and FedEx, rate-shopped on domestic parcels (USPS up to 70 lb) from one account with one price per rate, plus DHL and an international network for parcels going abroad. You cannot add your own carrier accounts or negotiated rates.
- How much does a commercetools shipping integration with GoatLabels cost?
- The software is $0 a month on Free with 50 shipments a month, or $40 a month flat on Pro with unlimited shipments. The API is on both plans with unlimited calls. Labels are paid from a prepaid wallet, and there is no contract. Your own queue and worker hosting are separate.
- Can GoatLabels supply shipping rates at checkout?
- The API returns live quotes for a parcel, so your own checkout service can call it and show the result. GoatLabels provides no commercetools checkout component and no SLA, so add a timeout and a fallback rate in your service. You can start with labels after the order is placed.
- What happens if the same order message is delivered twice?
- Nothing is bought twice if you send an Idempotency-Key. Use the order or message ID as the key on the purchase call; a repeated call with the same key returns the original result instead of a second label. Queue redelivery and retries after a timeout are both covered this way.
- Can I talk to someone about my commercetools setup first?
- Yes. Email contact@goatlabels.io with your monthly parcel volume, your origins, and a sample order payload or CSV export. We check the fields against the API and the bulk importer, price the parcels across USPS, UPS and FedEx, with DHL on any international lanes, and show the ledger. There is nothing to sign. You can also book a 30-minute shipping review from the contact page.
Free plan. Enough to wire up a staging project and ship real orders. Full pricing details.
Related reading: B2B ecommerce shipping software, Salesforce Commerce Cloud shipping software, the shipping API for developers, shipping API comparison, order management system shipping integration.
B2B commerce shipping guides: Adobe Commerce B2B shipping, Amazon Business shipping labels, B2B ecommerce shipping software, BigCommerce B2B shipping software, Salesforce Commerce Cloud shipping, Shopify B2B shipping software, Walmart Marketplace shipping software, WooCommerce wholesale shipping.
Order messages in, parcel labels out.
One small service.
Consume the order message, call the API, compare USPS, UPS and FedEx on domestic parcels (USPS up to 70 lb) and DHL on international lanes, then decide. Free is $0 a month for up to 50 shipments; Pro is $40 flat with unlimited shipments.
Free account. No card needed.