API Request Errors
In the event of API request errors, TrackShip uses different HTTP response codes to indicate the correct behind the error.
HTTP Status Code | Status Name | Message(status_msg) |
200 | Ok | The request was created successfully: pending_trackship = waiting for TrackShip to response insufficient_balance = Account balance is zero carrier_unsupported = tracking provider code that you entered is not valid. |
400 | Bad Request | The requested paramere is missing: Order id not found Tracking number not found Shipping provider not found |
401 | Unauthorized | Unauthorized API access: ssl_error – Store URL is not with HTTPS unauthorized – Invalid User key or Store does not exist |
500 | Internal Server Error | The server encountered an unexpected condition that prevented it from fulfilling the request. |