POST api/Ship/Update

Use to update an order, it's pickup and delivery addresses

Request Information

URI Parameters

None.

Body Parameters

UpdateOrderParm
NameDescriptionTypeAdditional information
UserGUID

Unique user GUID assigned for security purposes

string

Required

Max length: 36

ShipmentNumber

Unique shipment number used to reference shipment

integer

Required

PickupAddressCode

An address code used to identify the pickup address

string

Max length: 15

PickupCompanyName

The name of the company at the pickup location

string

Max length: 50

PickupAddress1

Address line 1 at the pickup location

string

Max length: 50

PickupAddress2

Address line 2 at the pickup location

string

Max length: 50

PickupAddress3

Address line 3 at the pickup location

string

Max length: 50

PickupCityName

The city name at the pickup location

string

Max length: 50

PickupStateProvID

The state or province at the pickup location

string

Max length: 3

PickupPostalCode

The postal code at the pickup location

string

Max length: 10

PickupCountryID

The country identifier at the pickup location

string

Max length: 2

PickupPersonToSee

The person to see at the pickup location

string

Max length: 50

PickupPhoneNumber

The phone number at the pickup location

string

Max length: 25

PickupFaxNumber

The fax number at the pickup location

string

Max length: 25

PickupInstructions

The pickup instructions at the pickup location

string

Max length: 500

DeliveryAddressCode

An address code used to identify the delivery address

string

Max length: 15

DeliveryCompanyName

The name of the company at the pickup location

string

Max length: 50

DeliveryAddress1

The address line 1 at the delivery location

string

Max length: 50

DeliveryAddress2

The address line 2 at the delivery location

string

Max length: 50

DeliveryAddress3

The address line 3 at the delivery location

string

Max length: 50

DeliveryCityName

The name of the city at the delivery location

string

Max length: 50

DeliveryStateProvID

The state or province at the delivery location

string

Max length: 3

DeliveryPostalCode

The postal code at the delivery location

string

Max length: 10

DeliveryCountryID

The country ID at the delivery location (ie. US)

string

Max length: 2

DeliveryAttention

The attention to person at the delivery location

string

Max length: 50

DeliveryPhoneNumber

The phone number at the delivery location

string

Max length: 25

DeliveryFaxNumber

The fax number at the delivery location

string

Max length: 25

DeliveryEmailAddress

The email address at the delivery location

string

Max length: 100

DeliveryInstructions

The delivery instructions at the delivery location

string

Max length: 500

Contents

The description of the contents at of the shipment

string

Max length: 100

Reference

Customer specified reference value for the shipment

string

Max length: 50

Pieces

Number of pieces in the shipment

integer

Range: inclusive between 1 and 9999

Weight

Total actual weight of the shipment

decimal number

Range: inclusive between 0.5 and 99999

WeightUOM

Weight unit of measure (LB,KG)

string

Max length: 2

Length

Length of each piece in the shipment

integer

Range: inclusive between 1 and 9999

Width

Width of each piece in the shipment

integer

Range: inclusive between 1 and 9999

Height

Height of each piece in the shipment

integer

Range: inclusive between 1 and 9999

SizeUOM

Size unit of measure (IN,CM)

string

Max length: 2

ReadyDate

Date shipment will be ready for pickup (YYYY-MM-dd)

string

Max length: 10

ReadyTime

Time of day shipment will be ready for pickup (HH:mm)

string

Max length: 5

RequestedDeliveryDate

Requested delivery Date (YYYY-MM-dd)

string

Max length: 10

RequestedDeliveryTime

Requested delivery Time (HH:mm)

string

Max length: 5

DeclaredValue

Declared value of shipment

decimal number

Range: inclusive between 1 and 999999

DeclaredValueCurrencyID

Current of declared value (ie. USD)

string

Max length: 3

OtherReference1

Custom reference value

string

Max length: 50

OtherReference2

Custom reference value

string

Max length: 50

Request Formats

application/json, text/json

