shipment
object
A shipment
object contains the properties that define a shipment in DropStream.
Shipments are listed by the /shipments
endpoint methods.
shipment
schema
{
"id": integer,
"tracking_number": "string",
"created_at": "dateString",
"order_id": integer,
"shipped_at": "dateString",
"weight": "decimal(8,2)",
"external_shipping_description": "string",
"carrier_name": "string",
"service_level": "string",
"warehouse_id": integer,
"state": "string",
"bill_of_lading_number": "string",
"dispatch_number": "string",
"external_shipment_id": "string",
"master_bill_of_lading_number": "string",
"order_items": [
{
"id": integer
},
{
"id": integer
}
(Additional order_items if any...)
]
}
shipment
properties
bill_of_lading_number
Property | bill_of_lading_number |
---|
Data type | string |
---|
Description | Bill of lading number |
---|
carrier_name
Property | carrier_name |
---|
Data type | Carrier name |
---|
Description | Carrier name |
---|
Example | FedEx |
---|
composite_tracking_number
Property | composite_tracking_number |
---|
Data type | string |
---|
Description | Composite tracking number |
---|
created_at
Property | created_at |
---|
Data type | dateString |
---|
Description | DateTime when the shipment was imported from the WMS |
---|
Example | 2022-09-10T08:28:27Z |
---|
dispatch_number
Property | dispatch_number |
---|
Data type | string |
---|
Description | Dispatch number |
---|
expected_delivery_date
Property | expected_delivery_date |
---|
Data type | dateString |
---|
Description | Expected delivery date |
---|
Example | 2022-09-10T08:28:27Z |
---|
external_shipment_id
Property | external_shipment_id |
---|
Data type | string |
---|
Description | External shipment ID |
---|
external_shipping_description
Property | external_shipping_description |
---|
Data type | string |
---|
Description | External shipping description |
---|
Example | "2nd Day Air" |
---|
id
Property | id |
---|
Data type | integer |
---|
Description | Unique ID of this shipment, assigned upon creation |
---|
Note | In other contexts, "shipment_id" refers to this property |
---|
Example | 123456789 |
---|
master_bill_of_lading_number
Property | master_bill_of_lading_number |
---|
Data type | string |
---|
Description | Master bill of lading number |
---|
notified_at
Property | notified_at |
---|
Data type | dateString |
---|
Description | DateTime when the shipment was notified to the sales channel |
---|
Example | 2022-09-10T08:28:27Z |
---|
order_id
Property | order_id |
---|
Data type | integer |
---|
Description | DropStream Order ID associated with this shipment |
---|
Example | 123456789 |
---|
order_items
Property | order_items |
---|
Data type | object |
---|
Description | Array of objects with the numeric id (integer) of any item(s) in this shipment |
---|
Example | [ { "id": 123456789 } { "id": 123456789 } ]
|
---|
pro_number
Property | pro_number |
---|
Data type | string |
---|
Description | PRO Number |
---|
scac_code
Property | scac_code |
---|
Data type | string |
---|
Description | Standard Carrier Alpha Code |
---|
serial_number
Property | serial_number |
---|
Data type | string |
---|
Description | Serial number |
---|
service_level
Property | service_level |
---|
Data type | string |
---|
Description | Service level |
---|
Example | "Ground" |
---|
shipped_at
Property | shipped_at |
---|
Data type | dateString |
---|
Description | DateTime when the package was shipped |
---|
Example | 2022-09-10T08:28:27Z |
---|
shipping_carrier_description_code
Property | shipping_carrier_description_code |
---|
Data type | string |
---|
Description | Shipping carrier description code |
---|
state
Property | state |
---|
Data type | string |
---|
Description | Status of the shipment in DropStream. Shipment states include:new ready_for_shipment_notification scheduled_notify_of_shipment scheduled_processing_shipment errored_processing scheduled_notify_of_shipment delayed_notifying_of_shipment errored_notifying_of_shipment notified_shipped archived
|
---|
Example | "notified_shipped" |
---|
tracking_number
Property | tracking_number |
---|
Data type | string |
---|
Description | Tracking number |
---|
Example | "123456789" |
---|
tracking_url
Property | tracking_url |
---|
Data type | string |
---|
Description | Tracking URL |
---|
warehouse_id
Property | warehouse_id |
---|
Data type | integer |
---|
Description | Numeric DropStream ID of the shipping warehouse |
---|