Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


title
Info

Warning!

The resource is available only in the following countries: PL, IT

Points resource represents the locatons locations in which the logistics operators operator's services are available. Points can be self-service machines (Paczkomat Automatic Parcel Stationlocker, LaundromatParcelPoint) or branches, customer service points. Each of the locations offers specific services - the list of these services is returned in to the response under the functions attribute.

PanelbgColor#f0f0f0

titleBGColor#f0f0f0titleOn this page

Table of Contents
minLevel2
 


Production environment:

https://api-shipx-pl.easypack24.net/v1/points

Test encironmentSandbox environment:
You can test your implementation on a test environment available at: https://sandbox-api-shipx-pl-points.easypack24.net/v1/points


On this page

Table of Contents

Structure

Point resource has the following attributes:

Attribute

Type

Description

Availability

name 

String

Unique point name e.g. KRA007 (Parcel Locker)

PL, IT

type

Array

Table specifying types of points available at the location.

Possible types of points:

  • parcel_locker - Physical

automatic
  • parcel

stations
  • locker and

shipment handling points where a parcel machine shipment can be sent
  • parcel points to which you can send your parcel.

  • pop -

Shipment handling
  • All parcel points.

  • parcel_locker_only -

Physical automatic parcel stations only
  • Only physical parcel locker.

  • parcel_locker_superpop -

Shipment handling
  • Parcel points which

a parcel machine shipment can be sent to
  • you can send your parcel

PL, IT

status 

String

Point status.

PL, IT

location

Object

Location object including the geographical location latitude and longitude

Location resource example in JSON format:

Code Block
"latitude": 50.03988,
"longitude": 19.92485


PL, IT

location_type

String

Location type.

PL, IT

location_description

String

Additional location description that may make it easier to reach.

PL, IT

location_description_1

String

Additional description

PL, IT

location_description_2

String

Additional description

PL, IT

distance

Integer

Distance from the relative point location. If the relative point has not been specified, takes null value.

PL, IT

opening_hours 

String

Point opening hours

PL, IT

address

Object

Address object containing the

points resource in

point's address information such as street, post-code, city.

Address object example in JSON format:

Code Block
"line1": "Kapelanka 14",
"line2": null


PL, IT

Code Block
address_details

Object

Detailed point address data

Code Block
"city": "Bartoszyce",
"province": "Warmińsko-Mazurskie",
"post_code": "11-200",
"street": null,
"building_number": null,
"flat_number": null


PL, IT

phone_number 

String

Point telephone number

PL, IT

payment_point_descr 

String

Additional information about the point


functions

Array

Table specifying the functions offered by the point. Possible functions:

Code Block
parcel=Send and collect standard parcel 
parcel_send=Standard parcel send 
parcel_collect=Standard parcel collect 
parcel_reverse_return_send=Standard parcel reverse return to sender 
standard_letter_collect=Standard letter collect 
standard_letter_send=Standard letter send 
allegro_parcel_collect=Allegro parcel collect 
allegro_parcel_send=Allegro parcel send 
allegro_parcel_reverse_return_send=Allegro parcel return to sender 
allegro_letter_collect=Allegro letter collect 
allegro_letter_send=Allegro letter send 
allegro_letter_reverse_return_send=Allegro letter return to sender 
allegro_courier_collect=Allegro courier parcel collect 
allegro_courier_send=Allegro courier parcel send 
allegro_courier_reverse_return_send=Allegro courier parcel return to sender 
standard_courier_collect=Courier parcel collect 
standard_courier_send=Courier parcel send 
standard_courier_reverse_return_send=Courier parcel return to sender 
air_on_airport=Send and collect baggage from machine on airport 
air_outside_airport=Send and collect baggage from machine outside of airport 
cool_parcel_collect=Reservation collect from cooling machine 
laundry=Send and collect laundry 
avizo=Avizo collect


PL, IT

partner_id

Integer

Partner ID

PL, IT

is_next 

Boolean

Is it a NEXT automatic parcel station

PL, IT

