GlobKurier
  1. Wycena ofertowa
GlobKurier
  • Integracja własna
    • Wstęp
    • Strategia integracji
    • Endpoints
      • Autentyfikacja
        • Generate token
        • Refresh token
        • Remove token
      • Szybka wycena
        • Simplified order placement
        • Simplified order placement - new
      • 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
        • Get addons for product
          GET
        • Get discount code information
          GET
        • Get available courier arrival times to the sender for the shipment
          GET
        • Get payments
          GET
        • Get bank account numbers
          GET
        • Get order price
          GET
        • Get custom required fields
          GET
        • Create order
          POST
        • Partial order validation
          POST
        • Create order for courier pick up
          POST
      • 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. Wycena ofertowa

Get order price

Developing
Testing Env
https://test.api.globkurier.pl
Testing Env
https://test.api.globkurier.pl
GET
/v1/order/price

Request

Query Params
productId
integer 
required
Product identifier retrieved using /products resource
Example:
605
length
string 
required
Length [cm]
Example:
1
width
string 
required
Width [cm]
Example:
1
height
string 
required
Height [cm]
Example:
1
weight
string 
required
Weight [kg] with a maximum accuracy of 2 decimal places
Example:
1
quantity
string 
required
Number of packages in the shipment
Example:
1
userCountryId
integer 
optional
User country ID retrieved via /countries resource.
Should be passed for a non-logged-in user only with a populated "userTaxId" field.
Should not be passed if a logged-in user token was sent.
Example:
1
userTaxId
string 
optional
Tax Identification Number (NIP) - transfer allows to include the appropriate tax rate for the user.
Should be transferred for a non-logged-in user only with the "userCountryId" field filled in.
Should not be transferred if a logged-in user token was sent.
senderCountryId
integer 
required
Sender country identifier retrieved via /countries resource
Example:
1
senderPostCode
string 
optional
Sender's postal code.
Field requirement depends on the "hasPostCodes" value from the /countries resource.
Example:
01-001
receiverCountryId
string 
required
Receiver's country ID retrieved via the /countries resource
Example:
1
receiverPostCode
string 
optional
Receiver's postal code.
Field requirement depends on the "hasPostCodes" value from the /countries resource
Example:
41-100
receiverTaxId
string 
optional
Tax Identification Number (NIP) - transfer allows you to include the appropriate tax rate for the user. It is highly recommended to transfer this field, especially if the user has such a number and chooses payment "Receiver's Expense", because the final receiver becomes the payer and the invoice is issued to him. If the user does not have a NIP number, it should not be transferred.
paymentId
integer 
required
The ID of the selected payment. Available payment methods can be downloaded from the /order/payments resource
Example:
2
addonIds[]
array[string]
optional
List of selected add-on identifiers
Example:
["768"]
insuranceValue
number 
optional
The value of the "INSURANCE" supplement
Example:
500
cashOnDeliveryValue
string 
optional
"CASH_ON_DELIVERY" category add-on value
Example:
400
discountCode
string 
optional
Discount code - cannot be transferred in combination with the payment selection "Bon" from the "paymentId" field
Header Params
Accept-Language
string 
optional
Example:
pl
X-Auth-token
string 
optional

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 -g --request GET 'https://test.api.globkurier.pl/v1/order/price?productId=605&length=1&width=1&height=1&weight=1&quantity=1&userCountryId=1&userTaxId&senderCountryId=1&senderPostCode=01-001&receiverCountryId=1&receiverPostCode=41-100&receiverTaxId=&paymentId=2&addonIds[]=768&insuranceValue=500&cashOnDeliveryValue=400&discountCode' \
--header 'Accept-Language: pl' \
--header 'X-Auth-token;'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2025-05-20 13:05:36
Previous
Get bank account numbers
Next
Get custom required fields
Built with