PUT Customers/ModifyContact

Modify a new Customer Contact.

Request Information

URI Parameters

None.

Body Parameters

CustomerContactBinding
NameDescriptionTypeAdditional information
ID

integer

None.

CustomerID

string

Required

String length: inclusive between 0 and 128

Email

string

Required

String length: inclusive between 0 and 200

Phone

string

Required

String length: inclusive between 0 and 20

Alias

string

None.

Name

string

Required

String length: inclusive between 0 and 100

Surnames

string

Required

String length: inclusive between 0 and 100

VatIdentifier

string

None.

WebURL

string

None.

Addressee

Addressee can be anything this address refers to: Name of a building, of a person, ...

string

None.

Street

string

Required

PostalCode

string

Required

PlaceID

integer

None.

CountryID

integer

None.

Lang

string

None.

StoreID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "CustomerID": "sample string 2",
  "Email": "sample string 3",
  "Phone": "sample string 4",
  "Alias": "sample string 5",
  "Name": "sample string 6",
  "Surnames": "sample string 7",
  "VatIdentifier": "sample string 8",
  "WebURL": "sample string 9",
  "Addressee": "sample string 10",
  "Street": "sample string 11",
  "PostalCode": "sample string 12",
  "PlaceID": 13,
  "CountryID": 14,
  "Lang": "sample string 15",
  "StoreID": 16
}

application/xml, text/xml

Sample:
<CustomerContactBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Customer">
  <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base">sample string 15</Lang>
  <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base">16</StoreID>
  <Addressee xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Location">sample string 10</Addressee>
  <CountryID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Location">14</CountryID>
  <PlaceID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Location">13</PlaceID>
  <PostalCode xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Location">sample string 12</PostalCode>
  <Street xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Location">sample string 11</Street>
  <Email xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Base">sample string 3</Email>
  <Phone xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Base">sample string 4</Phone>
  <WebURL xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Base">sample string 9</WebURL>
  <Alias xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Base">sample string 5</Alias>
  <Name xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Base">sample string 6</Name>
  <Surnames xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Base">sample string 7</Surnames>
  <VatIdentifier xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Base">sample string 8</VatIdentifier>
  <CustomerID>sample string 2</CustomerID>
  <ID>1</ID>
</CustomerContactBinding>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.