payment_available 

Boolean

Availability of payment at a given point

There is a possibility of payment_available = true with payment_type = 0, it means the payment is available

PL, IT

payment_type 

String

Payment type parameter

PL, IT

virtual 

Integer

Virtual point

PL, IT

recommended_low_interest_box_machines_list 

Array

Other points recommended nearby

PL, IT

location_247 

Boolean

Is the parcel locker available 24/7 (Parcel lockers with the parameter set to true are dedicated service points for the Weekend Parcels service).

PL, IT

Point

easy_access_zone

Boolean

Does the parcel locker have an easy access zone?

PL, IT

Point resource in JSON format:

Code Block
languagejson
{
            "href": "
http
https://api-pl-points.easypack24.net/v1/points/
KRA011
KRA012",
            "name": "
KRA011
KRA012",
            "type": [
                "parcel_locker"
   
],
       
"status
  ],
            "status": "Operating",
            "location": {
        
"latitude":50.09103,
        "longitude":
19.9299
 20.00399,
        
},
    
"location_type":null,
    "
location_description
latitude":
"Stacja paliw Lukoil",
 50.08913
     
"location_description_1":"",
       },
            "location_
description_2
type": "
LUKOIL
Outdoor",
   
"distance":null,
         "
opening
location_
hours
date": null,
   
"address":{
         "
line1
location_description": "
Opolska
Stacja paliw 
9
Lotos",
      
"line2":"31-274
 
Kraków"
    
}
 "location_description_1": null,
   
"address_details":{
         "
city
location_description_2": "
Kraków
Lotos",
      
"province":"małopolskie",
      "
post_code
distance":
"31-274"
 null,
      
"street":"Opolska",
      
"
building
opening_
number
hours": "
9
24/7",
      
"flat_number":null
    
},
  
"
phone_number
address":
null,
 {
  
"payment_point_descr":"Płatność
 
internetowa
 
PayByLink",
    
"functions":[
        "line1": "
allegro_courier_collect
Os. Kombatantów 20",
       
"allegro_courier_reverse_return_send",
         "line2": "
allegro_courier_send",
31-630 Kraków"
      
"allegro_letter_send",
      
"allegro_parcel_collect",
},
     
"allegro_parcel_reverse_return_send",
       "
allegro
address_
parcel_send
details"
,
: {
     
"parcel",
       
"parcel_collect",
    "city": 
"parcel_reverse_return_send
"Kraków",
      
"parcel_send",
          "
standard_courier_reverse_return_send
province": "małopolskie",
      
"standard_courier_send"
      
],
    "
partner
post_
id
code":
0,
 
"is_next":false
"31-630",
   
"payment_available":true,
    
"payment_type":{
         "
0
street": "
Brak obsługi płatności"
Os. Kombatantów",
   
},
    
"virtual":"0",
         "
recommended_low_interest_box_machines_list
building_number":
null }

Authentication

Access to the resource does not require authentication.

List of Points

List of Points retrieval, the collection supports pagination which can be found in General information.

Code Block
GET /v1/points

Example request

Code Block
curl -X GET https://api-shipx-pl.easypack24.net/v1/points -H 'Content-Type: application/json'

Response

