- Integracja własna
- Wstęp
- Strategia integracji
- Endpoints
- Autentyfikacja
- Szybka wycena
- 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
- AddressBook
- Wycena ofertowa
- Słowniki
- Szablon przesyłki
- Payments
- AddressBook
- 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
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
onlyPricing
boolean
optional
Header Params
Accept-Language
string
optional
Example:
pl
x-auth-token
string
optional
Example:
token
Body Params application/json
shipment
object
required
length
integer
required
Example:
1
width
integer
required
Example:
1
height
integer
required
Example:
1
weight
number
required
Example:
1
quantity
integer
required
Example:
1
productId
integer
optional
collectionType
enum<string>
required
Allowed values:
POINTPICKUPCROSSBORDER
content
string
required
paymentId
integer
required
Example:
3
partnerProgramNumber
string
optional
receiverType
enum<string>
required
Allowed values:
COMPANYPERSON
discountCode
string
optional
originId
string
optional
instructions
string
optional
declaredValue
number
required
pickup
object (Pickup)
required
date
string <date>
optional
Example:
2060-10-10
timeFrom
string <time>
optional
Example:
08:00
timeTo
string <time>
optional
Example:
14:00
receiverAddress
object (UserAddress)
required
type
enum<string>
required
Allowed values:
PERSONCOMPANY
Example:
PERSON
nip
string
optional
Required if the selected customer type is Company.
Example:
6840243162
companyName
string
optional
Required if the selected customer type is Company.
Example:
Test - Company
name
string
required
Example:
Test
surname
string
required
Example:
Testowy
city
string
required
Example:
Testowo
street
string
required
Example:
Testowa Ulica
houseNumber
string
required
Example:
1x
apartmentNumber
string
optional
Example:
2a
postCode
string
optional
Depends on the country, defined by the "has_post_codes" field in the /countries resource.
Example:
01-001
countryId
integer
required
Example:
1
phone
string
required
Example:
48123123123
email
string
required
Example:
testowy.klient@testowy.klient.pl
senderAddress
object (UserAddress)
required
referenceNumber
string
optional
addons
object
optional
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