curl --request GET \
--url https://production.trackstarhq.com/wms/orders/{order_id}/packs \
--header 'x-trackstar-access-token: <x-trackstar-access-token>' \
--header 'x-trackstar-api-key: <x-trackstar-api-key>'
{
"data": {
"packs": [
{
"pack_id": "package_id",
"measurements": {
"length": 1.5,
"width": 1.5,
"height": 1.5,
"unit": "in",
"weight": 2.5,
"weight_unit": "lb"
},
"line_items": [
{
"inventory_item_id": "",
"sku": "",
"quantity": 0
}
]
}
],
"carrier": "carrier_name",
"shipping_method": "shipping_method_name",
"ship_to_address": {
"full_name": "John Doe",
"company": "Company",
"address1": "123 Main St",
"address2": "Apt 2",
"address3": "Floor 3",
"city": "New York",
"state": "NY",
"postal_code": "10001",
"country": "United States",
"phone_number": "123-456-7890",
"email_address": "johndoe@example.com"
},
"order_line_items": [
{
"product_id": "",
"sku": "sku",
"quantity": 1
}
],
"additional_fields": {
"key": "value"
}
}
}
Returns the packs for the specified order.
curl --request GET \
--url https://production.trackstarhq.com/wms/orders/{order_id}/packs \
--header 'x-trackstar-access-token: <x-trackstar-access-token>' \
--header 'x-trackstar-api-key: <x-trackstar-api-key>'
{
"data": {
"packs": [
{
"pack_id": "package_id",
"measurements": {
"length": 1.5,
"width": 1.5,
"height": 1.5,
"unit": "in",
"weight": 2.5,
"weight_unit": "lb"
},
"line_items": [
{
"inventory_item_id": "",
"sku": "",
"quantity": 0
}
]
}
],
"carrier": "carrier_name",
"shipping_method": "shipping_method_name",
"ship_to_address": {
"full_name": "John Doe",
"company": "Company",
"address1": "123 Main St",
"address2": "Apt 2",
"address3": "Floor 3",
"city": "New York",
"state": "NY",
"postal_code": "10001",
"country": "United States",
"phone_number": "123-456-7890",
"email_address": "johndoe@example.com"
},
"order_line_items": [
{
"product_id": "",
"sku": "sku",
"quantity": 1
}
],
"additional_fields": {
"key": "value"
}
}
}
Your organization-level Trackstar API key.
"<x-trackstar-api-key>"
Your user's access token for a specific integration (ShipHero, Extensiv, etc).
"<x-trackstar-access-token>"
Successful response
The response is of type object
.