curl --request GET \
--url 'https://app.smartsend.io/api/v1/website/{team}/shipments/{shipment}?api_token=' \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "c5540f2b-3eea-45c4-957a-9d7b53f899e7",
"type": "shipment",
"internal_id": "1226",
"internal_reference": "AB-00001445",
"shipping_carrier": "postnord",
"shipping_method": "collect",
"receiver": {
"internal_id": "U3778",
"internal_reference": "U-00001675",
"address_line1": "Esplanaden 50",
"postal_code": "1098",
"city": "Copenhagen",
"country": "DK",
"email": "[email protected]",
"company": "Maersk",
"name_line1": "John Doe",
"name_line2": "Att. Finance",
"address_line2": "2nd floor",
"state": "<string>",
"region": "Capital",
"sms": "30274735"
},
"parcels": [
{
"internal_id": "1226",
"internal_reference": "AB-00001445",
"id": "c5540f2b-3eea-45c4-957a-9d7b53f899e7",
"type": "parcel",
"weight": 2.35,
"height": 12.2,
"width": 15.8,
"length": 30.5,
"freetext": "Leave at doorstep",
"total_price_excluding_tax": 79.2,
"total_price_including_tax": 99,
"total_tax_amount": 19.8,
"items": [
{
"internal_id": "1226",
"internal_reference": "PRODUCT-1231456",
"sku": "12345678",
"name": "Product A",
"id": "c5540f2b-3eea-45c4-957a-9d7b53f899e7",
"type": "item",
"description": "Small Blue Product A",
"hs_code": "10203040",
"country_of_origin": "CN",
"image_url": "https://example.com/catalog/product-a.jpg",
"unit_weight": 1.2,
"unit_price_excluding_tax": 40.6,
"unit_price_including_tax": 50.75,
"quantity": 2,
"total_price_excluding_tax": 81.2,
"total_price_including_tax": 101.5,
"total_tax_amount": 20.3
}
]
}
],
"subtotal_price_excluding_tax": 159.2,
"subtotal_price_including_tax": 199,
"shipping_price_excluding_tax": 20,
"shipping_price_including_tax": 25,
"total_price_excluding_tax": 179.2,
"total_price_including_tax": 224,
"total_tax_amount": 44.8,
"currency": "EUR",
"sender": {
"internal_id": "U3778",
"internal_reference": "U-00001675",
"company": "Maersk",
"address_line1": "Esplanaden 50",
"postal_code": "1098",
"city": "Copenhagen",
"country": "DK",
"email": "[email protected]",
"name_line1": "John Doe",
"name_line2": "Att. Finance",
"address_line2": "2nd floor",
"state": "<string>",
"region": "Capital",
"sms": "30274735"
},
"agent": {
"internal_id": "U3778",
"internal_reference": "U-00001675",
"agent_no": "2134",
"company": "Maersk",
"name_line1": "John Doe",
"name_line2": "Att. Finance",
"address_line1": "Esplanaden 50",
"address_line2": "2nd floor",
"postal_code": "1098",
"city": "Copenhagen",
"state": "<string>",
"region": "Capital",
"country": "DK",
"sms": "30274735",
"email": "[email protected]"
},
"addons": [
{
"code": "ADHOC_PICKUP",
"value": "+4530274735"
}
]
}
],
"meta": {
"current_page": "1",
"from": "1",
"path": "https://example.com/api/example",
"per_page": "15",
"to": "15",
"last_page": "10",
"total": "140"
}
}This endpoint is used to fetch a specific shipments
curl --request GET \
--url 'https://app.smartsend.io/api/v1/website/{team}/shipments/{shipment}?api_token=' \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "c5540f2b-3eea-45c4-957a-9d7b53f899e7",
"type": "shipment",
"internal_id": "1226",
"internal_reference": "AB-00001445",
"shipping_carrier": "postnord",
"shipping_method": "collect",
"receiver": {
"internal_id": "U3778",
"internal_reference": "U-00001675",
"address_line1": "Esplanaden 50",
"postal_code": "1098",
"city": "Copenhagen",
"country": "DK",
"email": "[email protected]",
"company": "Maersk",
"name_line1": "John Doe",
"name_line2": "Att. Finance",
"address_line2": "2nd floor",
"state": "<string>",
"region": "Capital",
"sms": "30274735"
},
"parcels": [
{
"internal_id": "1226",
"internal_reference": "AB-00001445",
"id": "c5540f2b-3eea-45c4-957a-9d7b53f899e7",
"type": "parcel",
"weight": 2.35,
"height": 12.2,
"width": 15.8,
"length": 30.5,
"freetext": "Leave at doorstep",
"total_price_excluding_tax": 79.2,
"total_price_including_tax": 99,
"total_tax_amount": 19.8,
"items": [
{
"internal_id": "1226",
"internal_reference": "PRODUCT-1231456",
"sku": "12345678",
"name": "Product A",
"id": "c5540f2b-3eea-45c4-957a-9d7b53f899e7",
"type": "item",
"description": "Small Blue Product A",
"hs_code": "10203040",
"country_of_origin": "CN",
"image_url": "https://example.com/catalog/product-a.jpg",
"unit_weight": 1.2,
"unit_price_excluding_tax": 40.6,
"unit_price_including_tax": 50.75,
"quantity": 2,
"total_price_excluding_tax": 81.2,
"total_price_including_tax": 101.5,
"total_tax_amount": 20.3
}
]
}
],
"subtotal_price_excluding_tax": 159.2,
"subtotal_price_including_tax": 199,
"shipping_price_excluding_tax": 20,
"shipping_price_including_tax": 25,
"total_price_excluding_tax": 179.2,
"total_price_including_tax": 224,
"total_tax_amount": 44.8,
"currency": "EUR",
"sender": {
"internal_id": "U3778",
"internal_reference": "U-00001675",
"company": "Maersk",
"address_line1": "Esplanaden 50",
"postal_code": "1098",
"city": "Copenhagen",
"country": "DK",
"email": "[email protected]",
"name_line1": "John Doe",
"name_line2": "Att. Finance",
"address_line2": "2nd floor",
"state": "<string>",
"region": "Capital",
"sms": "30274735"
},
"agent": {
"internal_id": "U3778",
"internal_reference": "U-00001675",
"agent_no": "2134",
"company": "Maersk",
"name_line1": "John Doe",
"name_line2": "Att. Finance",
"address_line1": "Esplanaden 50",
"address_line2": "2nd floor",
"postal_code": "1098",
"city": "Copenhagen",
"state": "<string>",
"region": "Capital",
"country": "DK",
"sms": "30274735",
"email": "[email protected]"
},
"addons": [
{
"code": "ADHOC_PICKUP",
"value": "+4530274735"
}
]
}
],
"meta": {
"current_page": "1",
"from": "1",
"path": "https://example.com/api/example",
"per_page": "15",
"to": "15",
"last_page": "10",
"total": "140"
}
}Provide API Token as Bearer authentication
Query API Token
The domain of the website making the agent lookup request
Shipment ID
Successful operation
Data container
Show child attributes
Unique ID
"c5540f2b-3eea-45c4-957a-9d7b53f899e7"
Description of the resource type
"shipment"
The database id used by the website for the resource
"1226"
The id that is used to reference the resource externally
"AB-00001445"
The carrier code
postnord, gls, dao, bifrost, bring "postnord"
The code for the shipping method
"collect"
Receiver Resource
Show child attributes
The database id used by the website for the resource
"U3778"
The id that is used to reference the resource externally
"U-00001675"
First line used to store the address
"Esplanaden 50"
Postal code
"1098"
City
"Copenhagen"
ISO3166 alpha 2 country code
"DK"
Email address
Company name
"Maersk"
First line used to store the name of the receiver
"John Doe"
Second line used to store the name of the receiver
"Att. Finance"
Second line used to store the address
"2nd floor"
State
Region
"Capital"
Mobile phone number
"30274735"
List of parcels
Show child attributes
The database id used by the website for the resource
"1226"
The id that is used to reference the resource externally
"AB-00001445"
Unique ID
"c5540f2b-3eea-45c4-957a-9d7b53f899e7"
Description of the resource type
"parcel"
Parcel weight in kilograms [kg]
x >= 02.35
Parcel height in centimeters [cm]
x >= 012.2
Parcel width in centimeters [cm]
x >= 015.8
Parcel length in centimeters [cm]
x >= 030.5
A freetext field which is intended to be printed on the label.
"Leave at doorstep"
Total price excluding tax
x >= 079.2
Total price including tax
x >= 099
Total tax amount
x >= 019.8
List of items
Show child attributes
The database id used by the website for the resource
"1226"
The id that is used to reference the resource externally
"PRODUCT-1231456"
Item SKU number
"12345678"
Item name
"Product A"
Unique ID
"c5540f2b-3eea-45c4-957a-9d7b53f899e7"
Description of the resource type
"item"
Item description
"Small Blue Product A"
The items HS customs number
"10203040"
ISO3166 Alpha2 country code
"CN"
The url of an item image
"https://example.com/catalog/product-a.jpg"
The item unit weight in kilograms [kg]
1.2
The item unit price excluding tax
40.6
The item unit price including tax
50.75
The item quantity
2
The item total price excluding tax
81.2
The item total price including tax
101.5
The item total tax amount
20.3
The subtotal price excluding tax
159.2
The subtotal price including tax
199
The shipping price excluding tax
20
The shipping price including tax
25
The total price excluding tax
179.2
The total price including tax
224
The total tax amount
44.8
The three letter ISO4217 currency code
"EUR"
Sender Resource
Show child attributes
The database id used by the website for the resource
"U3778"
The id that is used to reference the resource externally
"U-00001675"
Company name
"Maersk"
First line used to store the address
"Esplanaden 50"
Postal code
"1098"
City
"Copenhagen"
ISO3166 alpha 2 country code
"DK"
Email address
First line used to store the name of the receiver
"John Doe"
Second line used to store the name of the receiver
"Att. Finance"
Second line used to store the address
"2nd floor"
State
Region
"Capital"
Mobile phone number
"30274735"
Pickup Resource
Show child attributes
The database id used by the website for the resource
"U3778"
The id that is used to reference the resource externally
"U-00001675"
The carriers own number for the agent
"2134"
Company name
"Maersk"
First line used to store the name of the receiver
"John Doe"
Second line used to store the name of the receiver
"Att. Finance"
First line used to store the address
"Esplanaden 50"
Second line used to store the address
"2nd floor"
Postal code
"1098"
City
"Copenhagen"
State
Region
"Capital"
ISO3166 alpha 2 country code
"DK"
Mobile phone number
"30274735"
Email address
List of addons
Show child attributes
A code describing the addon
ADHOC_PICKUP, AGE_CHECK, ALCOHOL, BAGONDOOR, CARRYIN, CARRYINHEAVY, CHRISTMASFUND, CLIMATE_COMPENSATION, DANGEROUS_GOODS, DANGEROUS_GOODS_LIMITED_QUANTITY, DELIVERYCONFIRMATION, ECONOMY, EXPRESS, EXTEND_DELIVERY, FLEXCHANGE, FLEXDELIVERY, HEAVY20KG, IDCHECK, INSURANCE, LABELESS, LEAVENOPOD, NOFLEX, NOTIFICATION, NOTIFICATION_EMAIL, NOTIFICATION_SMS, PNCREDITNOINVOICE, PRIVATERECEIVER, QR, SECONDDELIVERYATTEMPT, SIGNATURE, TYRES, VALUABLES Misc value required for certain addons
"+4530274735"
Legth Aware Pagination Resource
Show child attributes
The page of the current request
"1"
Results from number
"1"
Path of the api request used when modifying the pagination parameters
"https://example.com/api/example"
The number of results per page
"15"
Results to number
"15"
The last page
"10"
Total number of results
"140"
Was this page helpful?