-
Notifications
You must be signed in to change notification settings - Fork 0
Shipping & Address Validation
The Shipping and Address Validation resources in the POS Portal API are crucial for ensuring accurate and timely delivery of orders. Proper use of these resources helps in selecting the best shipping methods, calculating costs, and verifying addresses to avoid delivery errors. This guide provides a step-by-step process on how to use these resources effectively.
Shipping involves choosing the right carrier and service level to meet customer expectations while balancing cost and delivery time.
Before completing an order, it’s essential to gather shipping options and their costs. This allows you to present accurate shipping choices to your customers.
-
Get Shipping Methods and Quotes
Use this endpoint to retrieve available shipping methods and quotes based on the destination address. This will include options from different carriers and their respective costs. The response from this endpoint will include a list of shipping methods and their corresponding quotes, allowing you to select the most suitable option for your order.POST /v2/shipping/quote
Ensuring that the shipping address is correct is critical to prevent delivery issues. Address validation checks the accuracy and completeness of the address information.
To minimize the risk of delivery errors, it's important to validate the shipping address before finalizing an order.
-
Validate Shipping Address
Use this endpoint to validate a shipping address. This process ensures that the address meets the standards required by the shipping carrier, reducing the likelihood of errors or delays in delivery.POST /v2/shipping/address
Sample Request
{
"merchantName": "Test Merchant",
"line1": "123 Main St",
"city": "Anytown",
"region": "CA",
"postalCode": "90210",
"country": "US"
}The response will indicate whether the address is valid or if there are any issues that need to be corrected before proceeding with the shipment.
Accurate shipping and address validation are key to successful order fulfillment. By using the shipping and address validation resources provided by the POS Portal API, you can ensure that your orders are delivered accurately and on time, improving customer satisfaction and reducing the risk of returns or undelivered packages.
For more detailed information on each endpoint and its parameters, please refer to the POS Portal API Documentation.
-
Resources