Create a new shipment
Creates a new shipment object.
Documentation Index
Fetch the complete documentation index at: https://docs.goshippo.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key authentication using the ShippoToken scheme. Format: Authorization: ShippoToken <API_TOKEN> Example: Authorization: ShippoToken shippo_live_abc123
Headers
Optional string used to pick a non-default API version to use. See our API version guide.
"2018-02-08"
Body
Shipment details and contact info.
Address represents the address as retrieved from the database
Address represents the address as retrieved from the database
List of parcels to be shipped.
Carrier-Specific Constraints:
| Carrier | Constraints |
|---|---|
| FedEx | Max 30 items |
An object holding optional extra services to be requested.
A string of up to 100 characters that can be filled with any additional information you want to attach to the object.
100"Customer ID 123456"
Date the shipment will be tendered to the carrier. Must be in the format 2014-01-18T00:35:03.463Z.
Defaults to current date and time if no value is provided. Please note that some carriers require this value to
be in the future, on a working day, or similar.
"2021-03-22T12:00:00Z"
Address represents the address as retrieved from the database
List of Carrier Accounts object_ids used to filter
the returned rates. If set, only rates from these carriers will be returned.
[
"065a4a8c10d24a34ab932163a1b87f52",
"73f706f4bdb94b54a337563840ce52b0"
]
Response
Shipment
Shipment represents the parcel as retrieved from the database
A string of up to 100 characters that can be filled with any additional information you want to attach to the object.
100"Customer ID 123456"
An array of object_ids of the carrier account objects to be used for getting shipping rates for this shipment.
If no carrier account object_ids are set in this field, Shippo will attempt to generate rates using all the
carrier accounts that have the active field set.
Date and time of Shipment creation.
Unique identifier of the given Shipment object.
"adcfdddf8ec64b84ad22772bce3ea37a"
Username of the user who created the Shipment object.
"pp@gmail.com"
Date and time of last Shipment update.
List of Parcel objects to be shipped.
An array with all available rates. If async has been set to false in the request,
this will be populated with all available rates in the response. Otherwise rates will be created
asynchronously and this array will initially be empty.
Waiting shipments have been successfully submitted but not yet been processed.
Queued shipments are currently being processed.
Success shipments have been processed successfully, meaning that rate generation has concluded.
Error does not occur currently and is reserved for future use.
ERROR, QUEUED, SUCCESS, WAITING "QUEUED"
An object holding optional extra services to be requested.
Date the shipment will be tendered to the carrier. Must be in the format 2014-01-18T00:35:03.463Z.
Defaults to current date and time if no value is provided. Please note that some carriers require this value to
be in the future, on a working day, or similar.
"2021-03-22T12:00:00Z"
ID of the Address object where the shipment will be sent back to if it is not delivered
(Only available for UPS, USPS, and Fedex shipments).
If this field is not set, your shipments will be returned to the address_from.
Indicates whether the object has been created in test mode.