PUT customer/shipto

Update customer ship to details

Request Information

URI Parameters

None.

Body Parameters

Interprise.Web.Services.Models.CustomerShipToInput
NameDescriptionTypeAdditional information
CustomerCode

string

None.

ShipToCode

string

None.

ShipToName

string

None.

Address

string

None.

City

string

None.

State

string

None.

PostalCode

string

None.

County

string

None.

Country

string

None.

RouteCode

string

None.

Telephone

string

None.

TelephoneExtension

string

None.

Fax

string

None.

FaxExtension

string

None.

Email

string

None.

WebSite

string

None.

TaxCode

string

None.

TaxNumber

string

None.

SpecialInstructions

string

None.

TruckSize

string

None.

SalesRepGroupName

Sales Rep, optional

string

None.

CustomFields

Collection of all the custom fields in CustomerShipTo table

Collection of Interprise.Web.Services.Models.CustomField

None.

Request Formats

{
  "customerCode": "sample string 2",
  "shipToCode": "sample string 3",
  "shipToName": "sample string 4",
  "address": "sample string 5",
  "city": "sample string 6",
  "state": "sample string 7",
  "postalCode": "sample string 8",
  "county": "sample string 9",
  "country": "sample string 10",
  "routeCode": "sample string 11",
  "telephone": "sample string 12",
  "telephoneExtension": "sample string 13",
  "fax": "sample string 14",
  "faxExtension": "sample string 15",
  "email": "sample string 16",
  "webSite": "sample string 17",
  "taxCode": "sample string 18",
  "taxNumber": "sample string 19",
  "specialInstructions": "sample string 20",
  "truckSize": "sample string 21",
  "salesRepGroupName": "sample string 22",
  "customFields": [
    {
      "field": "sample string 1",
      "value": {}
    },
    {
      "field": "sample string 1",
      "value": {}
    }
  ]
}
<CustomerShipToInput xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <IsUpdateShipToName>true</IsUpdateShipToName>
  <CustomerCode>sample string 2</CustomerCode>
  <ShipToCode>sample string 3</ShipToCode>
  <ShipToName>sample string 4</ShipToName>
  <Address>sample string 5</Address>
  <City>sample string 6</City>
  <State>sample string 7</State>
  <PostalCode>sample string 8</PostalCode>
  <County>sample string 9</County>
  <Country>sample string 10</Country>
  <RouteCode>sample string 11</RouteCode>
  <Telephone>sample string 12</Telephone>
  <TelephoneExtension>sample string 13</TelephoneExtension>
  <Fax>sample string 14</Fax>
  <FaxExtension>sample string 15</FaxExtension>
  <Email>sample string 16</Email>
  <WebSite>sample string 17</WebSite>
  <TaxCode>sample string 18</TaxCode>
  <TaxNumber>sample string 19</TaxNumber>
  <SpecialInstructions>sample string 20</SpecialInstructions>
  <TruckSize>sample string 21</TruckSize>
  <SalesRepGroupName>sample string 22</SalesRepGroupName>
  <SalesRepGroupCode>sample string 23</SalesRepGroupCode>
  <CustomFields>
    <CustomField>
      <Field>sample string 1</Field>
      <Value />
    </CustomField>
    <CustomField>
      <Field>sample string 1</Field>
      <Value />
    </CustomField>
  </CustomFields>
</CustomerShipToInput>

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

Response Information

Resource Description

Interprise.Web.Services.Http.MetadataOfInterprise.Web.Services.Models.CustomerShipToInput
NameDescriptionTypeAdditional information
data

Interprise.Web.Services.Http.DataNodeOfInterprise.Web.Services.Models.CustomerShipToInput

None.

links

Interprise.Web.Services.Http.LinksNode

None.

Response Formats

Sample not available.