integrationName
) and country code (ISO code or zone code), the system will automatically select the necessary parameters.{
"shipment": {
"length": 25,
"width": 18,
"height": 3,
"weight": 0.4,
"quantity": 1,
"integrationName": "FEDEX",
"serviceCode": "FRE"
},
"senderAddress": {
"name": "Testowy Nadawca",
"city": "Testowe Miasto",
"street": "Testowa Ulica",
"houseNumber": "1x",
"apartmentNumber": "2a",
"postCode": "01-001",
"country": "PL",
"pointId": "Test-123",
"phone": "123123123",
"email": "testowy.nadawca@testowy.nadawca.pl",
"contactPerson": "Testowa Osoba"
},
"receiverAddress": {
"name": "Testowy Odbiorca",
"city": "Testowe Miasto",
"street": "Testowa Ulica",
"houseNumber": "1x",
"apartmentNumber": "2a",
"postCode": "3372EB",
"country": "NL",
"phone": "123123123",
"email": "testowy.odbiorca@testowy.odbiorca.pl",
"contactPerson": "Testowa Osoba"
},
"content": "Książki",
"paymentId": 3,
"agreements": {
"receiveElectronicBills": true,
"processingPersonalData": true
},
"addons": {
"INSURANCE": {
"value": 63
}
}
,
"purpose": "SOLD",
"collectionType": "PICKUP",
"referenceNumber": "TEST/1234",
"receiverType": "COMPANY",
"deliveryType": "PICKUP"
}
curl --location --request POST 'https://test.api.globkurier.pl/v1/order/bestPrice?createFully=false&onlyPricing=true' \
--header 'Accept-Language: pl' \
--header 'X-Auth-Token: c4962142d3639293a647ced4f435310a3df3a637b2514d4c55c64c2988befc37' \
--header 'Content-Type: application/json' \
--data-raw '{
"shipment": {
"length": 25,
"width": 18,
"height": 3,
"weight": 0.4,
"quantity": 1,
"integrationName": "FEDEX",
"serviceCode": "FRE"
},
"senderAddress": {
"name": "Testowy Nadawca",
"city": "Testowe Miasto",
"street": "Testowa Ulica",
"houseNumber": "1x",
"apartmentNumber": "2a",
"postCode": "01-001",
"country": "PL",
"pointId": "Test-123",
"phone": "123123123",
"email": "testowy.nadawca@testowy.nadawca.pl",
"contactPerson": "Testowa Osoba"
},
"receiverAddress": {
"name": "Testowy Odbiorca",
"city": "Testowe Miasto",
"street": "Testowa Ulica",
"houseNumber": "1x",
"apartmentNumber": "2a",
"postCode": "3372EB",
"country": "NL",
"phone": "123123123",
"email": "testowy.odbiorca@testowy.odbiorca.pl",
"contactPerson": "Testowa Osoba"
},
"content": "Książki",
"paymentId": 3,
"agreements": {
"receiveElectronicBills": true,
"processingPersonalData": true
},
"addons": {
"INSURANCE": {
"value": 63
}
}
,
"purpose": "SOLD",
"collectionType": "PICKUP",
"referenceNumber": "TEST/1234",
"receiverType": "COMPANY",
"deliveryType": "PICKUP"
}'
{}