Inbound commodity code on DHL Express shipments from Portugal
Bookings from Portugal to countries outside the EU are no longer rejected for a missing inbound commodity code, and you don't have to enter an extra code.
The Liquid variable order.is_returning_customer shows whether the customer is new or returning, so one template can adapt the text in documents and messages.
Shipmondo now has the Liquid variable order.is_returning_customer. The variable is true or false and shows whether the customer was a returning customer when the order was placed, so text and content can be adapted depending on whether the customer is new or returning.
order.is_returning_customer can be used anywhere order information is already available: on picking lists, on packing slips, and in order-based messages about order status, fulfillment, invoices/credit notes, and refunds.
You can, for example, welcome new customers, thank regular customers for coming back, or show different offers on the packing slip.
You can, for example, use the variable like this: {% if order.is_returning_customer %}Welcome back!{% endif %}
order.is_returning_customer is not available in shipment-based messages or on the pick route list, because they do not have order information. Orders with no customer attached always count as not returning. The variable is not available in the API either.
The variable requires no activation. In the template editor preview, the returning-customer variant is always shown.
Read more about Liquid in Introduction to Liquid in Shipmondo.
Create an account and you're good to go
Bookings from Portugal to countries outside the EU are no longer rejected for a missing inbound commodity code, and you don't have to enter an extra code.
Let Claude, ChatGPT and other AI assistants find prices, book shipments and handle orders directly in your Shipmondo account.
From November 1, 2026, customs requires product identifiers (M-PID, NS-PID and S-PID) for imports into the EU. Here is how to fill them in for each carrier.