PUT customer/AddShipTo

Add ShipTo to existing customer with function to set DefaultShipToCode

Request Information

URI Parameters

None.

Body Parameters

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

string

None.

DefaultShipTo

string

None.

NewShipToDetails

Interprise.Web.Services.Models.NewShipToDetails

None.

Request Formats

{
  "customerCode": "sample string 1",
  "defaultShipTo": "sample string 2",
  "newShipToDetails": {
    "shipToName": "sample string 1",
    "address": "sample string 2",
    "city": "sample string 3",
    "state": "sample string 4",
    "postalCode": "sample string 5",
    "county": "sample string 6",
    "country": "sample string 7",
    "telephone": "sample string 8",
    "telephoneExtension": "sample string 9",
    "fax": "sample string 10",
    "faxExtension": "sample string 11",
    "email": "sample string 12",
    "classCode": "sample string 13",
    "openTime": "2024-04-24T13:33:12.2699151+01:00",
    "closeTime": "2024-04-24T13:33:12.2699151+01:00",
    "specialInstructions": "sample string 14"
  }
}
<CustomerAddShipTo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CustomerCode>sample string 1</CustomerCode>
  <DefaultShipTo>sample string 2</DefaultShipTo>
  <NewShipToDetails>
    <ShipToName>sample string 1</ShipToName>
    <Address>sample string 2</Address>
    <City>sample string 3</City>
    <State>sample string 4</State>
    <PostalCode>sample string 5</PostalCode>
    <County>sample string 6</County>
    <Country>sample string 7</Country>
    <Telephone>sample string 8</Telephone>
    <TelephoneExtension>sample string 9</TelephoneExtension>
    <Fax>sample string 10</Fax>
    <FaxExtension>sample string 11</FaxExtension>
    <Email>sample string 12</Email>
    <ClassCode>sample string 13</ClassCode>
    <OpenTime>2024-04-24T13:33:12.2699151+01:00</OpenTime>
    <CloseTime>2024-04-24T13:33:12.2699151+01:00</CloseTime>
    <SpecialInstructions>sample string 14</SpecialInstructions>
  </NewShipToDetails>
</CustomerAddShipTo>

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

Response Information

Resource Description

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

Interprise.Web.Services.Http.DataNodeOfInterprise.Web.Services.Models.CustomerAddShipTo

None.

links

Interprise.Web.Services.Http.LinksNode

None.

Response Formats

Sample not available.