PUT 3dCartWebAPI/v1/Products/{catalogid}/Features


Updates a collection of features from a specific Product

Request Information

URI Parameters

NameDescriptionTypeAdditional information
catalogid

CatalogID

integer

Required

Body Parameters

A Json or XML object containing the new features

Collection of Feature
NameDescriptionTypeAdditional information
FeatureID

database reference = prod_addfeatures.ID

integer

None.

FeatureTitle

database reference = prod_addfeatures.ProdFeatureTitle

string

String length: inclusive between 0 and 150

FeatureDescription

database reference = prod_addfeatures.ProdFeatureTitle

string

String length: inclusive between 0 and 150

Request Formats

application/json, text/json

Sample:
[
  {
    "FeatureID": 1,
    "FeatureTitle": "sample string 1",
    "FeatureDescription": "sample string 2"
  },
  {
    "FeatureID": 1,
    "FeatureTitle": "sample string 1",
    "FeatureDescription": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfFeature xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Feature>
    <FeatureID>1</FeatureID>
    <FeatureTitle>sample string 1</FeatureTitle>
    <FeatureDescription>sample string 2</FeatureDescription>
  </Feature>
  <Feature>
    <FeatureID>1</FeatureID>
    <FeatureTitle>sample string 1</FeatureTitle>
    <FeatureDescription>sample string 2</FeatureDescription>
  </Feature>
</ArrayOfFeature>

Sample Request


Please click here to download the C# Rest API Client project from GitHub.
not yet available
not yet available

Response Information

application/json, text/json

Sample:
[
  {
    "Key":"FeatureID",
    "Value":"1234",
    "Status":"200",
    "Message":"updated successfully",
  }
]
							

Resource Description

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.