POST salesorder/shipquote?customerNumber={customerNumber}&requestor={requestor}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerNumber | string |
None. |
|
| requestor | string |
None. |
Body Parameters
ShipQuoteRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerNumber | string |
None. |
|
| BusinessUnit | string |
Required |
|
| ShipToPostalCode | string |
None. |
|
| ShipToStateProvinceCode | string |
None. |
|
| ShipToCountryCode | string |
Required |
|
| Lines | Collection of ShipQuoteRequestLine |
Required |
Request Formats
application/json, text/json
Sample:
{
"CustomerNumber": "sample string 1",
"BusinessUnit": "sample string 2",
"ShipToPostalCode": "sample string 3",
"ShipToStateProvinceCode": "sample string 4",
"ShipToCountryCode": "sample string 5",
"Lines": [
{
"ItemNumber": "sample string 1",
"Quantity": 2
},
{
"ItemNumber": "sample string 1",
"Quantity": 2
}
]
}
application/xml, text/xml
Sample:
<ShipQuoteRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CustomerNumber>sample string 1</CustomerNumber>
<BusinessUnit>sample string 2</BusinessUnit>
<ShipToPostalCode>sample string 3</ShipToPostalCode>
<ShipToStateProvinceCode>sample string 4</ShipToStateProvinceCode>
<ShipToCountryCode>sample string 5</ShipToCountryCode>
<Lines>
<ShipQuoteRequestLine>
<ItemNumber>sample string 1</ItemNumber>
<Quantity>2</Quantity>
</ShipQuoteRequestLine>
<ShipQuoteRequestLine>
<ItemNumber>sample string 1</ItemNumber>
<Quantity>2</Quantity>
</ShipQuoteRequestLine>
</Lines>
</ShipQuoteRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ShipQuoteResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Items | Collection of ShipQuoteResponseItem |
None. |
|
| ThirdPartyItems | Collection of ShipQuoteResponseItem |
None. |
|
| Insurance | decimal number |
None. |
|
| CurrencyCode | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Items": [
{
"ServiceLevelCode": "sample string 1",
"ServiceLevelDescription": "sample string 2",
"FreightAmount": 3.0
},
{
"ServiceLevelCode": "sample string 1",
"ServiceLevelDescription": "sample string 2",
"FreightAmount": 3.0
}
],
"ThirdPartyItems": [
{
"ServiceLevelCode": "sample string 1",
"ServiceLevelDescription": "sample string 2",
"FreightAmount": 3.0
},
{
"ServiceLevelCode": "sample string 1",
"ServiceLevelDescription": "sample string 2",
"FreightAmount": 3.0
}
],
"Insurance": 1.0,
"CurrencyCode": "sample string 2"
}
application/xml, text/xml
Sample:
<ShipQuoteResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Items>
<ShipQuoteResponseItem>
<ServiceLevelCode>sample string 1</ServiceLevelCode>
<ServiceLevelDescription>sample string 2</ServiceLevelDescription>
<FreightAmount>3</FreightAmount>
</ShipQuoteResponseItem>
<ShipQuoteResponseItem>
<ServiceLevelCode>sample string 1</ServiceLevelCode>
<ServiceLevelDescription>sample string 2</ServiceLevelDescription>
<FreightAmount>3</FreightAmount>
</ShipQuoteResponseItem>
</Items>
<ThirdPartyItems>
<ShipQuoteResponseItem>
<ServiceLevelCode>sample string 1</ServiceLevelCode>
<ServiceLevelDescription>sample string 2</ServiceLevelDescription>
<FreightAmount>3</FreightAmount>
</ShipQuoteResponseItem>
<ShipQuoteResponseItem>
<ServiceLevelCode>sample string 1</ServiceLevelCode>
<ServiceLevelDescription>sample string 2</ServiceLevelDescription>
<FreightAmount>3</FreightAmount>
</ShipQuoteResponseItem>
</ThirdPartyItems>
<Insurance>1</Insurance>
<CurrencyCode>sample string 2</CurrencyCode>
</ShipQuoteResponse>