Skip to content

ShipEngine API (1.1.202604070904)

ShipEngine's easy-to-use REST API lets you manage all of your shipping needs without worrying about the complexities of different carrier APIs and protocols. We handle all the heavy lifting so you can focus on providing a first-class shipping experience for your customers at the best possible prices.

Each of ShipEngine's features can be used by itself or in conjunction with each other to build powerful shipping functionality into your application or service.

Download OpenAPI description
Languages
Servers
Mock server
https://docs.shipstation.com/_mock/apis/shipengine/openapi/
https://api.shipengine.com/

Account

For additional information about the ShipEngine account.

Operations

Addresses

No matter your shipping volume, failed deliveries and address change surcharges cut into your bottom line and damage perception with customers. Our address validation services ensure your packages make it to the right place the first time. Learn how to leverage our address validation services here.

ShipEngine supports address validation for virtually every country on Earth, including the United States, Canada, Great Britain, Australia, Germany, France, Norway, Spain, Sweden, Israel, Italy, and over 160 others.

Operations

Batches

batches

Operations

Carrier Accounts

A carrier account is a connection to a shipping carrier that allows you to create labels, track packages, and more. You can connect your own carrier accounts to ShipEngine, or use one of our built-in carrier accounts. Learn more about carrier accounts here.

Operations

Carriers

carriers

Operations

Downloads

downloads

Operations

Insurance

insurance

Operations

Labels

Print shipping labels for any of the top global carriers in minutes—instead of weeks. Simply connect your existing carrier accounts in the API dashboard, and then begin creating labels.

Operations

LTL Shipping

Less-than-truckload (LTL) shipping API endpoints for managing freight shipments. Connect LTL carriers, request quotes, schedule pickups, and track freight shipments.

Operations

Manifests

manifests

Operations

List manifests

Request

Similar to querying shipments, we allow you to query manifests since there will likely be a large number over a long period of time.

Security
api_key
Query
warehouse_idstring(se_id)[ 1 .. 25 ] characters^se(-[a-z0-9]+)+$

Warehouse ID

Example: warehouse_id=se-28529731
ship_date_startstring(date-time)

ship date start range

Example: ship_date_start=2018-09-23T15:00:00.000Z
ship_date_endstring(date-time)

ship date end range

Example: ship_date_end=2018-09-23T15:00:00.000Z
created_at_startstring(date-time)

Used to create a filter for when a resource was created (ex. A shipment that was created after a certain time)

Example: created_at_start=2019-03-12T19:24:13.657Z
created_at_endstring(date-time)

Used to create a filter for when a resource was created, (ex. A shipment that was created before a certain time)

Example: created_at_end=2019-03-12T19:24:13.657Z
carrier_idstring(se_id)[ 1 .. 25 ] characters^se(-[a-z0-9]+)+$

Carrier ID

Example: carrier_id=se-28529731
pageinteger(int32)>= 1

Return a specific page of results. Defaults to the first page. If set to a number that's greater than the number of pages of results, an empty page is returned.

Default 1
Example: page=2
page_sizeinteger(int32)>= 1

The number of results to return per response.

Default 25
Example: page_size=50
label_idsArray of strings(se_id)

Array of label ids

Example: label_ids=se-28529731
curl -i -X GET \
  'https://docs.shipstation.com/_mock/apis/shipengine/openapi/v1/manifests?warehouse_id=se-28529731&ship_date_start=2018-09-23T15%3A00%3A00.000Z&ship_date_end=2018-09-23T15%3A00%3A00.000Z&created_at_start=2019-03-12T19%3A24%3A13.657Z&created_at_end=2019-03-12T19%3A24%3A13.657Z&carrier_id=se-28529731&page=2&page_size=50&label_ids=se-28529731' \
  -H 'API-Key: YOUR_API_KEY_HERE'

Responses

The request was a success.

Bodyapplication/json
manifestsArray of objects(manifest)read-onlyrequired

The list of available manifests

Default []
manifests[].​manifest_idstring(se_id)[ 1 .. 25 ] characters^se(-[a-z0-9]+)+$read-only

A string that uniquely identifies the manifest

Example: "se-28529731"
manifests[].​form_idstring(se_id)[ 1 .. 25 ] characters^se(-[a-z0-9]+)+$read-only

A string that uniquely identifies the form

