[ENG] Shopify

[ENG] Shopify

 

Below is the documentation for InPost's proprietary Shopify solution. It contains information about the installation and configuration of the plugin.

The plugin is available on the Shopify app strore

 

 

Shopify as of January 1, 2023 has changed the rules for granting access to the Carrier Service API which allows our application to work only from the GROW plan

image-20251211-092705.png

 

If you use the app, it's a good idea to have backup shipping rates set up that will be charged if the rates generated by the InPost app are unavailable: https://help.shopify.com/en/manual/fulfillment/setup/shipping-rates/backup-rates

Change of data source for pickup point data for INTEGRATION→ External integration – correct source of data about the collection point

 

Plugin:

17.05.2023

Marketplace Shopify

https://apps.shopify.com/inpost-oficjalna-aplikacja?locale=pl&search_id=d8ba9002-e8bf-4807-8eba-ebfc96402a1c&surface_detail=inpost&surface_inter_position=1&surface_intra_position=8&surface_type=search

 

! After installing the plugin, add the webhook address in the Parcel Manager panel:

Manager Paczek → Moje Konto → API → Ustawienia Organizacji → Adres Webhook

https://shop-plugin-api.inpost.pl/api/inpost/webhook

 

! The activation of carrier-calculated shipping is required for the proper functioning of the InPost application.

CCS can be activated by contacting Shopify support

After activation, reinstall the InPost application

Changelog

Changelog:

03.11.2025 → Support for InPost points added to the map

17.07.2025 → Facilitating bulk shipping, improving error messages when creating shipments

→ Filter date range - filter expansion and repair

→ Discount coupons vs. free shipping – adding a switch in the panel

→ Virtual products and free shipping - adding a switch in the panel

→ Error handling - improving message readability

15.11.2024 → Mass label generation has been improved

→ A4 format for InPost Paczkomat 24/7 service has been added (generating several labels on one page)

→ Label cancellation has been added (after 30 days a label that has not been sent is removed from the “Shipments” tab)

→ Added has been paged in the “Shipments” tab.

27.08.2024 → Added COD service for C2C courier delivery method

→ Added editing of buyer data (if we edit the data in the order in Shopify - it will also change in the InPost panel when creating a package)

→ Provide the ability to edit the amount of COD when creating a parcel

31.07.2024 → Adding a tab “excluded products” , which allows you to disable InPost delivery methods in specific products

→ Adding the possibility of displaying Parcel/Packet and Parcel-Point or Parcel-Point alone in InPost Parcel delivery methods

→ Improvement of bulk label downloading

→ Improved filtering of shipments in the “Shipments” tab. - remembering filters

04.06.2024 → Addition of automatic replenishment of the tracking number in the order when the order status is changed to ‘completed’

18.04.2024 → Addition of error display

→ Blocking excessive requests sent by the shop

04.01.2024 → Shopify API update in app

→ Disabling the advanced mode (geowidget)

→ Changing the display of the name of services in the shopping basket

→ FIX: Label in A6 format

08.12.2023 → Including the Shopify order number on the label

31.10.2023 → Addition of information on required checkout liquid

→ Change of name of POP/Packet Machine

25.10.2023 → FIX: Changing Parcel Machine® receiving (after changing the sending one)

05.10.2023 → FIX: Search for parcel machine by address (not postcode)

 


Authorization

Production environment

You must have access credentials to connect to the ShipX API before installation:

  • Access Token (key)

  • ID organization

and

  • Access Token for Geowidget

Download a tutorial explaining how to quickly create access to the ShipX API and Geowidget on your own:

https://inpost.pl/sites/default/files/2022-03/instrukcja-konfiguracji-api-shipx.pdf

Sandbox environment

Access generation

https://sandbox-manager.paczkomaty.pl/ > tab Moje konto > API

To generate a Token and an organization ID in sandbox, you need to complete all the data, including billing details under My Account > Data. In order to create a Parcel Locker® shipment you need funds in your account, you will top up your account virtually in the Payments tab

Geowidget:

  • Access Token do Geowidget > tab Moje konto > API > Geowidget

