POST Catalog/AddProductFeatureValue

Adds a child ProductFeatureValue to a parent It's up to the front to set the ProductFeatureValue sortOrder.

Request Information

URI Parameters

None.

Body Parameters

use null ParentProductFeatureValueID, for top parent ProductFeatureValues

AddProductFeatureValueBinding
NameDescriptionTypeAdditional information
ProductID

integer

None.

FeatureID

integer

None.

FeatureOptionID

integer

None.

Value

This format and type of this value is defined by Feature

string

String length: inclusive between 0 and 4000

Lang

string

None.

StoreID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductID": 1,
  "FeatureID": 2,
  "FeatureOptionID": 1,
  "Value": "sample string 3",
  "Lang": "sample string 4",
  "StoreID": 5
}

application/xml, text/xml

Sample:
<AddProductFeatureValueBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Binding.Catalog">
  <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 4</Lang>
  <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">5</StoreID>
  <FeatureID>2</FeatureID>
  <FeatureOptionID>1</FeatureOptionID>
  <ProductID>1</ProductID>
  <Value>sample string 3</Value>
</AddProductFeatureValueBinding>

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>