In order to allow the customer to select a parcel locker correctly and to download the data which will later be used to create the parcel, two solutions can be used:

  • Geowidget

  • Points resource in the ShipX API

The recommended solution is to use Geowidget. In case the Customer does not have the possibility to use this functionality, it is acceptable to use a list of points, a proprietary Geowidget made from the Points resource in the ShipX API.


On this page

Geowidget

Geowidget v5 is a locator and point selector designed by InPost.

Its main tasks are:

  • To show a map of points with several types (for example parcel lockers);

  • Providing information about these points and enabling integration with external customer systems.

GEOv5 is a widget-type software, it means that whole code and processing is held on Integer servers, external clients only attach link to this code and specify configuration that will be used on theirs systems.

Possible types of points

Description

Option

functions

payment_available

location_247

Type of displayed points

InPost Paczkomaty 24/7

config='parcelCollect'

parcel_collect

(error)

(error)

Paczkomat, Paczkomat w Żabce, PaczkoPunkt, PaczkoPunt w Żabce

InPost Paczkomaty 24/7 COD

config='parcelCollectPayment'

parcel_collect

(tick)

(error)

Paczkomat, Paczkomat w Żabce, PaczkoPunkt, PaczkoPunt w Żabce

InPost Paczkomaty 24/7 Paczka w Weekend

config='parcelCollect247'

parcel_collect

(error)

(tick)

Paczkomaty dostępne 24/7

Showing sending points

config='parcelSend'

parcel_send

(error)

(error)

Paczkomat, Paczkomat w Żabce, PaczkoPunkt, PaczkoPunt w Żabce

Detailed documentation can be found at Geowidget v5 Beta

Examples of integration


Production environment: https://geowidget.inpost.pl/examples/index.html

Test environment: https://sandbox-easy-geowidget-sdk.easypack24.net/examples/index.html

Geowidget examples

Production environment: https://geowidget.inpost.pl/
Test environment: https://sandbox-easy-geowidget-sdk.easypack24.net/


Points

The Points resource is available in the ShipX API.  This resource is aimed at Customers who want to create their version of Geowidget on the basis of the API, to propose lists with collection points, when they do not have the technical possibility to use InPost Geowidget.

This option allows you to:

  • Retrieve information about the locations where InPost services are available. The points can be: self-service machines (parcel locker) or parcel points;

  • Downloading of parcel machines on the basis of coordinates - it is also possible to specify the maximum distance of points from a relative point and to plot these coordinates on a Google map.

In practice, when the user enters e.g. the name of the town or the postal code, Points searches for Parcel Post Offices assigned to it, returns their coordinates and then, based on these coordinates, you can place them on a map, e.g. Google.

Production environment:

https://api.inpost.pl/v1/points

Sandbox environment:
https://sandbox-api-gateway-pl.easypack24.net/v1/points

Detailed documentation can be found at[1.23.0] Points

Dedicated configurations for shopping cart delivery options

InPost Paczkomaty 24/7  & InPost w Żabce

Opis

Configuration to download the full list of points

Parameters to be used by the client to filter the downloaded list of points

Type of presented points

InPost Paczkomaty 24/7

/v1/points?type=parcel_locker

Remove points witth  partner_id=60

Paczkomaty, PaczkoPunkty

InPost Paczkomaty 24/7 COD

payment_available=true and remove the points with partner_id=60

Paczkomaty, PaczkoPunkty

InPost w Żabce

partner_id=60

PaczkoPunkty w Żabce

InPost w Żabce COD

partner_id=60&payment_available=true

PaczkoPunkty w Żabce

Prezentowanie punktów odbioru dla zamówień Paczka w Weekend

location_247=true

Paczkomaty dostępne 24/7

Showing sending points

/v1/points?functions=parcel_send

 functions=parcel_send

Paczkomat, Paczkomat w Żabce, PaczkoPunkt, PaczkoPunt w Żabce

Transition model

InPost Paczkomaty 24/7

Description

Configuration to download the full list of points

Parameters to be used by the client to filter the downloaded list of points

Type of presented points

InPost Paczkomaty 24/7

/v1/points?type=parcel_locker

 type=parcel_locker

Paczkomat, Paczkomat w Żabce, PaczkoPunkt, PaczkoPunt w Żabce

InPost Paczkomaty 24/7 COD

payment_available=true

Paczkomat, Paczkomat w Żabce, PaczkoPunkt, PaczkoPunt w Żabce

InPost Paczkomaty 24/7 Paczka w Weekend

location_247=true

Paczkomaty dostępne 24/7

Showing sending points

/v1/points?functions=parcel_send

 functions=parcel_send

Paczkomat, Paczkomat w Żabce, PaczkoPunkt, PaczkoPunt w Żabce