Important!

Sandbox mode is available only when no production order has yet been processed by the application.

Due to the limitations of displaying POPs in the test maps, production maps have been used in the application to allow you to preview the selection of default Parcelboxes or Parcelpoints.

To create a shipment in test mode with Parcel Post or POP broadcast, you need to enter the data manually.

  • Parcel Locker : WAW099, AND01A, BBI01N

  • POP : POP-004-TEST

 


Plugin installation

 

Install the app from the Shopify App Store

Steps:

  • Log in to the Shopify App Store

  • Find Inpost app, then click it

  • On the app offer page, click Add app

  • To authorize the use of the app, click Install app in the Shopify dashboard

Once the app is installed, you can view and use it on the Apps page of your Shopify dashboard.

More information: https://help.shopify.com/en/manual/apps/installing-apps

 

After installation, the application on the left will appear in the store panel:

 


 


Configuration

 

To configure the plug-in, we go to the InPost application. There you will see several tabs below telling you what they mean:

The changes made should be saved, by clicking the Zapisz Ustawienia at the bottom of the screen

After saving the settings, a confirmation message will appear.

 

 

Authorization (Login Details)

 

ID organizacji

Must be completed from Parcel Manager (My Account tab - API, format - 5 digits)

Autoryzacja (Token API)

Allows you to configure access to the ShipX API (Production and Sandbox). Data like organization ID and token can be obtained from the Parcel Manager. We described it in the first part of this documentation Autoryzacja

Autoryzacja (Token Geowidget) Shopify Plus

Allows you to add a Token to Geowidget (you need to generate a Geowiedget token for the map with InPost points to work properly)

Tryb API

Sandbox/Produkcja

Status wtyczki

Deactivating the plug-in will not affect the orders being processed. New customers will not be able to use the delivery methods defined in the settings.

 

Services

 

Numer zamówienia na etykiecie

Checking this feature on the label will add the Shopify order number to the reference number:

 

image-20251219-075854.png

 

Label:

 

 

Zapobiegaj mnożeniu ceny w przypadku dostawy z wielu lokalizacji

If the delivery is made from several locations (two products in the basket are from different locations), select this option so that the delivery price is not duplicated.

 

Metody dostawy

Allows you to configure delivery methods:

  • service name

  • the number of parcel machines that will be displayed in the shopping cart (closest to the address that the customer specified)

  • types of pickup points to appear in checkout

  • cost of delivery

  • free delivery threshold

  • maximum allowed weight for products at which this delivery service will display in the shopping cart

  • positioning of services (by clicking on the up or down arrow)

  • logo (only with Shopify Plus)

! It is important to set the weight for each product in the store

 

image-20240731-094301.png

 

You can find a delivery implementation guide at:
https://inpost.pl/sites/default/files/docs/regulaminy/instrukcja-ekspozycji-dostawy-paczkomat-inpost-247-w-twoim-sklepie-777232.pdf

 

In addition, for Weekend Parcel, please specify:

  • Availability from / to day of the week

  • Availability from / to the hour

 

Szybkie Zwroty