Example: "se-28529731"
manifests[].​created_atstring(date-time)non-emptyread-only

The date-time that the manifest was created

Example: "2019-07-12T13:37:39.050Z"
manifests[].​ship_datestring(date-time)non-emptyread-only

The date-time that the manifests shipments will be picked up

Example: "2019-07-12T13:37:39.050Z"
manifests[].​shipmentsinteger(int32)>= 1read-only

The number of shipments that are included in this manifest

Example: 100
manifests[].​label_idsArray of objectsread-only

An array of the label ids used in this manifest.

manifests[].​warehouse_idstring(se_id)[ 1 .. 25 ] characters^se(-[a-z0-9]+)+$read-only

A string that uniquely identifies the warehouse

Example: "se-28529731"
manifests[].​submission_idstringnon-emptyread-only

A string that uniquely identifies the submission

Example: "9475711899564878915476"
manifests[].​carrier_idstring(se_id)[ 1 .. 25 ] characters^se(-[a-z0-9]+)+$read-only

A string that uniquely identifies the carrier

Example: "se-28529731"
manifests[].​manifest_downloadobject(manifest_download)read-only

Object containing the href link to download the manifest file

totalinteger(int64)>= 0read-onlyrequired

The total number of manifests returned

Example: 3
pageinteger(int32)>= 1read-onlyrequired

Current page of the list manifests results

Example: 3
pagesinteger(int32)>= 1read-onlyrequired

Total number of pages for list manifests results

Example: 4
linksobject(pagination_link)read-onlyrequired

Helpful links to other pages of results

links.​firstobject(optional_link)required

The link to the first page of results. This object will always have an href field. If there are no results, then the first page will contain an empty array of items.

links.​first.​hrefstring(url)(url)non-emptyrequired

The URL of the linked resource, if any

Example: "http://api.shipengine.com/v1/labels/se-28529731"
links.​first.​typestringnon-empty

The type of resource, or the type of relationship to the parent resource

links.​lastobject(optional_link)required

The link to the final page of results. This object will always have an href field. If there are no results, then the final page will contain an empty array of items.

links.​last.​hrefstring(url)(url)non-emptyrequired

The URL of the linked resource, if any

Example: "http://api.shipengine.com/v1/labels/se-28529731"
links.​last.​typestringnon-empty

The type of resource, or the type of relationship to the parent resource

links.​prevobject(optional_link)required

The link to the previous page of results. The href field will only be set when the page is 2 or greater.

links.​prev.​hrefstring(url)(url)non-empty

The URL of the linked resource, if any

Example: "http://api.shipengine.com/v1/labels/se-28529731"
links.​prev.​typestringnon-empty

The type of resource, or the type of relationship to the parent resource

links.​nextobject(optional_link)required

The link to the next page of results. The href field will only be set when the page is less than pages.

links.​next.​hrefstring(url)(url)non-empty

The URL of the linked resource, if any

Example: "http://api.shipengine.com/v1/labels/se-28529731"
links.​next.​typestringnon-empty

The type of resource, or the type of relationship to the parent resource

Response
application/json
{ "manifests": [], "total": 3, "page": 3, "pages": 4, "links": { "first": {}, "last": {}, "prev": {}, "next": {} } }

Create manifest

Request

Each ShipEngine manifest is created for a specific warehouse, so you'll need to provide the warehouse_id rather than the ship_from address. You can create a warehouse for each location that you want to create manifests for.

Security
api_key
Bodyapplication/jsonrequired
One of:

A create manifest request body

carrier_idstring(se_id)[ 1 .. 25 ] characters^se(-[a-z0-9]+)+$required

A string that uniquely identifies the carrier

Example: "se-28529731"
excluded_label_idsArray of objects

The list of label ids to exclude from the manifest

label_idsArray of objects

The list of label ids to include for the manifest

warehouse_idstring(se_id)[ 1 .. 25 ] characters^se(-[a-z0-9]+)+$required

A string that uniquely identifies the warehouse

Example: "se-28529731"
ship_datestring(date-time)non-emptyrequired

The ship date that the shipment will be sent out on

