Before you can assign Swiss Post products to your shipping methods and create labels automatically, you need to configure a few settings.
Registration with Swiss Post
To create shipping labels for Swiss Post in Pickware, you need to register with Swiss Post. To do so, go to https://developer.apis.post.ch/ui/home, navigate to APIs → Barcode and select the Default plan. There, select Login for more → Swiss Post Login. You can then use an existing application or create a new one.
After Swiss Post has reviewed your registration, you will receive your credentials, which you then need to store in your Shopware Admin.
Swiss Post settings
Before you configure the settings for Swiss Post, make sure you have first configured the common settings for all carriers. You can find them under Settings → Extensions → Shipping labels common. These settings apply to all carriers you use. You can find all the details here.
Attention: Swiss Post expects a Swiss sender address. In Shipping labels common, store a sender address in Switzerland for your Swiss Sales Channel, for example the address of your fulfillment provider. With a German sender address, the label will fail.
You can find the settings specific to Swiss Post shipping under Settings → Extensions → Swiss Post.
Sales Channel
Here you can define which of your Sales Channels the following settings should apply to. By default, the settings apply to all Sales Channels. If you only use one Sales Channel, still select the option All sales channels. If you select a specific shop, all fields are initially linked to the common settings. You can tell by the chain symbol and the grayed-out fields. Click the symbol to remove the link and enter individual values, while other fields remain linked. |
Swiss Post credentials
Enter your Client ID, Client Secret, franking license, and your home post office here.
There are three fields for franking licenses. Which one you need depends on what you ship:
Franking license – for parcels, for example PostPac
Franking license (Post) – your letter license for A-Post Plus, A-Post, and B-Post single items
Franking license (international registered mail) – for registered mail abroad
If an error related to frankingLicense appears when shipping letters, check whether the correct license is entered in the matching field.
What to keep in mind when shipping with Swiss Post
Recipient notification requires an email address
If recipient notification is active, Swiss Post needs the recipient's email address. If the privacy configuration of the shipping method for the email address is set to Never, no email address is passed on, and the label fails. In this case, change how the email address is passed on in the shipping method or deactivate recipient notification.
Not every service fits every product
Swiss Post does not allow every service with every product. For example, the service Information zur Lieferung (Delivery information) is not possible with Midi and Mini letters. If a label fails, check the combination of product and services in the shipping method.
Create labels only via the Shipping labels tab
Pickware creates labels for Swiss Post exclusively via the Shipping labels tab on the order. If you also see a "Swiss Post" tab on the order, it comes from a plugin by another provider and is not part of Pickware.
These are the next steps
