Reverse consolidation responses

Possible responses when reversing a consolidation:

Status Meaning Description
200 OK Returns a success response once the system splits the parent order back into child orders
400 Bad Request Returned when Shippit has a problem with the input parameters
403 Forbidden Returned when the API key is invalid or missing the required permission
404 Not Found Returned when the system can’t locate the parent order
422 Unprocessable Entity Returned when the request fails validation
500 Internal Server Error Returned when an unknown error occurs

To perform this operation, you must authenticate using an authentication token.

Examples

Successful reverse response

{
  "response": {
    "message": "Deconsolidation successful"
  }
}

Failed order consolidation responses

404 response

Order not found:

{
  "error": "orders_not_found",
  "error_description": "Order not found"
}

422 response

Order exists but isn’t a consolidated order:

{
  "error": "consolidation_failed",
  "error_description": "Order is not a parent order"
}

Reverse isn’t allowed in the current state:

{
  "error": "consolidation_failed",
  "error_description": "Deconsolidation is not allowed at this time"
}