Code Block{ "href":"https://api-pl-points.easypack24.net/v1/points", "count":5363, "page":1, "per_page":25, "total_pages":215, "items":[ {
 "20",
                "flat_number": null
            },
            "
href":"http://api-pl-points.easypack24.net/v1/points/ADA01N"
phone_number": null,
      
"name":"ADA01N",
      
"
type
payment_point_descr":
[
 "Płatność w Paczkomacie kartą płatniczą lub BLIKIEM oraz internetowo aplikacją InPost 
"parcel_locker"
Mobile i PayByLink",
     
],
       "
status
functions":
"Operating",
 [
      
"location":{
          "
latitude":51.74455,
allegro_courier_collect",
         
"longitude":22.25847
       
}
"allegro_courier_reverse_return_send",
      
"location_type":null,
          "
location
allegro_
description":"Przy sklepie Groszek",
courier_send",
         
"location_description_1":null,
       "
location
allegro_
description
letter_
2
send"
:"Groszek"
,
      
"distance":null,
          "
opening
allegro_parcel_
hours":"24/7"
collect",
      
"address":{
          "
line1":"Kleeberga 5B"
allegro_parcel_reverse_return_send",
        
"line2":"21-412
 
Adamów"
       
}
"allegro_parcel_send",
      
"address_details":{
          "
city
parcel"
:"Adamów"
,
        
"province":"lubelskie",
        "
post
parcel_
code":"21-412"
collect",
     
"street":"Kleeberga",
 
    
"building_number":"5B",
 
     "
flat_number":null },
parcel_reverse_return_send",
                "
phone
parcel_
number
send"
:null
,
      
"payment_point_descr":"Płatność
 
internetowa
 
PayByLink.
 
Dostępność
 
24/7",
 
  
"functions":[
  
"allegro_courier_collect",
 
"
allegro
standard_courier_reverse_return_send",
"parcel_reverse_return_send", "parcel_send",
                "standard_courier_
reverse_return_
send"
, "standard_courier_send"

            ],
            "partner_id": 0,
            "is_next":
true
 false,
            "payment_available": true,
            "payment_type": {
              
  "
0
2":
"Brak obsługi płatności"
 "Payment by card in the machine"
            },
            "virtual": "0",
            "recommended_low_interest_box_machines_list":
null
 [
    
},
     
{...},
     
{...}
  "KRA175M",
  
] }

Point details

Point details retrieval.

Code Block
GET /v1/points/:point_name

Example request

Code Block
curl -X GET https://api-shipx-pl.easypack24.net/v1/points/AAB001 -H 'Content-Type: application/json'

Response

Code BlockHTTP/1.1 200 OK Content-Type: application/json { "href":"http://api-pl-points.easypack24.net/v1/points/ADA01N", "name":"ADA01N", "type":[ "parcel_locker" ], "status":"Operating", "location":{ "latitude":51.74455, "longitude":22.25847 }, "location_type":null, "location_description":"Przy sklepie Groszek", "location_description_1":null, "location_description_2":"Groszek", "distance":null, "opening_hours":"24/7", "address":{
              "KRA274M",
                "KRA227M",
                "KRA273M",
                "KRA144M"
            ],
            "apm_doubled": null,
            "location_247": true,
            "operating_hours_extended": {
                "customer": null
            },
            "agency": "IPM4956660",
            "image_url": "https://static.easypack24.net/points/pl/images/KRA012.jpg",
            "easy_access_zone": false,
            "air_index_level": null
        }

Authentication

Access to the resource does not require authentication.


List of Points

List of Points retrieval, the collection supports pagination, which can be found in API General information.

Code Block
GET /v1/points

Example request

Code Block
curl -X GET https://api-shipx-pl.easypack24.net/v1/points -H 'Content-Type: application/json'

Response

Code Block
languagejson
{
    "href": "https://api-pl-points.easypack24.net/v1/points",
    "count": 19378,
    "page": 1,
    "per_page": 25,
    "total_pages": 776,
    "items": [
        {
            "href": "https://api-pl-points.easypack24.net/v1/points/ADA01M",
            "name": "ADA01M",
            "type": [
                "parcel_locker"
            ],
            "status": "Operating",
            "location": {
                "longitude": 22.26405,
                "latitude": 51.73834
            },
            "location_type": "Outdoor",
            "location_date": null,
            "location_description": "Przy sklepie Lewiatan",
            "location_description_1": null,
            "location_description_2": null,
            "distance": null,
            "opening_hours": "24/7",
            "address": {
                "line1": "Kościuszki 27",
                "line2": "21-412 Adamów"
            },
            "address_details": {
                "city": "Adamów",
                "province": "lubelskie",
                "post_code": "21-412",
                "street": "Kościuszki",
                "building_number": "27",
                "flat_number": null
            },
            "phone_number": null,
            "payment_point_descr": "Płatność internetowa aplikacją InPost Mobile oraz PayByLink",
            "functions": [
                "allegro_courier_collect",
                "allegro_courier_reverse_return_send",
                "allegro_courier_send",
                "allegro_letter_reverse_return_send",
                "allegro_letter_send",
                "allegro_parcel_collect",
                "allegro_parcel_reverse_return_send",
                "allegro_parcel_send",
                "parcel",
                "parcel_collect",
                "parcel_reverse_return_send",
                "parcel_send",
                "standard_courier_reverse_return_send",
                "standard_courier_send"
            ],
            "partner_id": 0,
            "is_next": false,
            "payment_available": true,
            "payment_type": {
                "0": "Payments are not supported"
            },
            "virtual": "0",
            "recommended_low_interest_box_machines_list": null,
            "apm_doubled": null,
            "location_247": true,
            "operating_hours_extended": {
                "customer": null
            },
            "agency": "IPM4633224",
            "image_url": "https://static.easypack24.net/points/pl/images/ADA01M.jpg",
            "easy_access_zone": true,
            "air_index_level": null
        },
    {...},
    {...},
  ]
}

Point details

Get point details.

Code Block
languagejson
GET /v1/points/:point_name

Example request

Code Block
languagejson
curl -X GET https://api-shipx-pl.easypack24.net/v1/points/KRA012 -H 'Content-Type: application/json'

Response

Code Block
languagejson
{
    "href": "https://api-pl-points.easypack24.net/v1/points/KRA012",
    "name": "KRA012",
    "type": [
        "parcel_locker"
    ],
    "status": "Operating",
    "location": {
        "longitude": 20.00399,
        "latitude": 50.08913
    },
    "location_type": "Outdoor",
    "location_date": null,
    "location_description": "Stacja paliw Lotos",
    "location_description_1": null,
    "location_description_2": "Lotos",
    "distance": null,
    "opening_hours": "24/7",
    "address": {
        "line1": "Os. Kombatantów 20",
        "line2": "31-630 Kraków"
    },
    "address_details": {
        "city": "Kraków",
        "province": "małopolskie",
        "post_code": "31-630",
        "street": "Os. Kombatantów",
        "building_number": "20",
        "flat_number": null
    },
    "phone_number": null,
    "payment_point_descr": "Płatność w Paczkomacie kartą płatniczą lub BLIKIEM oraz internetowo aplikacją InPost Mobile i PayByLink",
    "functions": [
        "allegro_courier_collect",
        "allegro_courier_reverse_return_send",
        "
line1":"Kleeberga 5B",
allegro_courier_send",
        "
line2":"21-412 Adamów"
allegro_letter_send",
    
},
    "
address
allegro_parcel_
details
collect"
:{
,
        "
city":"Adamów",
allegro_parcel_reverse_return_send",
       
"province":"lubelskie
 "allegro_parcel_send",
      
"post_code":"21-412
  "parcel",
        "
street":"Kleeberga"
parcel_collect",
      
"building_number":"5B"
  "parcel_reverse_return_send",
        "
flat
parcel_
number
send"
:null
,
    
},
    "
phone_number":null
standard_courier_reverse_return_send",
        "
payment
standard_
point
courier_
descr
send"
:"Płatność

 
internetowa
 
PayByLink.
 
Dostępność
 
24/7"
],
    "
functions
partner_id":
[
 0,
    "is_next": false,
    "
allegro
payment_
courier_collect"
available": true,
    
"
allegro_courier_reverse_return_send",
payment_type": {
        "
allegro_courier_send", "allegro_letter_reverse_return_send",
2": "Payment by card in the machine"
    
"allegro_letter_send"
},
    "virtual": 
"
allegro_parcel_collect
0",
    
"
allegro
recommended_low_
parcel
interest_
reverse
box_
return
machines_
send
list"
,
: [
     
"allegro_parcel_send",
   
"
parcel
KRA175M",
        "
parcel_collect
KRA274M",
      
"parcel_reverse_return_send",
  
"parcel_send
"KRA227M",
      
"standard_courier_reverse_return_send
  "KRA273M",
      
"standard_courier_send
  "KRA144M"
    ],
    "
partner
apm_
id
doubled":
0
 null,
    "
is
location_
next
247": true,
    "
payment
operating_hours_
available
extended":
true,
 {
        "
payment_type
customer":
{
 null
    },
    "agency": "IPM4956660",
    
"
0
image_url":
"Brak obsługi płatności"
 "https://static.easypack24.net/points/pl/images/KRA012.jpg",
   
},
 
"
virtual
easy_access_zone":
"0"
 false,
    "
recommended
air_
low_interest_box_machines_list
index_level": null
}

Search criteria

Parameter

Type

Description

Example

Availability

name

String
Array

Searches for shipments with given name.

Searches for shipments with given names.

?name=KRA010
?name=Kra010,ADA01N

PL, IT

type

String
Array

Searches for shipments with given type.

Searches for shipments with given types.

?type=parcel_locker
?type=parcel_locker,pop

PL, IT

functions

String
Array

Searches for shipments with given function.

Searches for shipments with given functions.

?functions=parcel
?functions=

parcel

parcel,parcel_send

PL, IT

partner_id

Integer
Array

Searches for shipments with given partner ID.

Searches for shipments with given partner IDs.

?partner_id=1
?partner_id=1,2

PL, IT

is_next

Boolean

Searches for NEXT parcel locker points

?is_next=true

PL, IT

payment_available 

Boolean

Searches by payment availability at the point

?payment_available=true

PL, IT

post_code

String
Array

Searches for shipments with given post code.

Searches for shipments with given post codes.

?post_code=11-111
?post_code=11-111,22-222

PL, IT

city

String
Array

Searches for shipments with given city.

Searches for shipments with given cities.

?city=Kraków

?city=Kraków,Warszawa

PL, IT

province

String
Array

Searches for shipments with given province.

Searches for shipments with given provinces.

?province=Małopolska

?province=Małopolska,Śląsk

PL, IT

virtual

Integer
Array

Searches for shipments with given virtual value.

Searches for shipments with given virtual values.

?virtual=0
?virtual=1,6

PL, IT

updated_from

Date

Searches for points updated after the given date

If updated_to  has not been given the date cannot be earlier than 3 days before the current date

?updated_from=2018-04-24

PL, IT

updated_to

Date

Searches for points updated before the given date

Requires providing updated_from.

?updated_to=2018-04-26

PL, IT

Search by location

relative_point 

String

Searches for points closest to the given location

?relative_point=52.123,19.321

PL, IT

relative_post_code 

String

Searches for points closest to the given post code

?relative_post_code=11-111

PL, IT

max_distance 

Double

Searches for points in distance up to the given value from relative_point or relative_post_code 

Parameter usage requires sorting by distance.

Default value: 10000 (10km)

Maximum value 50000 (50km)

?relative_point=52.123,19.321&max_distance=10000

PL, IT

limit 

Integer

Point limiting parameter when using relative_point  or relative_post_code 

?limit=10

PL, IT

Result sorting

name 

Sort by point name

?sort_by=name

PL, IT

distance_to_relative_point

Sort by relative distance (relative_point or relative_post_code)

?sort_by=distance_to_relative_point

PL, IT

status

Sort by status

?sort_by=status

PL, IT

Sort ordering can be set

using 

using sort_order  attribute. By default the results are sorted in an ascending order using

the 

the name

 field

 field.

asc

Sorts in ascending order

?sort_order=asc&sort_by=status

PL, IT

desc

Sorts in descending order

?sort_order=desc&sort_by=status

PL, IT

Pagination

page

Defines the page for which the results should be returnet

?page=2

PL, IT

per_page

Defines the amount of points returned per page

Default: 25
Maximum: 500

?per_page=100

PL, IT

Filtering of returned fields

fields

Defines the point attributes that should be returned

?fields=name,type

PL, IT