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


Updates a collection of advanced options from a specific Product

Request Information

URI Parameters

NameDescriptionTypeAdditional information
catalogid

CatalogID

integer

Required

Body Parameters

A Json or XML object containing the new advanced options

Collection of AdvancedOption
NameDescriptionTypeAdditional information
AdvancedOptionCode

database reference = options_Advanced.AO_Code

string

String length: inclusive between 0 and 50

AdvancedOptionSufix

database reference = options_Advanced.AO_Sufix

string

String length: inclusive between 0 and 50

AdvancedOptionName

database reference = options_Advanced.AO_Name

string

String length: inclusive between 0 and 65535

AdvancedOptionCost

database reference = options_Advanced.AO_Cost

decimal number

None.

AdvancedOptionStock

database reference = options_Advanced.AO_Stock

integer

None.

AdvancedOptionWeight

database reference = options_Advanced.AO_Weight

decimal number

None.

AdvancedOptionPrice

database reference = options_Advanced.AO_Price

decimal number

None.

AdvancedOptionGTIN

database reference = options_Advanced.gtin

string

String length: inclusive between 0 and 50

Request Formats

application/json, text/json

Sample:
[
  {
    "AdvancedOptionCode": "sample string 1",
    "AdvancedOptionSufix": "sample string 2",
    "AdvancedOptionName": "sample string 3",
    "AdvancedOptionCost": 1.1,
    "AdvancedOptionStock": 1,
    "AdvancedOptionWeight": 1.1,
    "AdvancedOptionPrice": 1.1,
    "AdvancedOptionGTIN": "sample string 4"
  },
  {
    "AdvancedOptionCode": "sample string 1",
    "AdvancedOptionSufix": "sample string 2",
    "AdvancedOptionName": "sample string 3",
    "AdvancedOptionCost": 1.1,
    "AdvancedOptionStock": 1,
    "AdvancedOptionWeight": 1.1,
    "AdvancedOptionPrice": 1.1,
    "AdvancedOptionGTIN": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAdvancedOption xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <AdvancedOption>
    <AdvancedOptionCode>sample string 1</AdvancedOptionCode>
    <AdvancedOptionSufix>sample string 2</AdvancedOptionSufix>
    <AdvancedOptionName>sample string 3</AdvancedOptionName>
    <AdvancedOptionCost>1.1</AdvancedOptionCost>
    <AdvancedOptionStock>1</AdvancedOptionStock>
    <AdvancedOptionWeight>1.1</AdvancedOptionWeight>
    <AdvancedOptionPrice>1.1</AdvancedOptionPrice>
    <AdvancedOptionGTIN>sample string 4</AdvancedOptionGTIN>
  </AdvancedOption>
  <AdvancedOption>
    <AdvancedOptionCode>sample string 1</AdvancedOptionCode>
    <AdvancedOptionSufix>sample string 2</AdvancedOptionSufix>
    <AdvancedOptionName>sample string 3</AdvancedOptionName>
    <AdvancedOptionCost>1.1</AdvancedOptionCost>
    <AdvancedOptionStock>1</AdvancedOptionStock>
    <AdvancedOptionWeight>1.1</AdvancedOptionWeight>
    <AdvancedOptionPrice>1.1</AdvancedOptionPrice>
    <AdvancedOptionGTIN>sample string 4</AdvancedOptionGTIN>
  </AdvancedOption>
</ArrayOfAdvancedOption>

Sample Request



Response Information

application/json, text/json

Sample:
[
  {
    "Key":"AdvancedOptionCode",
    "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.