Best Practices

The below is a list of parameters by which to include the information in the point details.

The below information was retrieved using a query:

curl -X GET https://api-shipx-pl.easypack24.net/v1/points?name=WAW94A -H 'Content-Type: application/json'

Paczkomaty InPost

Displayed fields

Parameters in API

Paczkomat

If "partner_id":0 set "Paczkomat"

Parcel Locker Name

"name": "WAW94A"

Address data

"address": {
         "line1": "Czerska 8/10",
    "line2": "00-732 Warszawa"

Additional description

"location_description": "Przy biurowcu Agory"

Opening hours

"opening_hours": "24/7"

Pin

Dedicated pins are located at the bottom of the article.


PaczkoPunkt

Displayed fields

Parameters in API

PaczkoPunkt

If "partner_id": 33 set "PaczkoPunkt"

Name of PaczkoPunkt

"name": "POP-WAW206"

Address data

 "address": {
         "line1": "Kierbedzia 8 LOK. U301",
         "line2": "00-728 Warszawa"

Additional description

"location_description": "EKOPARTY"

Opening hours

"opening_hours": "PN-PT 10-18 SB 10-14"

Pin

Dedicated pins are located at the bottom of the article.



Paczkomat w Żabce

Displayed fields

Parameters in API

Paczkomat

If "partner_id": 61 set "Paczkomat"

Parcel Locker Name

"name": "WAW41ZIH"

Address data

  "address": {                 "line1": "Bobrowiecka 10 lok. U7",                 "line2": "00-728 Warszawa"

Additional description

"location_description": "W sklepie Żabka"

Opening hours

"opening_hours": "PN-SB 06-23"

Pin

Dedicated pins are located at the bottom of the article.



PaczkoPunkt

Displayed fields

Parameters in API

PaczkoPunkt w Żabce

If "partner_id": 60 set "PaczkoPunkt w Żabce"

Name of PaczkoPunkt

"name": "POP-WAW06Z"

Address data

 "address": {                 "line1": "Branickiego 11/192",                 "line2": "02-797 WARSZAWA"

Additional description

"location_description": "ŻABKA"

Opening hours

"opening_hours": "PN-SB 06-23 ND Sprawdź w sklepie"

Pin

Dedicated pins are located at the bottom of the article.


Pins, loga

Logo to download: https://inpost.pl/do-pobrania

Pins to download

Name, extension

Parcel locker Geo.png

Parcel locker max.png

Parcel locker min.png

ParcelPoint Geo.png

ParcelPoint max.png

ParcelPoint min.png

Parcel locker max.pdf

Parcel locker min.pdf

ParcelPoint max.pdf

ParcelPoint min.pdf

Parcel locker max.svg

Parcel locker min.svg

ParcelPoint max.svg

ParcelPoint min.svg

Example queries

  • In the Points resource it is possible to retrieve the nearest Parcel Post from a relative point based on coordinates:

    curl -X GET https://api-shipx-pl.easypack24.net/v1/points?relative_point=52.21472%2C20.95547 -H 'Content-Type: application/json'
  • The number of points can be limited by the parameter limit:

    curl -X GET https://api-shipx-pl.easypack24.net/v1/points?relative_point=52.21472%2C20.95547&limit=3 -H 'Content-Type: application/json'
  • The number of points can be limited by the max_distance parameter (given in metres):

    curl -X GET https://api-shipx-pl.easypack24.net/v1/points?relative_point=52.21472%2C20.95547&max_distance=800 -H 'Content-Type: application/json'
  • Retrieving the nearest points for a postcode:

    curl -X GET https://api-shipx-pl.easypack24.net/v1/points?relative_post_code=37-200&type=parcel_locker -H 'Content-Type: application/json'
  • Collection of all parcel lockers and parcel points offices to which you can send your parcel:

    curl -X GET https://api-shipx-pl.easypack24.net/v1/points?type=parcel_locker -H 'Content-Type: application/json'
  • Collection only of physical lockers:

    curl -X GET https://api-shipx-pl.easypack24.net/v1/points?type=parcel_locker_only -H 'Content-Type: application/json'
  • Collection of parcels point to which you can send your parcel:

    curl -X GET https://api-shipx-pl.easypack24.net/v1/points?type=parcel_locker_superpop -H 'Content-Type: application/json'
  • Collection of points that support COD shipments:

    curl -X GET https://api-shipx-pl.easypack24.net/v1/points?payment_available=true -H 'Content-Type: application/json'
  • Collection of points, which are available 24/7, dedicated to the Weekend Parcels service:

    curl -X GET https://api-shipx-pl.easypack24.net/v1/points?location_247=true -H 'Content-Type: application/json'