Create a Manifest
The page explains how to create a manifest using the /v1/manifests
endpoint and the HTTP POST method.
Explicit Manifest
You may explicitly specify the labels you want to include in the manifest using the label_ids
property.
You do not need to specify carrier_id
, warehouse_id
, or
ship_date
if you use the label_ids
property.
Example Request
POST /v1/manifests
Example Response
Implicit Manifests
Alternately, you may provide criteria that the labels must meet and allow ShipEngine to determine which labels to include in the manifest based on that criteria.
You may also exclude certain labels from the manifest even if they meet the specified criteria by using the excluded_label_ids
property.
If you specify an excluded_label_ids
property, you must also specify a carrier_id
, warehouse_id
, and
ship_date
.
Example Request
This example specifies a carrier_id
, warehouse_id
and ship_date
. If you do not specify label_ids
, you must specify
all three of these properties.
POST /v1/manifests
Example Response
Example Excluding Labels
This example demonstrates including the excluded_label_ids
property. Note that it also includes the other search
criteria properties. These are required.
Example Error Response
If no labels meet the specified criteria, you will get a response similar to the one below.