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
            PUT
          • Add sender contact in address book
            POST
          • Delete sender contact from address book
            DELETE
          • Edit receiver contact in address book
            PUT
          • Add receiver contact in address book
            POST
          • Delete receiver contact from address book
            DELETE
          • Get senders contacts from address book
            GET
          • Get receiver contacts from address book
            GET
          • Import sender contacts to address book
            POST
          • Import receiver contacts to address book
            POST
        • get company for user
          GET
        • Update user currency
          PATCH
        • User return carrier list
          GET
        • Manage user return carrier list
          PUT
      • 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. AddressBook

Add receiver contact in address book

Testing Env
https://test.api.globkurier.pl
Testing Env
https://test.api.globkurier.pl
POST
/v2/user/addressBook/receiver
AddressBook

Request

Body Params application/json
contact
object 
required
countryId
integer 
required
Country Id
Example:
1
name
string 
required
Name of Contact
<= 150 characters
Example:
Natalia
street
string  | null 
required
Street address
<= 150 characters
Example:
Asfaltowa
houseNumber
string  | null 
required
House number
<= 50 characters
Example:
12
apartmentNumber
string  | null 
required
Apartment number
<= 50 characters
Example:
2
postCode
string  | null 
required
Postal Code
<= 10 characters
Example:
12-200
city
string  | null 
required
City
<= 50 characters
Example:
Katowice
email
string 
required
E-mail address
<= 100 characters
Example:
test@globkurier.pl
phone
string  | null 
required
Phone number
<= 150 characters
Example:
123123123
tin
string  | null 
required
Tin number
<= 25 characters
Example:
3377086694
contactPerson
string  | null 
required
Contact person name
<= 50 characters
Example:
Adam
Example
{
    "contact": {
        "countryId": 1,
        "name": "Natalia",
        "street": "Asfaltowa",
        "houseNumber": "12",
        "apartmentNumber": "2",
        "postCode": "12-200",
        "city": "Katowice",
        "email": "test@globkurier.pl",
        "phone": "123123123",
        "tin": "3377086694",
        "contactPerson": "Adam"
    }
}

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/v2/user/addressBook/receiver' \
--header 'Content-Type: application/json' \
--data-raw '{
    "contact": {
        "countryId": 1,
        "name": "Natalia",
        "street": "Asfaltowa",
        "houseNumber": "12",
        "apartmentNumber": "2",
        "postCode": "12-200",
        "city": "Katowice",
        "email": "test@globkurier.pl",
        "phone": "123123123",
        "tin": "3377086694",
        "contactPerson": "Adam"
    }
}'

Responses

🟢204No Content
Return empty content
This response does not have a body.
🟠400Bad Request
Modified at 2025-03-21 11:57:01
Previous
Edit receiver contact in address book
Next
Delete receiver contact from address book
Built with