PUT salesorder/shipto

Update customer sales order ship to address

Request Information

URI Parameters

None.

Body Parameters

Interprise.Web.Services.Models.SalesOrdeUpdateShipToInput
NameDescriptionTypeAdditional information
SalesOrderCode

Sales order document code

string

None.

ShipToName

Optional Ship To Name

string

None.

ShipToCode

Optional Ship To Code, if ShipToName is not provided, it will use the related ship to codes' ship to name. If ShipToName is defined, it will overrided the sales order ship to name.

string

None.

ShipToAddress

Optional Ship To Address

string

None.

ShipToCity

Optional Ship To City

string

None.

ShipToState

Optional Ship To State

string

None.

ShipToPostalCode

Optional Ship To Postal

string

None.

ShipToCountry

Optional Ship To Country

string

None.

ShipToCounty

Optional Ship To County

string

None.

ShipToPhone

Optional Ship To Phone

string

None.

ShipToPhoneExt

Optional Ship To Phone Ext

string

None.

Request Formats

{
  "salesOrderCode": "sample string 1",
  "shipToName": "sample string 2",
  "shipToCode": "sample string 3",
  "shipToAddress": "sample string 4",
  "shipToCity": "sample string 5",
  "shipToState": "sample string 6",
  "shipToPostalCode": "sample string 7",
  "shipToCountry": "sample string 8",
  "shipToCounty": "sample string 9",
  "shipToPhone": "sample string 10",
  "shipToPhoneExt": "sample string 11"
}
<SalesOrdeUpdateShipToInput xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <SalesOrderCode>sample string 1</SalesOrderCode>
  <ShipToName>sample string 2</ShipToName>
  <ShipToCode>sample string 3</ShipToCode>
  <ShipToAddress>sample string 4</ShipToAddress>
  <ShipToCity>sample string 5</ShipToCity>
  <ShipToState>sample string 6</ShipToState>
  <ShipToPostalCode>sample string 7</ShipToPostalCode>
  <ShipToCountry>sample string 8</ShipToCountry>
  <ShipToCounty>sample string 9</ShipToCounty>
  <ShipToPhone>sample string 10</ShipToPhone>
  <ShipToPhoneExt>sample string 11</ShipToPhoneExt>
</SalesOrdeUpdateShipToInput>

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter' to write type 'SalesOrdeUpdateShipToInput'.

Response Information

Resource Description

Update ship to order message

string

Response Formats

"sample string 1"
<string>sample string 1</string>