Sample:
{
  "UserGUID": "sample string 1",
  "ShipmentNumber": 2,
  "PickupAddressCode": "sample string 3",
  "PickupCompanyName": "sample string 4",
  "PickupAddress1": "sample string 5",
  "PickupAddress2": "sample string 6",
  "PickupAddress3": "sample string 7",
  "PickupCityName": "sample string 8",
  "PickupStateProvID": "sample string 9",
  "PickupPostalCode": "sample string 10",
  "PickupCountryID": "sample string 11",
  "PickupPersonToSee": "sample string 12",
  "PickupPhoneNumber": "sample string 13",
  "PickupFaxNumber": "sample string 14",
  "PickupInstructions": "sample string 15",
  "DeliveryAddressCode": "sample string 16",
  "DeliveryCompanyName": "sample string 17",
  "DeliveryAddress1": "sample string 18",
  "DeliveryAddress2": "sample string 19",
  "DeliveryAddress3": "sample string 20",
  "DeliveryCityName": "sample string 21",
  "DeliveryStateProvID": "sample string 22",
  "DeliveryPostalCode": "sample string 23",
  "DeliveryCountryID": "sample string 24",
  "DeliveryAttention": "sample string 25",
  "DeliveryPhoneNumber": "sample string 26",
  "DeliveryFaxNumber": "sample string 27",
  "DeliveryEmailAddress": "sample string 28",
  "DeliveryInstructions": "sample string 29",
  "Contents": "sample string 30",
  "Reference": "sample string 31",
  "Pieces": 1,
  "Weight": 1.0,
  "WeightUOM": "sample string 32",
  "Length": 1,
  "Width": 1,
  "Height": 1,
  "SizeUOM": "sample string 33",
  "ReadyDate": "sample string 34",
  "ReadyTime": "sample string 35",
  "RequestedDeliveryDate": "sample string 36",
  "RequestedDeliveryTime": "sample string 37",
  "DeclaredValue": 1.0,
  "DeclaredValueCurrencyID": "sample string 38",
  "OtherReference1": "sample string 39",
  "OtherReference2": "sample string 40"
}

application/xml, text/xml

Sample:
<UpdateOrderParm xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <UserGUID>sample string 1</UserGUID>
  <ShipmentNumber>2</ShipmentNumber>
  <PickupAddressCode>sample string 3</PickupAddressCode>
  <PickupCompanyName>sample string 4</PickupCompanyName>
  <PickupAddress1>sample string 5</PickupAddress1>
  <PickupAddress2>sample string 6</PickupAddress2>
  <PickupAddress3>sample string 7</PickupAddress3>
  <PickupCityName>sample string 8</PickupCityName>
  <PickupStateProvID>sample string 9</PickupStateProvID>
  <PickupPostalCode>sample string 10</PickupPostalCode>
  <PickupCountryID>sample string 11</PickupCountryID>
  <PickupPersonToSee>sample string 12</PickupPersonToSee>
  <PickupPhoneNumber>sample string 13</PickupPhoneNumber>
  <PickupFaxNumber>sample string 14</PickupFaxNumber>
  <PickupInstructions>sample string 15</PickupInstructions>
  <DeliveryAddressCode>sample string 16</DeliveryAddressCode>
  <DeliveryCompanyName>sample string 17</DeliveryCompanyName>
  <DeliveryAddress1>sample string 18</DeliveryAddress1>
  <DeliveryAddress2>sample string 19</DeliveryAddress2>
  <DeliveryAddress3>sample string 20</DeliveryAddress3>
  <DeliveryCityName>sample string 21</DeliveryCityName>
  <DeliveryStateProvID>sample string 22</DeliveryStateProvID>
  <DeliveryPostalCode>sample string 23</DeliveryPostalCode>
  <DeliveryCountryID>sample string 24</DeliveryCountryID>
  <DeliveryAttention>sample string 25</DeliveryAttention>
  <DeliveryPhoneNumber>sample string 26</DeliveryPhoneNumber>
  <DeliveryFaxNumber>sample string 27</DeliveryFaxNumber>
  <DeliveryEmailAddress>sample string 28</DeliveryEmailAddress>
  <DeliveryInstructions>sample string 29</DeliveryInstructions>
  <Contents>sample string 30</Contents>
  <Reference>sample string 31</Reference>
  <Pieces>1</Pieces>
  <Weight>1</Weight>
  <WeightUOM>sample string 32</WeightUOM>
  <Length>1</Length>
  <Width>1</Width>
  <Height>1</Height>
  <SizeUOM>sample string 33</SizeUOM>
  <ReadyDate>sample string 34</ReadyDate>
  <ReadyTime>sample string 35</ReadyTime>
  <RequestedDeliveryDate>sample string 36</RequestedDeliveryDate>
  <RequestedDeliveryTime>sample string 37</RequestedDeliveryTime>
  <DeclaredValue>1</DeclaredValue>
  <DeclaredValueCurrencyID>sample string 38</DeclaredValueCurrencyID>
  <OtherReference1>sample string 39</OtherReference1>
  <OtherReference2>sample string 40</OtherReference2>
</UpdateOrderParm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UpdateOrderResponse
NameDescriptionTypeAdditional information
IsSuccessful

If true, then method call was successful

boolean

None.

ErrorMessage

Contains an error message is method call failed

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<UpdateOrderResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <IsSuccessful>true</IsSuccessful>
  <ErrorMessage>sample string 2</ErrorMessage>
</UpdateOrderResponse>