PUT Orders/ModifyOrderShippingContact

ModifyOrderShippingContact

Request Information

URI Parameters

None.

Body Parameters

OrderShippingContactBinding
NameDescriptionTypeAdditional information
ID

integer

None.

Token

globally unique identifier

None.

OrderID

integer

None.

Email

string

Required

String length: inclusive between 0 and 200

Phone

string

Required

String length: inclusive between 0 and 20

PostalCode

string

Required

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

PlaceID

integer

None.

CountryID

integer

None.

Lang

string

None.

StoreID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Token": "82997dbc-b3ba-4d88-891e-89b04c94cc8a",
  "OrderID": 3,
  "Email": "sample string 4",
  "Phone": "sample string 5",
  "PostalCode": "sample string 6",
  "Alias": "sample string 7",
  "Name": "sample string 8",
  "Surnames": "sample string 9",
  "VatIdentifier": "sample string 10",
  "WebURL": "sample string 11",
  "Addressee": "sample string 12",
  "Street": "sample string 13",
  "PlaceID": 14,
  "CountryID": 15,
  "Lang": "sample string 16",
  "StoreID": 17
}

application/xml, text/xml

Sample:
<OrderShippingContactBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Order">
  <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base">sample string 16</Lang>
  <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base">17</StoreID>
  <Addressee xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Location">sample string 12</Addressee>
  <CountryID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Location">15</CountryID>
  <PlaceID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Location">14</PlaceID>
  <PostalCode xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Location">sample string 6</PostalCode>
  <Street xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Location">sample string 13</Street>
  <Email xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Base">sample string 4</Email>
  <Phone xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Base">sample string 5</Phone>
  <WebURL xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Base">sample string 11</WebURL>
  <Alias xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Base">sample string 7</Alias>
  <Name xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Base">sample string 8</Name>
  <Surnames xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Base">sample string 9</Surnames>
  <VatIdentifier xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Base">sample string 10</VatIdentifier>
  <ID>1</ID>
  <OrderID>3</OrderID>
  <Token>82997dbc-b3ba-4d88-891e-89b04c94cc8a</Token>
</OrderShippingContactBinding>

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.