Example: "2018-09-23T15:00:00.000Z"
curl -i -X POST \
  https://docs.shipstation.com/_mock/apis/shipengine/openapi/v1/manifests \
  -H 'API-Key: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "carrier_id": "se-28529731",
    "excluded_label_ids": [
      "se-28529731"
    ],
    "label_ids": [
      "se-28529731"
    ],
    "warehouse_id": "se-28529731",
    "ship_date": "2018-09-23T15:00:00.000Z"
  }'

Responses

The request was a success.

Bodyapplication/json
manifestsArray of objects(manifest)

Resulting Manifests

manifest_requestsArray of objects(manifest_request)

Resulting manifest requests with statuses

request_idstring(uuid)(uuid)= 36 characters^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}...required

A UUID that uniquely identifies the request id. This can be given to the support team to help debug non-trivial issues that may occur

Example: "aa3d8e8e-462b-4476-9618-72db7f7b7009"
errorsArray of objects(error)read-onlyrequired

The errors associated with the failed API call

errors[].​error_sourcestring(error_source)required

The source of the error, as indicated by the name this informs us if the API call failed because of the carrier, the order source, or the ShipEngine API itself.

Enum"carrier""order_source""shipengine"
errors[].​error_typestring(error_type)required

The type of error

Enum"account_status""business_rules""validation""security""system""integrations"
errors[].​error_codestring(error_code)required

The error code specified for the failed API Call

Enum"auto_fund_not_supported""batch_cannot_be_modified""carrier_conflict""carrier_disconnected""carrier_not_connected""carrier_not_supported""confirmation_not_supported""default_warehouse_cannot_be_deleted""field_conflict""field_value_required"
errors[].​messagestringnon-emptyread-onlyrequired

An error message associated with the failed API call

Example: "Body of request cannot be null."
errors[].​carrier_idstring(se_id)[ 1 .. 25 ] characters^se(-[a-z0-9]+)+$read-only

A string that uniquely identifies the carrier that generated the error.

Example: "se-28529731"
errors[].​carrier_codestring(carrier_code)^[a-z0-9]+(_[a-z0-9]+)*$read-only

A shipping carrier, such as fedex, dhl_express, stamps_com, etc.

Example: "dhl_express"
errors[].​field_namestringread-only

The name of the field that caused the error

Example: "shipment.ship_to.phone_number"
manifest_idstring(se_id)[ 1 .. 25 ] charactersDeprecated^se(-[a-z0-9]+)+$required

A string that uniquely identifies the manifest

Example: "se-28529731"
form_idstring(se_id)[ 1 .. 25 ] charactersDeprecated^se(-[a-z0-9]+)+$required

A string that uniquely identifies the form

Example: "se-28529731"
created_atstring(date-time)non-emptyDeprecatedrequired

The date-time that the manifest was created

Example: "2019-07-12T13:37:39.050Z"
ship_datestring(date-time)non-emptyDeprecatedrequired

The date-time that the manifests shipments will be picked up

Example: "2019-07-12T13:37:39.050Z"
shipmentsinteger(int32)>= 1Deprecatedread-onlyrequired

The number of shipments that are included in this manifest

Example: 100
warehouse_idstring(se_id)[ 1 .. 25 ] charactersDeprecated^se(-[a-z0-9]+)+$required

A string that uniquely identifies the warehouse

Example: "se-28529731"
submission_idstringnon-emptyDeprecatedrequired

A string that uniquely identifies the submission

Example: "9475711899564878915476"
carrier_idstring(se_id)[ 1 .. 25 ] charactersDeprecated^se(-[a-z0-9]+)+$required

A string that uniquely identifies the carrier

Example: "se-28529731"
manifest_downloadobject(manifest_download)Deprecatedrequired

Object containing the href link to download the manifest file

manifest_download.​hrefstring(url)(url)non-empty

The URL of the linked resource, if any

Example: "http://api.shipengine.com/v1/labels/se-28529731"
label_idsArray of objectsDeprecatedread-only

An array of the label ids used in this manifest.

Response
application/json
{ "manifests": [ {} ], "manifest_requests": [ {} ], "manifest_id": "se-28529731", "form_id": "se-28529731", "created_at": "2019-07-12T13:37:39.050Z", "ship_date": "2019-07-12T13:37:39.050Z", "shipments": 100, "warehouse_id": "se-28529731", "submission_id": "9475711899564878915476", "carrier_id": "se-28529731", "manifest_download": { "href": "http://api.shipengine.com/v1/labels/se-28529731" }, "label_ids": [ "se-28529731" ], "request_id": "aa3d8e8e-462b-4476-9618-72db7f7b7009", "errors": [ {} ] }

