GlobKurier
  1. Szybka wycena
GlobKurier
  • Integracja własna
    • Wstęp
    • Strategia integracji
    • Endpoints
      • Autentyfikacja
        • Generate token
        • Refresh token
        • Remove token
      • Szybka wycena
        • Simplified order placement
          POST
        • Simplified order placement - new
          POST
      • Użytkownicy
        • AddressBook
          • Edit sender contact in address book
          • Add sender contact in address book
          • Delete sender contact from address book
          • Edit receiver contact in address book
          • Add receiver contact in address book
          • Delete receiver contact from address book
          • Get senders contacts from address book
          • Get receiver contacts from address book
          • Import sender contacts to address book
          • Import receiver contacts to address book
        • get company for user
        • Update user currency
        • User return carrier list
        • Manage user return carrier list
      • Wycena ofertowa
        • Get products
        • Get addons for product
        • Get discount code information
        • Get available courier arrival times to the sender for the shipment
        • Get payments
        • Get bank account numbers
        • Get order price
        • Get custom required fields
        • Create order
        • Partial order validation
        • Create order for courier pick up
      • Słowniki
        • Adresy
          • Get list of countries
          • Get states for country
          • Get shipment/receiving points
          • Get Polish addresses
          • Get list of cities
        • Przewoźnicy
          • Get available carrier list
        • Finanse
          • Get available currency list
          • Get available currency list Copy
        • Zamówienia
          • Get available order content
        • Agreements
          • Get agreements
      • Szablon przesyłki
        • Add template
        • Get tempalate list
        • Edit template
        • Delete template
      • Payments
        • Get list of available methods
        • Generate form data for online order payment
        • Prepaid top-up
        • Changing payment method for online order
      • AddressBook
        • Add sender contact to address book
        • Add receiver contact to address book
        • Get senders address book
        • Get receivers address book
        • Edit sender contact into address book
        • Edit receiver contact into address book
        • Delete sender contact from address book
        • Delete receiver contact from address book Copy
      • User
        • Get user data
        • Get user coupon data
        • Register user
        • Edit user
        • Get company information
        • Get user invoice list
        • Get invoice
        • Get compressed list of invoices
        • Get invoice email
        • Get account and payment statistics
        • Get list of payment methods
        • Get selected payment method
        • Create selected payment method
        • Remove selected payment method
        • Get order statistics
        • Get list of customs documents for the order
        • Get list of options for saving user preferences
        • Save user preferences
      • Orders
        • Get order
        • Get list of orders for the protocol
        • Get protocol
        • Get labels
        • Get shipment statuses
  1. Szybka wycena

Simplified order placement

Developing
Testing Env
https://test.api.globkurier.pl
Testing Env
https://test.api.globkurier.pl
POST
/v1/order/bestPrice

Request

