Site Logo

List Container Types

This API endpoint can be used to retrieve a list of container types available for a particular carrier. Containers used in LTL shipping include things like skids and pallets in addition to regular bags and boxes. These special container types are referred to as packages in ShipEngine API to streamline the terminology used across different types of shipping carriers.

Carrier IDs

Each of your LTL carriers has a unique carrier_id in ShipEngine. You can use this carrier_id for many other ShipEngine endpoints to indicate which account to use.

Response Body

The response object returned from sucessful requests to this endpoint will contain a list of package types accepted by a carrier. Each package will contain the parameters listed in the table below. Pass the carrier_id into the URL as shown in the Example Response section below.

NameTypeRequiredDescription
codestring✔The code for the type of package accepted by the carrier.
featureslist✔This is a list of which endpoints where these accessorial services may be used.
namestring✔The name or short description of the accessorial service.

Example Request

GET /v-beta/ltl/carriers/:carrier_id/packages

1
2
3
GET /v-beta/ltl/carriers/aed2a8c0-7998-4fef-9a82-2cab5f527dc2/packages HTTP/1.1
Host: api.shipengine.com
API-Key: __YOUR_API_KEY_HERE__

Example Response

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"packages": [
{
"code": "bag",
"features": [
"quote",
"spot_quote",
"scheduled_pickup"
],
"name": "Bag"
},
{
"code": "pal",
"features": [
"quote",
"spot_quote",
"scheduled_pickup"
],
"name": "Pail"
},
{
"code": "pcs",
"features": [
"quote",
"spot_quote",
"scheduled_pickup"
],
"name": "Piece"
},
{
"code": "pkg",
"features": [
"quote",
"spot_quote",
"scheduled_pickup"
],
"name": "Package"
},
{
"code": "skd",
"features": [
"quote",
"spot_quote",
"scheduled_pickup"
],
"name": "Skid"
}
]
}