GlobKurier
  1. AddressBook
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 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
          POST
        • Add receiver contact to address book
          POST
        • Get senders address book
          GET
        • Get receivers address book
          GET
        • Edit sender contact into address book
          PUT
        • Edit receiver contact into address book
          PUT
        • Delete sender contact from address book
          DELETE
        • Delete receiver contact from address book Copy
          DELETE
      • 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. AddressBook

Add sender contact to address book

Developing
Testing Env
https://test.api.globkurier.pl
Testing Env
https://test.api.globkurier.pl
POST
/v1/user/addressBook/sender

Request

Header Params
Accept-Language
string 
optional
Example:
pl
X-Auth-Token
string 
optional
Body Params application/json
conact
object 
required
name
string 
required
Name (max 150 characters).
Example:
Testowa nazwa kontaktu
email
string 
required
Email address.
Example:
test@globkurier.pl
street
string 
required
Street.
Example:
Testowa
houseNumber
string 
required
House number.
Example:
30
apartmentNumber
string 
optional
Apartment number.
Example:
50
postCode
string 
required
Post code.
Example:
11-000
city
string 
required
City.
Example:
Test City
countryId
string 
required
Country identifier retrieved using /countries resource.
Example:
1
contactPerson
string 
optional
Contact person.
Example:
Test contact person
phone
string 
required
Phone number.
Example:
123456789
tin
string 
optional
Tax identification number.
Example:
2432072510
Example
{
    "contact": {
        "name": "Testowa nazwa kontaktu",
        "email": "test@globkurier.pl",
        "street": "Testowa",
        "houseNumber": "30",
        "apartmentNumber": "50",
        "postCode": "11-000",
        "city": "Test City",
        "countryId": "1",
        "contactPerson": "Test contact person",
        "phone": "123456789",
        "tin": "2432072510"
    }
}

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/user/addressBook/sender' \
--header 'Accept-Language: pl' \
--header 'X-Auth-Token;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "contact": {
        "name": "Testowa nazwa kontaktu",
        "email": "test@globkurier.pl",
        "street": "Testowa",
        "houseNumber": "30",
        "apartmentNumber": "50",
        "postCode": "11-000",
        "city": "Test City",
        "countryId": "1",
        "contactPerson": "Test contact person",
        "phone": "123456789",
        "tin": "2432072510"
    }
}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2025-05-23 11:53:00
Previous
Changing payment method for online order
Next
Add receiver contact to address book
Built with