POST v1/Shops/{shopId}/Parameters

Updates or adds a Shop Parameter.

Request Information

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional information
shopId

The id of the Shop.

integer

Required.

Body Parameters

The Shop parameter.

ShopParameter
NameDescriptionTypeAdditional information
Id

Gets or sets the id

integer

None.

ShopId

Gets or sets the Shop's id

integer

None.

Key

string

None.

Value

string

None.

DataType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ShopId": 2,
  "Key": "sample string 3",
  "Value": "sample string 4",
  "DataType": "sample string 5"
}

application/xml, text/xml

Sample:
<ShopParameter xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Key>sample string 3</Key>
  <Value>sample string 4</Value>
  <DataType>sample string 5</DataType>
  <Id>1</Id>
  <ShopId>2</ShopId>
</ShopParameter>

Response Information

Response Codes

  • OK (200)

Resource Description

The HttpResponseMessage object.


HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.