Enables configuration of the Quick Returns service

  1. In the plug-in configuration, you need to provide a link to the Fast Returns form (e.g. https://szybkiezwroty.pl/pl/Nazwa_sklepu). The link is created when you create an account for this service through the Sales Representative

  2. After adding the short name, a code will be generated. The code allows you to display the Return button in the customer panel of the skep. The code should be copied and added in the store template according to the following instructions.

* Fill in the abbreviated name of your account set up on the Quick Returns service

* After adding the short name, a code will be generated. The code allows you to display the 'return' button in the skep customer panel. The code should be copied and added in the store template according to the instructions below.

 

1. Refer to the Shopify manual Edytowanie kodu szablonu · Centrum Pomocy Shopify From the Shopify admin panel, go to options: Online Store > Templates.

2. We make sure that our store uses the classic customer panel and that you have access to edit the template code.

 

3. Verify which of the following files you can edit in your store

 

Path for templates/customers/order.json

1. We find in the templates/customers/order.json file the name of the section that our template uses

 

 

2. In the above case, it is main-order, so the path to the section file is as follows: sections/main-order.liquid

Edit the sections/main-order.liquid file by adding the embed code from the app under the order details table.

 

 

Path for templates/customers/order.liquid

Edit the templates/customers/order.liquid file by adding the embed code from the app under the order details table.

 

 

EFFECT:

 

 

Returns made through the form have 2 acceptance options:

  1. Automatic - the customer, when completing the form, receives a return code, which he must enter while at the machine

  2. Manual acceptance - the customer submits the form but you are the one who accepts or not a given return. Only after acceptance does the customer receive the return code

 

 

Domyślna wartość ubezpieczenia

Default amount that will be displayed when creating InPost shipments (blank indicates 0)

 

Ustawienia nadania

  • allows you to set the default parcel size, which will be automatically substituted when creating a parcel

  • default way of sending parcel shipments

  • default outgoing parcel machine for parcel shipments

  • default POP point

 

Punkt odbioru

A place to define a parcel pick-up point when creating a drive-up order

Points can be added, deleted and edited

 

Nadawca

Specify the sender of the packages - all fields must be completed

 

 


 

Checkout - list points

Example checkout appearance (with Basic setting - list of items):

image-20251027-135555.png

Checkout - geowidget

The plugin allows you to share pickup points in the form of a Geowidget.

Depending on your store plan, you can choose:

Basic - list of points (for Shopify plans)

Checkout - Geowidget in checkout (for Shopify Plus plans)

Thank You Page - Geowidget in summary (for Shopify plans)

 

image-20250902-074206.png

In order for the Geowidget to work properly, you need to provide a key for Google Maps + Geocoding API, which can be obtained from:

https://mapsplatform.google.com/ → Get Started → Create an account (if you don't have one)

Then proceed to account configuration. You must fill in the necessary data, including contact and payment details.

Moving on, another window will appear, displaying the generated unique API key. By entering it into your website script, you will enable site users to use Google Maps functionality.

When creating, enable the following interfaces:

  • Directions API

  • Geocoding API

  • Geolocation API

Copy the key and paste it into the InPost application.

 

Next, add a block with a map:

Settings > Checkout > Configurations > Customize:

image-20251027-111502.png

 

At the top, select Checkout/Thank you page (depending on the mode):

image-20251027-111623.png

 

Select Sections + Add block by choosing the block from the InPost app “Parcel locker selection”

image-20251027-111852.png

 

 

After saving the tokens, adding the block, and creating a new shopping cart, the InPost International method will appear in your store (see the Thank You Page screenshot for an example):

image-20251027-102626.png

 

In summary, it will be possible to select points from the list and map:

image-20251027-102709.png

After clicking Map:

image-20251027-135400.png

 

After selecting an item, click SAVE SELECTION


Disable products

 

The tab allows you to enable or disable the visibility of all InPost services in a given product.

 

 

image-20240731-094123.png

 

Shipments - management

A place to manage orders and shipments. We can manage them in bulk or by going into individual orders.

Note: an order that uses InPost delivery will automatically appear in the app

There is a view of all the important information - shipment number, order number, status, price, service, method of shipment, phone number, recipient's email, whether the package was shipped and date.

 

Filtering shipments

  • Sposób nadania

  • Status

  • Usługa

  • Ilość pokazanych przesyłek na stroniw

  • Nr referencyjny

  • Nr zamówienia

  • Nr telefonu

  • E-mail odbiorcy

 


List of shipments

In the list of shipments, columns are available:

  • Zamawianie podjazdu  - Ordering a driveway

  • Drukowanie etykiet - Printing labels

  • Drukowanie etykiet zwrotnych - Print return labels

  • Drukuj zleceń odbioru - Print collection orders

 

  • Nr przesyłki utworzony: click takes you to shipment tracking

  • Nr przesyłki nie utworzony: Clicking on the '+' takes you to the settings for a particular order

  • Unique order number for InPost system

  • This is a different order number from the particular Shopify store

Status — shipment status of a given order

Cena — total value of the order

Usługa — the selected delivery service

Sposób nadania — the selected shipping method

Nr tel. - details of the customer who placed the order

E-mail odbiorcy — data of the customer who placed the order data

Nadano — date of shipment

Utworzono — date of creation

Akcje -

  • Drukuj etykietę

    • The action allows you to generate labels in 3 formats PDF, A6 format / EPL / ZPL

    • The action is available after creating a shipment

  • Drukuj etykietę zwrotną

    • Action available only for courier services

  • Drukuj zlecenie odbioru

    • Option available after ordering a driveway

  • Zamów podjazd

    • This option allows, ordering a driveway for the entered parcel pick-up locations. It is required to select or define a pickup location

    • Option is available after parcel number is generated

 

The availability of actions for a given order, depends on the status. For example, if a shipment has not been created, then no actions are available

 


Label generation

Generate labels in bulk via action buttons

Select specific shipments (which already have tracking numbers generated), select the three dots at the bottom in the black window that expand additional actions, and select Print labels - a window will appear with a choice of format.

image-20241216-140014.png
Single label generation

In the shipments tab, select the Print Labels button where we can choose the label format:

image-20241216-140437.png

Shipments - creating shipments

 

From the Application level in the Przesyłki tab

In the Przesyłki tab you will find all orders placed in the store for which the InPost delivery method has been selected

 

To create a shipment you need to:

  • The button is available for orders for which no shipment number has been generated

  • The left section is customer data and order details

  • The right section is used to generate the shipment.

  • Usługa — Service - verify or change the selected form of delivery

  • Paczkomat odbiorczy klienta — Customer's receiving parcel - verify or change the customer's receiving parcel

  • Status przesyłki — Shipment status - preview the status of the shipment

  • Domyślny rozmiar paczki — Default parcel size - select the size of the parcel to be shipped

  • Wartość ubezpieczenia — Insurance value - change the default insurance value [provided in the services tab

  •  Numer referencyjny — Reference number

  • Sposób nadania — Shipment method

  • Punkt odbioru — Pickup point - list of pickup points available for a given way of shipment, points are added in the 'services' tab

  • Numer przesyłki —Shipment number - The shipment number will be automatically assigned after the shipment is created

    1. Once the tracking number is generated, you can go directly to shipment tracking https://inpost.pl/sledzenie-przesylek  

    2. Once the tracking number is generated, you can also download parcel labels

From within a given order

 

InPost shipment can be created directly from the order level, to do this you need to:

  1. Go to the order in question

  2. Select ' More Actions' > 'Create InPost shipment' in the upper right corner

  3. Admin will be transferred to the parcel creation panel in the Inpost app


Create shipments in bulk

Under Shipments → select the orders in which no shipment numbers have been assigned and then enter the additional options (three dots) and select create shipments

 

image-20250327-075934.png

A message will appear (click create shipments):

image-20250327-080017.png

Confirmation of the creation of shipments, where we can print labels

image-20250327-080208.png

Completing the consignment number in the order

The tracking number will automatically be added to the order in Shopify but two conditions must be met:

  1. Creation of the shipment in the InPost app

  2. In the order list, change the status to FULFILLED

 

image-20240604-114258.png
image-20240604-114037.png

 

Orders - courier driveway

Panel for viewing submitted driveway orders

Columns: shipment number, date of shipment, pickup points, status

 


Product

You need to set the weight in each product to generate a shipment in the order:


External integration – correct source of data about the pickup point

 

Recently, we have noticed cases of misuse of the service_code field for external integration. This field is used exclusively for internal application needs, such as determining the order in which delivery methods are displayed at checkout, and may contain additional technical information (e.g., :i_0).

📍 The correct place to retrieve information about the selected pickup point and service name is the order attributes.
This data is stored and available in the order in the Shopify panel in the Additional details section (see example below) and via the API.

➡️ Example attributes:

InPost service: locker

InPost Parcel Locker: RZE285

This makes them independent of the application logic and always consistent with the customer's selected option.

 

 


Help

A place with information about the documentation (above) and a contact form for additional questions