Connect with us

Rate Services

Our Rate Services API gives you real-time shipping quotes for your Shipwire orders.

Our rating engine automatically optimizes rates, selecting the best warehouse and packing configuration for orders and returning a list of available service options and prices.

Information available from the Rate Services API includes:

  • Best shipping quotes for each available shipping service level
  • Delivery date range estimates

API Endpoints

Sandbox: https://api.beta.shipwire.com/exec/RateServices.php
Production: https://api.shipwire.com/exec/RateServices.php

Example Request

POST /exec/RateServices.php
Content-Type: application/xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE RateRequest SYSTEM "http://www.shipwire.com/exec/download/RateRequest.dtd">
<RateRequest>
    <Username>api_user@example.com</Username>
    <Password>yourpassword</Password>
    <Order id="12579">
        <Warehouse>0</Warehouse>
        <AddressInfo type="ship">
            <Address1>321 Foo bar lane</Address1>
            <Address2>Apartment #2</Address2>
            <City>Nowhere</City>
            <State>CA</State>
            <Country>US</Country>
            <Zip>12345</Zip>
        </AddressInfo>
        <Item num="0">
            <Code>12345</Code>
            <Quantity>1</Quantity>
        </Item>
    </Order>
</RateRequest>

Example Response

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE RateResponse SYSTEM "http://www.shipwire.com/exec/download/RateResponse.dtd">
<RateResponse>
	<Status>OK</Status>
	<Order sequence="1">
		<Quotes>
			<Quote method="GD">
				<Warehouse>LA (Pick/Pack Saver)</Warehouse>
				<Service>UPS Ground</Service>
				<Cost currency="USD">7.73</Cost>
				<DeliveryEstimate>
					<Minimum units="days">1</Minimum>
					<Maximum units="days">5</Maximum>
				</DeliveryEstimate>
			</Quote>
			<Quote method="2D">
				<Warehouse>LA (Pick/Pack Saver)</Warehouse>
				<Service>UPS Second Day Air</Service>
				<Cost currency="USD">13.64</Cost>
				<DeliveryEstimate>
					<Minimum units="days">2</Minimum>
					<Maximum units="days">2</Maximum>
				</DeliveryEstimate>
			</Quote>
			<Quote method="1D">
				<Warehouse>LA (Pick/Pack Saver)</Warehouse>
				<Service>USPS Express Mail</Service>
				<Cost currency="USD">25.25</Cost>
				<DeliveryEstimate>
					<Minimum units="days">1</Minimum>
					<Maximum units="days">1</Maximum>
				</DeliveryEstimate>
			</Quote>
		</Quotes>
	</Order>
</RateResponse>

Additional Resources


Test Form

XML Documentation

Please address the following errors:

    Please enter the e-mail address you used to register.
    We will e-mail you a new password shortly.

    Cancel

    An email has been sent to the address on file for your account. Please read and follow the directions provided within that email to reset your password.