Query Params
createFully
boolean 
optional
Czy złożyć zamówienie - również u kuriera
onlyPricing
boolean 
optional
Czy pobrać tylko wycenę bez zamawiania
Header Params
Accept-Language
string 
optional
Example:
pl
x-auth-token
string 
optional
Example:
token
Body Params application/json
shipment
object 
required
Dane o przesyłce
length
integer 
required
Shipment length in cm.
Example:
1
width
integer 
required
Shipment width in cm.
Example:
1
height
integer 
required
Shipment height in cm.
Example:
1
weight
number 
required
Shipment weight in kg with a maximum accuracy of 2 decimal places.
Example:
1
quantity
integer 
required
Number of packages in the shipment.
Example:
1
productId
integer 
optional
Dla bestprice opcjonalne
collectionType
enum<string> 
required
Sposób nadania
Allowed values:
POINTPICKUPCROSSBORDER
content
string 
required
Zawartość
paymentId
integer 
required
Metoda płatności
Example:
3
partnerProgramNumber
string 
optional
receiverType
enum<string> 
required
Typ odbiorcy
Allowed values:
COMPANYPERSON
discountCode
string 
optional
Kod rabatowy
originId
string 
optional
Kod systemu źródłowego
instructions
string 
optional
Uwagi
declaredValue
number 
required
Wartość deklarowana dla przesyłek eksportowych
pickup
object (Pickup) 
required
date
string <date>
optional
Estimated date of arrival of the carrier for the shipment
Example:
2060-10-10
timeFrom
string <time>
optional
The time from which the carrier is planned to arrive, retrieved using the /order/pickupRanges resource
Example:
08:00
timeTo
string <time>
optional
The time of the carrier is planned to arrive, retrieved using the /order/pickupRanges resource
Example:
14:00
receiverAddress
object (UserAddress) 
required
type
enum<string> 
required
Customer Type.
Allowed values:
PERSONCOMPANY
Example:
PERSON
nip
string 
optional
Company Tax Identification Number.
Required if the selected customer type is Company.
Example:
6840243162
companyName
string 
optional
Company Name.
Required if the selected customer type is Company.
Example:
Test - Company
name
string 
required
Name.
Example:
Test
surname
string 
required
Surname.
Example:
Testowy
city
string 
required
City.
Example:
Testowo
street
string 
required
Street.
Example:
Testowa Ulica
houseNumber
string 
required
House number.
Example:
1x
apartmentNumber
string 
optional
Apartment number.
Example:
2a
postCode
string 
optional
Postal code.
Depends on the country, defined by the "has_post_codes" field in the /countries resource.
Example:
01-001
countryId
integer 
required
Country identifier retrieved using /countries resource.
Example:
1
phone
string 
required
Phone number
Example:
48123123123
email
string 
required
Email address
Example:
testowy.klient@testowy.klient.pl
senderAddress
object (UserAddress) 
required
referenceNumber
string 
optional
Numer systemu źródłowego
addons
object 
optional
Usługi dodatkowe
Example
{
    "shipment": {
        "length": 1,
        "width": 1,
        "height": 1,
        "weight": 1,
        "quantity": 1,
        "productId": 0
    },
    "collectionType": "POINT",
    "content": "string",
    "paymentId": 3,
    "partnerProgramNumber": "string",
    "receiverType": "COMPANY",
    "discountCode": "string",
    "originId": "string",
    "instructions": "string",
    "declaredValue": 0,
    "pickup": {
        "date": "2060-10-10",
        "timeFrom": "08:00",
        "timeTo": "14:00"
    },
    "receiverAddress": {
        "type": "PERSON",
        "nip": "6840243162",
        "companyName": "Test - Company",
        "name": "Test",
        "surname": "Testowy",
        "city": "Testowo",
        "street": "Testowa Ulica",
        "houseNumber": "1x",
        "apartmentNumber": "2a",
        "postCode": "01-001",
        "countryId": 1,
        "phone": "48123123123",
        "email": "testowy.klient@testowy.klient.pl"
    },
    "senderAddress": {
        "type": "PERSON",
        "nip": "6840243162",
        "companyName": "Test - Company",
        "name": "Test",
        "surname": "Testowy",
        "city": "Testowo",
        "street": "Testowa Ulica",
        "houseNumber": "1x",
        "apartmentNumber": "2a",
        "postCode": "01-001",
        "countryId": 1,
        "phone": "48123123123",
        "email": "testowy.klient@testowy.klient.pl"
    },
    "referenceNumber": "string",
    "addons": {}
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test.api.globkurier.pl/v1/order/bestPrice?createFully&onlyPricing' \
--header 'Accept-Language: pl' \
--header 'x-auth-token: token' \
--header 'Content-Type: application/json' \
--data-raw '{
    "shipment": {
        "length": 1,
        "width": 1,
        "height": 1,
        "weight": 1,
        "quantity": 1,
        "productId": 0
    },
    "collectionType": "POINT",
    "content": "string",
    "paymentId": 3,
    "partnerProgramNumber": "string",
    "receiverType": "COMPANY",
    "discountCode": "string",
    "originId": "string",
    "instructions": "string",
    "declaredValue": 0,
    "pickup": {
        "date": "2060-10-10",
        "timeFrom": "08:00",
        "timeTo": "14:00"
    },
    "receiverAddress": {
        "type": "PERSON",
        "nip": "6840243162",
        "companyName": "Test - Company",
        "name": "Test",
        "surname": "Testowy",
        "city": "Testowo",
        "street": "Testowa Ulica",
        "houseNumber": "1x",
        "apartmentNumber": "2a",
        "postCode": "01-001",
        "countryId": 1,
        "phone": "48123123123",
        "email": "testowy.klient@testowy.klient.pl"
    },
    "senderAddress": {
        "type": "PERSON",
        "nip": "6840243162",
        "companyName": "Test - Company",
        "name": "Test",
        "surname": "Testowy",
        "city": "Testowo",
        "street": "Testowa Ulica",
        "houseNumber": "1x",
        "apartmentNumber": "2a",
        "postCode": "01-001",
        "countryId": 1,
        "phone": "48123123123",
        "email": "testowy.klient@testowy.klient.pl"
    },
    "referenceNumber": "string",
    "addons": {}
}'

Responses

🟢204No Content
application/json
Body
token
string 
required
Example
{
    "token": "string"
}
Modified at 2025-05-22 06:52:57
Previous
Remove token
Next
Simplified order placement - new
Built with