Services
1. Provider/Service Information
When interacting with eHub’s shipment services, two primary fields are essential:
- service_id: An integer that helps identify the service and is required when creating a shipment.
- package_type: An array that lists the supported package types for each service. Use the
package_types[i].typevalue when submitting requests to ensure you're selecting the correct package type.
Key Points:
- Some services include predefined package types (e.g., large envelope, parcel, letter, softpack).
- If no package types are listed for a service, it defaults to the "parcel" package type. This occurs for services like UPS Express and ExpressPlus.
2. USPS Zone Information: Find Zone Endpoint
The Find Zone endpoint helps retrieve USPS zone information based on the provided "to" and "from" postal codes. This is essential for determining the shipping zone for a specific USPS service depending on the origin and destination locations.
Key Points:
- You can retrieve zone information using postal codes.
- This helps optimize shipping decisions by determining the correct zone for your shipments.
Example Parameters:
- from_zip: Origin postal code.
- to_zip: Destination postal code.
Was this section helpful?
On this page
- Services