Question
What is GSAPIRouter and how does it work?
Answer
What is GSAPIRouter?
GSAPIRouter is an internal API used by GlobalShip to interface with various third-party carriers through their APIs. It acts as a middleware, handling the communication between GlobalShip's system and external shipping carriers, such as USPS Easypost, FedEx, ProMed, UDS, and others. This service is fully integrated into GlobalShip's backend processes and is not directly accessed or used by customers.
How does GSAPIRouter work?
GSAPIRouter processes requests and responses between GlobalShip and its carrier partners. When a shipment is created in GlobalShip, it is sent through GSAPIRouter, which routes the request to the appropriate carrier API (i.e. FedEx, USPS, etc.). The carrier then processes the shipment and returns the relevant data (such as tracking information or shipping rates), which GSAPIRouter relays back to GlobalShip.
Key Functions:
- Carrier Communication: GSAPIRouter communicates with multiple carriers via their APIs to facilitate tasks such as shipment creation, rate calculation, and tracking.
- Error Handling: It manages errors that may occur during communication with carriers and returns error messages to GlobalShip for troubleshooting.
- Data Relay: It forwards data from the carriers (such as shipping labels, tracking numbers, and delivery information) back to the GlobalShip platform for processing and display to users.
Why is it important?
GSAPIRouter ensures that GlobalShip can efficiently manage interactions with different shipping carriers without requiring direct customer involvement. It automates the process of shipment creation, tracking, and rate retrieval, saving time and reducing manual errors.
Assistance
If any further assistance is needed, please contact our Support team.