Get manifest by ID

Request

Get Manifest By Id

Security
api_key
Path
manifest_idstring(se_id)[ 1 .. 25 ] characters^se(-[a-z0-9]+)+$required

The Manifest Id

Example: se-28529731
curl -i -X GET \
  https://docs.shipstation.com/_mock/apis/shipengine/openapi/v1/manifests/se-28529731 \
  -H 'API-Key: YOUR_API_KEY_HERE'

Responses

The request was a success.

Bodyapplication/json
manifest_idstring(se_id)[ 1 .. 25 ] characters^se(-[a-z0-9]+)+$read-onlyrequired

A string that uniquely identifies the manifest

Example: "se-28529731"
form_idstring(se_id)[ 1 .. 25 ] characters^se(-[a-z0-9]+)+$read-onlyrequired

A string that uniquely identifies the form

Example: "se-28529731"
created_atstring(date-time)non-emptyread-onlyrequired

The date-time that the manifest was created

Example: "2019-07-12T13:37:39.050Z"
ship_datestring(date-time)non-emptyread-onlyrequired

The date-time that the manifests shipments will be picked up

Example: "2019-07-12T13:37:39.050Z"
shipmentsinteger(int32)>= 1read-onlyrequired

The number of shipments that are included in this manifest

Example: 100
label_idsArray of objectsread-onlyrequired

An array of the label ids used in this manifest.

warehouse_idstring(se_id)[ 1 .. 25 ] characters^se(-[a-z0-9]+)+$read-onlyrequired

A string that uniquely identifies the warehouse

Example: "se-28529731"
submission_idstringnon-emptyread-onlyrequired

A string that uniquely identifies the submission

Example: "9475711899564878915476"
carrier_idstring(se_id)[ 1 .. 25 ] characters^se(-[a-z0-9]+)+$read-onlyrequired

A string that uniquely identifies the carrier

Example: "se-28529731"
manifest_downloadobject(manifest_download)read-onlyrequired

Object containing the href link to download the manifest file

manifest_download.​hrefstring(url)(url)non-empty

The URL of the linked resource, if any

Example: "http://api.shipengine.com/v1/labels/se-28529731"
Response
application/json
{ "manifest_id": "se-28529731", "form_id": "se-28529731", "created_at": "2019-07-12T13:37:39.050Z", "ship_date": "2019-07-12T13:37:39.050Z", "shipments": 100, "label_ids": [ "se-28529731" ], "warehouse_id": "se-28529731", "submission_id": "9475711899564878915476", "carrier_id": "se-28529731", "manifest_download": { "href": "http://api.shipengine.com/v1/labels/se-28529731" } }

Get manifest request by ID

Request

Get Manifest Request By Id

Security
api_key
Path
manifest_request_idstring(se_id)[ 1 .. 25 ] characters^se(-[a-z0-9]+)+$required

The Manifest Request Id

Example: se-28529731
curl -i -X GET \
  https://docs.shipstation.com/_mock/apis/shipengine/openapi/v1/manifests/requests/se-28529731 \
  -H 'API-Key: YOUR_API_KEY_HERE'

Responses

The request was a success.

Bodyapplication/json
manifestsArray of objects(manifest)

Resulting Manifests

manifest_requestsArray of objects(manifest_request)

Resulting manifest requests with statuses

request_idstring(uuid)(uuid)= 36 characters^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}...required

A UUID that uniquely identifies the request id. This can be given to the support team to help debug non-trivial issues that may occur

Example: "aa3d8e8e-462b-4476-9618-72db7f7b7009"
errorsArray of objects(error)read-onlyrequired

The errors associated with the failed API call

errors[].​error_sourcestring(error_source)required

The source of the error, as indicated by the name this informs us if the API call failed because of the carrier, the order source, or the ShipEngine API itself.

Enum"carrier""order_source""shipengine"
errors[].​error_typestring(error_type)required

The type of error

Enum"account_status""business_rules""validation""security""system""integrations"
errors[].​error_codestring(error_code)required

The error code specified for the failed API Call

