- 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 dataGET
- Get user coupon dataGET
- Register userPOST
- Edit userPUT
- Get company informationGET
- Get user invoice listGET
- Get invoiceGET
- Get compressed list of invoicesGET
- Get invoice emailGET
- Get account and payment statisticsGET
- Get list of payment methodsGET
- Get selected payment methodGET
- Create selected payment methodPOST
- Remove selected payment methodDELETE
- Get order statisticsGET
- Get list of customs documents for the orderGET
- Get list of options for saving user preferencesGET
- Save user preferencesPUT
- Orders
Edit user
Developing
Testing Env
https://test.api.globkurier.pl
Testing Env
https://test.api.globkurier.pl
PUT
/v1/user
Request
Header Params
Accept-Language
string
optional
Example:
pl
X-Auth-Token
string
required
Body Params application/json
address
object
required
The "countryId" field is not supported.
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
agreements
object
optional
sendPaperInvoices
boolean
optional
Default:
true
sendDiscountCodes
boolean
optional
Default:
true
sendLabel
boolean
optional
Default:
true
cashOnDelivery
object
required
bankAccountNumber
string
optional
Example:
PL52102051387825000705064082
name
string
optional
Example:
newCodName
addressLine1
string
optional
Example:
newCodFirstAddressLine
addressLine2
string
optional
Example:
newCodSecondAddressLine
currency
string
optional
Possible currencies are: "PLN", "EUR".
Example:
PLN
invoicesToOtherEmail
string
optional
Example:
otherEmail@acme.com
labelsToOtherEmail
string
optional
Example:
otherEmail@acme.com
Example
{
"address": {
"type": "PERSON",
"name": "Test",
"surname": "Testowy",
"city": "Testowo",
"street": "Testowa Ulica",
"houseNumber": "1x",
"apartmentNumber": "2a",
"postCode": "01-001",
"countryId": 1,
"phone": "48123123123",
"email": "newEmail@test.pl"
},
"agreements": {
"sendPaperInvoices": true,
"sendDiscountCodes": true,
"sendLabel": true
},
"cashOnDelivery": {
"bankAccountNumber": "PL52102051387825000705064082",
"name": "newCodName",
"addressLine1": "newCodFirstAddressLine",
"addressLine2": "newCodSecondAddressLine"
},
"currency": "PLN",
"invoicesToOtherEmail": "otherEmail@acme.com",
"labelsToOtherEmail": "otherEmail@acme.com"
}
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 PUT 'https://test.api.globkurier.pl/v1/user' \
--header 'Accept-Language: pl' \
--header 'X-Auth-Token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"address": {
"type": "PERSON",
"name": "Test",
"surname": "Testowy",
"city": "Testowo",
"street": "Testowa Ulica",
"houseNumber": "1x",
"apartmentNumber": "2a",
"postCode": "01-001",
"countryId": 1,
"phone": "48123123123",
"email": "newEmail@test.pl"
},
"agreements": {
"sendPaperInvoices": true,
"sendDiscountCodes": true,
"sendLabel": true
},
"cashOnDelivery": {
"bankAccountNumber": "PL52102051387825000705064082",
"name": "newCodName",
"addressLine1": "newCodFirstAddressLine",
"addressLine2": "newCodSecondAddressLine"
},
"currency": "PLN",
"invoicesToOtherEmail": "otherEmail@acme.com",
"labelsToOtherEmail": "otherEmail@acme.com"
}'
Responses
🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2025-05-26 08:04:08