Create Manifest
The page explains how to create a manifest using the /v1/manifests
endpoint and the HTTP POST method.
Create Explicit Manifest
You may explicitly specify the labels you want to include in the manifest using the label_ids
property.
Example Request & Response
POST /v1/manifests
Response
Create Implicit Manifests
Alternately, you may specify the criteria that the labels must meet and ShipEngine will determine which labels to include in the manifest based on that criteria. You may also exclude specific 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 & Response
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
Response
Example Excluding Labels
This example demonstrates using the excluded_label_ids
property. Note that it also includes the other search criteria properties, as these are required.
Example Error Response
If no labels meet the specified criteria, you will get a response similar to the one below.