Enum"auto_fund_not_supported""batch_cannot_be_modified""carrier_conflict""carrier_disconnected""carrier_not_connected""carrier_not_supported""confirmation_not_supported""default_warehouse_cannot_be_deleted""field_conflict""field_value_required"
errors[].​messagestringnon-emptyread-onlyrequired

An error message associated with the failed API call

Example: "Body of request cannot be null."
errors[].​carrier_idstring(se_id)[ 1 .. 25 ] characters^se(-[a-z0-9]+)+$read-only

A string that uniquely identifies the carrier that generated the error.

Example: "se-28529731"
errors[].​carrier_codestring(carrier_code)^[a-z0-9]+(_[a-z0-9]+)*$read-only

A shipping carrier, such as fedex, dhl_express, stamps_com, etc.

Example: "dhl_express"
errors[].​field_namestringread-only

The name of the field that caused the error

Example: "shipment.ship_to.phone_number"
manifest_idstring(se_id)[ 1 .. 25 ] charactersDeprecated^se(-[a-z0-9]+)+$required

A string that uniquely identifies the manifest

Example: "se-28529731"
form_idstring(se_id)[ 1 .. 25 ] charactersDeprecated^se(-[a-z0-9]+)+$required

A string that uniquely identifies the form

Example: "se-28529731"
created_atstring(date-time)non-emptyDeprecatedrequired

The date-time that the manifest was created

Example: "2019-07-12T13:37:39.050Z"
ship_datestring(date-time)non-emptyDeprecatedrequired

The date-time that the manifests shipments will be picked up

Example: "2019-07-12T13:37:39.050Z"
shipmentsinteger(int32)>= 1Deprecatedread-onlyrequired

The number of shipments that are included in this manifest

Example: 100
warehouse_idstring(se_id)[ 1 .. 25 ] charactersDeprecated^se(-[a-z0-9]+)+$required

A string that uniquely identifies the warehouse

Example: "se-28529731"
submission_idstringnon-emptyDeprecatedrequired

A string that uniquely identifies the submission

Example: "9475711899564878915476"
carrier_idstring(se_id)[ 1 .. 25 ] charactersDeprecated^se(-[a-z0-9]+)+$required

A string that uniquely identifies the carrier

Example: "se-28529731"
manifest_downloadobject(manifest_download)Deprecatedrequired

Object containing the href link to download the manifest file

manifest_download.​hrefstring(url)(url)non-empty

The URL of the linked resource, if any

Example: "http://api.shipengine.com/v1/labels/se-28529731"
label_idsArray of objectsDeprecatedread-only

An array of the label ids used in this manifest.

Response
application/json
{ "manifests": [ {} ], "manifest_requests": [ {} ], "manifest_id": "se-28529731", "form_id": "se-28529731", "created_at": "2019-07-12T13:37:39.050Z", "ship_date": "2019-07-12T13:37:39.050Z", "shipments": 100, "warehouse_id": "se-28529731", "submission_id": "9475711899564878915476", "carrier_id": "se-28529731", "manifest_download": { "href": "http://api.shipengine.com/v1/labels/se-28529731" }, "label_ids": [ "se-28529731" ], "request_id": "aa3d8e8e-462b-4476-9618-72db7f7b7009", "errors": [ {} ] }

Package Pickups

Scheduled package pickups

Operations

Package Types

custom package types

Operations

Rates

Make sure you ship as cost-effectively as possible by quickly comparing rates using the ShipEngine Rates API. As long as you have the carrier connected to your account, you'll be able to see and compare different rates and services.

Operations

Service Points

Service points allow customers to pick up their packages at convenient locations.

Operations

Shipments

Shipments are at the center of the ShipEngine API. A shipment is the first step in creating a shipping label, or creating a manifest. It's also essential for getting shipping rates.

Operations

Tags

tags

Operations

Tokens

Manage authentication tokens for secure API access.

Operations

Tracking

Track packages across any of our 20+ supported carrier accounts and create tracking events to keep your customers up-to-date. Easily integrate real-time tracking information for shipments into your app, email, or SMS.

Operations

Warehouses

warehouses

Operations

Webhooks

Webhooks are a powerful feature of ShipEngine that can save you from sending repeated polling requests to check on the state of something. With webhooks, ShipEngine will automatically contact your servers when the state changes. This can include parcel tracking events, notification of the completion of a batch operation, or new sales orders.

Operations