ShiftDocs

Reference

Errors

The Shift Carrier Tracking API uses a consistent error structure to provide feedback on failed operations. When an API call fails, the response will include an errorMessage field with a descriptive message of what went wrong, while the data field will be null.

Error Response Structure

{
  "data": null,
  "errorMessage": "string"
}

Common Error Messages

Order Not Found

When an order number does not correspond to any existing order in the system:

{
  "data": null,
  "errorMessage": "Order not found for given order number 105099;"
}

Invalid Order Data

When required fields are missing or invalid data is provided:

{
  "data": null,
  "errorMessage": "Invalid order data provided"
}

Address Validation Failed

When city-state data is not available for the given pincode:

{
  "data": null,
  "errorMessage": "Unable to validate address for given pincode"
}

Stuck on an integration?

Your account manager can put you in touch with our tech team.

Talk to us