Create middle mile orders Run in API Explorer
Ask AI
POST
/api/external/hub/v1/middle_mile_orders
curl \
--request POST 'https://api.pattern.com/api/external/hub/v1/middle_mile_orders' \
--header "Content-Type: application/json" \
--data '[{"warehouse_id":42,"shipment_ids":["string"]}]'
Request examples
[
{
"warehouse_id": 42,
"shipment_ids": [
"string"
]
}
]
Response examples (200)
{
"middle_mile_order_number": "string",
"shipments": [
"string"
],
"message": "string"
}
Response examples (422)
{
"errors": [
"string"
]
}
Response examples (404)
{
"errors": [
"string"
]
}
Response examples (401)
{
"error": "string"
}
Response examples (400)
{
"errors": [
"string"
]
}