PUT Marketing/ModifyProductReview

Modifies an existing ProductReview.

Request Information

URI Parameters

None.

Body Parameters

ProductReviewBinding
NameDescriptionTypeAdditional information
ID

integer

None.

ProductID

integer

None.

StatusID

integer

None.

CustomerID

string

Required

String length: inclusive between 0 and 128

Rating

integer

Range: inclusive between 1 and 5

Text

string

Required

String length: inclusive between 0 and 5000

LanguageID

The language of the review

integer

None.

Lang

string

None.

StoreID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "ProductID": 2,
  "StatusID": 3,
  "CustomerID": "sample string 4",
  "Rating": 5,
  "Text": "sample string 6",
  "LanguageID": 7,
  "Lang": "sample string 8",
  "StoreID": 9
}

application/xml, text/xml

Sample:
<ProductReviewBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Binding.Marketing">
  <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 8</Lang>
  <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">9</StoreID>
  <CustomerID>sample string 4</CustomerID>
  <ID>1</ID>
  <LanguageID>7</LanguageID>
  <ProductID>2</ProductID>
  <Rating>5</Rating>
  <StatusID>3</StatusID>
  <Text>sample string 6</Text>
</ProductReviewBinding>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>