PUT api/Product/Put/{id}?hash={hash}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
|
hash | string |
Required |
Body Parameters
ItemName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Ids | string |
None. |
|
ItemType | integer |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
Index | string |
None. |
|
Indexes | string |
None. |
|
Text | string |
None. |
|
Keywords | string |
None. |
|
SiteId | integer |
None. |
|
CreatorId | integer |
None. |
|
ModificatorId | integer |
None. |
|
Code | string |
None. |
|
CreationDate | date |
None. |
|
ModificationDate | date |
None. |
|
PublishingStatus | integer |
None. |
|
AllPublishingStatus | string |
None. |
|
DefaultPrice | decimal number |
None. |
|
DefaultStock | integer |
None. |
|
ReferenceId | integer |
None. |
|
DiscountMultiplier | string |
None. |
|
ForSale | boolean |
None. |
|
ForcePublishingStatus | boolean |
None. |
|
Vigency | boolean |
None. |
|
VigencyFrom | date |
None. |
|
VigencyTo | date |
None. |
|
MetaDescription | string |
None. |
|
MetaTitle | string |
None. |
|
MetaKeywords | string |
None. |
|
MetaLang | string |
None. |
|
MetaAuthor | string |
None. |
|
Author | string |
None. |
|
AutoMeta | boolean |
None. |
|
ParentId | integer |
None. |
|
Weight | integer |
None. |
|
Weights | string |
None. |
|
Brand | string |
None. |
|
UseRefPictures | boolean |
None. |
|
Manufacturer | string |
None. |
|
Depth | integer |
None. |
|
IsRepository | boolean |
None. |
|
Tags | string |
None. |
|
CustomDate | date |
None. |
|
IncludeOnRss | boolean |
None. |
|
IncludeOnSitemap | boolean |
None. |
|
CurrencyId | integer |
None. |
|
PriceListId | integer |
None. |
|
AppendControls | string |
None. |
|
ContentOrder | integer |
None. |
|
ContentDisplay | integer |
None. |
|
ContentSort | boolean |
None. |
|
ContentRecsPerPage | integer |
None. |
|
ItemFilters | Dictionary of string [key] and string [value] |
None. |
|
PriceMode | integer |
None. |
|
ExternalReference | string |
None. |
|
FilterGroup | integer |
None. |
|
Sync | boolean |
None. |
|
Discount | decimal number |
None. |
|
DiscountMode | integer |
None. |
|
Currency | Currency |
None. |
|
Images | Collection of Picture |
None. |
|
ExtendedWarranty | Collection of ItemExtendedWarranty |
None. |
|
Additionals | Collection of ItemAdditional |
None. |
|
Filters | Collection of FilterValue |
None. |
|
Properties | Collection of Preference |
None. |
|
DesignProperties | Collection of Preference |
None. |
|
DefaultPrices | Collection of ItemDefaultPices |
None. |
|
Callout | Collection of ItemCallout |
None. |
|
DefaultMinStock | integer |
None. |
|
BoxWeight | decimal number |
None. |
|
BoxHeight | decimal number |
None. |
|
BoxWidth | decimal number |
None. |
|
BoxLength | decimal number |
None. |
|
WeightUnits | integer |
None. |
|
LengthUnits | integer |
None. |
|
DefaultOfferPrice | decimal number |
None. |
|
FreeShipping | boolean |
None. |
|
PriceMultiplier | integer |
None. |
|
UnitsMultiplier | integer |
None. |
|
Taxes | decimal number |
None. |
|
IsCombo | boolean |
None. |
|
ItemDiscounts | Collection of ItemDiscount |
None. |
|
SyncPrice | boolean |
None. |
|
ProviderId | integer |
None. |
|
Provider | Provider |
None. |
|
Variants | Collection of Price |
None. |
|
PackagingUnits | integer |
None. |
|
UnpublishWoStock | boolean |
None. |
|
Cost | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Ids": "sample string 2", "ItemType": 3, "Name": "sample string 4", "Description": "sample string 5", "Index": "sample string 6", "Indexes": "sample string 7", "Text": "sample string 8", "Keywords": "sample string 9", "SiteId": 10, "CreatorId": 11, "ModificatorId": 12, "Code": "sample string 13", "CreationDate": "2024-05-02T21:34:51.8193383-03:00", "ModificationDate": "2024-05-02T21:34:51.8193383-03:00", "PublishingStatus": 16, "AllPublishingStatus": "sample string 17", "DefaultPrice": 18.0, "DefaultStock": 19, "ReferenceId": 1, "DiscountMultiplier": "sample string 20", "ForSale": true, "ForcePublishingStatus": true, "Vigency": true, "VigencyFrom": "2024-05-02T21:34:51.8193383-03:00", "VigencyTo": "2024-05-02T21:34:51.8193383-03:00", "MetaDescription": "sample string 26", "MetaTitle": "sample string 27", "MetaKeywords": "sample string 28", "MetaLang": "sample string 29", "MetaAuthor": "sample string 30", "Author": "sample string 31", "AutoMeta": true, "ParentId": 33, "Weight": 34, "Weights": "sample string 35", "Brand": "sample string 36", "UseRefPictures": true, "Manufacturer": "sample string 38", "Depth": 39, "IsRepository": true, "Tags": "sample string 41", "CustomDate": "2024-05-02T21:34:51.8193383-03:00", "IncludeOnRss": true, "IncludeOnSitemap": true, "CurrencyId": 1, "PriceListId": 45, "AppendControls": "sample string 46", "ContentOrder": 47, "ContentDisplay": 48, "ContentSort": true, "ContentRecsPerPage": 50, "ItemFilters": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "PriceMode": 51, "ExternalReference": "sample string 52", "FilterGroup": 53, "Sync": true, "Discount": 55.0, "DiscountMode": 56, "Currency": { "Id": 1, "Name": "sample string 2", "Code": "sample string 3", "DisplayName": "sample string 4", "Value": 5.0, "IsDefault": true, "SiteId": 7, "RefId": 8 }, "Images": [ { "Url": "sample string 1", "ColorId": "sample string 2", "Thumbnail": true }, { "Url": "sample string 1", "ColorId": "sample string 2", "Thumbnail": true } ], "ExtendedWarranty": [ { "Name": "sample string 1", "Price": 2.0, "Active": true }, { "Name": "sample string 1", "Price": 2.0, "Active": true } ], "Additionals": [ { "Name": "sample string 1", "Price": 2.0, "Active": true }, { "Name": "sample string 1", "Price": 2.0, "Active": true } ], "Filters": [ { "FilterId": 1, "Value": "sample string 2" }, { "FilterId": 1, "Value": "sample string 2" } ], "Properties": [ { "Key": "sample string 1", "Value": "sample string 2" }, { "Key": "sample string 1", "Value": "sample string 2" } ], "DesignProperties": [ { "Key": "sample string 1", "Value": "sample string 2" }, { "Key": "sample string 1", "Value": "sample string 2" } ], "DefaultPrices": [ { "Value": 1.0, "CurrencyId": 2 }, { "Value": 1.0, "CurrencyId": 2 } ], "Callout": [ { "Type": "sample string 1", "Value": "sample string 2", "Text": "sample string 3", "Class": "sample string 4" }, { "Type": "sample string 1", "Value": "sample string 2", "Text": "sample string 3", "Class": "sample string 4" } ], "DefaultMinStock": 57, "BoxWeight": 1.0, "BoxHeight": 1.0, "BoxWidth": 1.0, "BoxLength": 1.0, "WeightUnits": 0, "LengthUnits": 0, "DefaultOfferPrice": 1.0, "FreeShipping": true, "PriceMultiplier": 59, "UnitsMultiplier": 60, "Taxes": 1.0, "IsCombo": true, "ItemDiscounts": [ { "Code": "sample string 1", "Value": 2.0, "Mode": 3, "Multiplier": 4, "Name": "sample string 5" }, { "Code": "sample string 1", "Value": 2.0, "Mode": 3, "Multiplier": 4, "Name": "sample string 5" } ], "SyncPrice": true, "ProviderId": 1, "Provider": { "Id": 1, "Name": "sample string 2", "Description": "sample string 3", "Code": "sample string 4" }, "Variants": [ { "Id": 1, "ItemId": 2, "Name": "sample string 3", "Code": "sample string 4", "Stock": 5, "Price1": 6.0, "OfferPrice": 7.0, "ForSale": true, "Published": true, "Weight": 10, "RefPrice": 11, "CurrencyId": 1, "PriceListId": 12, "Code2": "sample string 13", "SizeId": 14, "ColorId": 15, "PriceMode": 16, "SiteId": 17, "MinStock": 18, "Currency": { "Id": 1, "Name": "sample string 2", "Code": "sample string 3", "DisplayName": "sample string 4", "Value": 5.0, "IsDefault": true, "SiteId": 7, "RefId": 8 }, "Images": [ { "Url": "sample string 1", "ColorId": "sample string 2", "Thumbnail": true }, { "Url": "sample string 1", "ColorId": "sample string 2", "Thumbnail": true } ] }, { "Id": 1, "ItemId": 2, "Name": "sample string 3", "Code": "sample string 4", "Stock": 5, "Price1": 6.0, "OfferPrice": 7.0, "ForSale": true, "Published": true, "Weight": 10, "RefPrice": 11, "CurrencyId": 1, "PriceListId": 12, "Code2": "sample string 13", "SizeId": 14, "ColorId": 15, "PriceMode": 16, "SiteId": 17, "MinStock": 18, "Currency": { "Id": 1, "Name": "sample string 2", "Code": "sample string 3", "DisplayName": "sample string 4", "Value": 5.0, "IsDefault": true, "SiteId": 7, "RefId": 8 }, "Images": [ { "Url": "sample string 1", "ColorId": "sample string 2", "Thumbnail": true }, { "Url": "sample string 1", "ColorId": "sample string 2", "Thumbnail": true } ] } ], "PackagingUnits": 63, "UnpublishWoStock": true, "Cost": 1.0 }
text/xml
Sample:
<Item xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Additionals> <ItemAdditional> <Active>true</Active> <Name>sample string 1</Name> <Price>2</Price> </ItemAdditional> <ItemAdditional> <Active>true</Active> <Name>sample string 1</Name> <Price>2</Price> </ItemAdditional> </Additionals> <AllPublishingStatus>sample string 17</AllPublishingStatus> <AppendControls>sample string 46</AppendControls> <Author>sample string 31</Author> <AutoMeta>true</AutoMeta> <BoxHeight>1</BoxHeight> <BoxLength>1</BoxLength> <BoxWeight>1</BoxWeight> <BoxWidth>1</BoxWidth> <Brand>sample string 36</Brand> <Callout> <ItemCallout> <Class>sample string 4</Class> <Text>sample string 3</Text> <Type>sample string 1</Type> <Value>sample string 2</Value> </ItemCallout> <ItemCallout> <Class>sample string 4</Class> <Text>sample string 3</Text> <Type>sample string 1</Type> <Value>sample string 2</Value> </ItemCallout> </Callout> <Code>sample string 13</Code> <ContentDisplay>48</ContentDisplay> <ContentOrder>47</ContentOrder> <ContentRecsPerPage>50</ContentRecsPerPage> <ContentSort>true</ContentSort> <Cost>1</Cost> <CreationDate>2024-05-02T21:34:51.8193383-03:00</CreationDate> <CreatorId>11</CreatorId> <Currency xmlns:d2p1="http://schemas.datacontract.org/2004/07/GoLCms.Lib.Communications"> <d2p1:Code>sample string 3</d2p1:Code> <d2p1:DisplayName>sample string 4</d2p1:DisplayName> <d2p1:Id>1</d2p1:Id> <d2p1:IsDefault>true</d2p1:IsDefault> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:RefId>8</d2p1:RefId> <d2p1:SiteId>7</d2p1:SiteId> <d2p1:Value>5</d2p1:Value> </Currency> <CurrencyId>1</CurrencyId> <CustomDate>2024-05-02T21:34:51.8193383-03:00</CustomDate> <DefaultMinStock>57</DefaultMinStock> <DefaultOfferPrice>1</DefaultOfferPrice> <DefaultPrice>18</DefaultPrice> <DefaultPrices xmlns:d2p1="http://schemas.datacontract.org/2004/07/GoLCms.Lib.Communications"> <d2p1:ItemDefaultPices> <d2p1:CurrencyId>2</d2p1:CurrencyId> <d2p1:Value>1</d2p1:Value> </d2p1:ItemDefaultPices> <d2p1:ItemDefaultPices> <d2p1:CurrencyId>2</d2p1:CurrencyId> <d2p1:Value>1</d2p1:Value> </d2p1:ItemDefaultPices> </DefaultPrices> <DefaultStock>19</DefaultStock> <Depth>39</Depth> <Description>sample string 5</Description> <DesignProperties xmlns:d2p1="http://schemas.datacontract.org/2004/07/GoLCms.Lib.Communications"> <d2p1:Preference> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:Preference> <d2p1:Preference> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:Preference> </DesignProperties> <Discount>55</Discount> <DiscountMode>56</DiscountMode> <DiscountMultiplier>sample string 20</DiscountMultiplier> <ExtendedWarranty> <ItemExtendedWarranty> <Active>true</Active> <Name>sample string 1</Name> <Price>2</Price> </ItemExtendedWarranty> <ItemExtendedWarranty> <Active>true</Active> <Name>sample string 1</Name> <Price>2</Price> </ItemExtendedWarranty> </ExtendedWarranty> <ExternalReference>sample string 52</ExternalReference> <FilterGroup>53</FilterGroup> <Filters xmlns:d2p1="http://schemas.datacontract.org/2004/07/GoLCms.Lib.Communications"> <d2p1:FilterValue> <d2p1:FilterId>1</d2p1:FilterId> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:FilterValue> <d2p1:FilterValue> <d2p1:FilterId>1</d2p1:FilterId> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:FilterValue> </Filters> <ForSale>true</ForSale> <ForcePublishingStatus>true</ForcePublishingStatus> <FreeShipping>true</FreeShipping> <Id>1</Id> <Ids>sample string 2</Ids> <Images> <Picture> <ColorId>sample string 2</ColorId> <Thumbnail>true</Thumbnail> <Url>sample string 1</Url> </Picture> <Picture> <ColorId>sample string 2</ColorId> <Thumbnail>true</Thumbnail> <Url>sample string 1</Url> </Picture> </Images> <IncludeOnRss>true</IncludeOnRss> <IncludeOnSitemap>true</IncludeOnSitemap> <Index>sample string 6</Index> <Indexes>sample string 7</Indexes> <IsCombo>true</IsCombo> <IsRepository>true</IsRepository> <ItemDiscounts xmlns:d2p1="http://schemas.datacontract.org/2004/07/GoLCms.Lib.Communications"> <d2p1:ItemDiscount> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:Mode>3</d2p1:Mode> <d2p1:Multiplier>4</d2p1:Multiplier> <d2p1:Name>sample string 5</d2p1:Name> <d2p1:Value>2</d2p1:Value> </d2p1:ItemDiscount> <d2p1:ItemDiscount> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:Mode>3</d2p1:Mode> <d2p1:Multiplier>4</d2p1:Multiplier> <d2p1:Name>sample string 5</d2p1:Name> <d2p1:Value>2</d2p1:Value> </d2p1:ItemDiscount> </ItemDiscounts> <ItemFilters xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value>sample string 4</d2p1:Value> </d2p1:KeyValueOfstringstring> </ItemFilters> <ItemType>3</ItemType> <Keywords>sample string 9</Keywords> <LengthUnits>0</LengthUnits> <Manufacturer>sample string 38</Manufacturer> <MetaAuthor>sample string 30</MetaAuthor> <MetaDescription>sample string 26</MetaDescription> <MetaKeywords>sample string 28</MetaKeywords> <MetaLang>sample string 29</MetaLang> <MetaTitle>sample string 27</MetaTitle> <ModificationDate>2024-05-02T21:34:51.8193383-03:00</ModificationDate> <ModificatorId>12</ModificatorId> <Name>sample string 4</Name> <PackagingUnits>63</PackagingUnits> <ParentId>33</ParentId> <PriceListId>45</PriceListId> <PriceMode>51</PriceMode> <PriceMultiplier>59</PriceMultiplier> <Properties xmlns:d2p1="http://schemas.datacontract.org/2004/07/GoLCms.Lib.Communications"> <d2p1:Preference> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:Preference> <d2p1:Preference> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:Preference> </Properties> <Provider xmlns:d2p1="http://schemas.datacontract.org/2004/07/GoLCms.Lib.Communications"> <d2p1:_x003C_Code_x003E_k__BackingField>sample string 4</d2p1:_x003C_Code_x003E_k__BackingField> <d2p1:_x003C_Description_x003E_k__BackingField>sample string 3</d2p1:_x003C_Description_x003E_k__BackingField> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField> </Provider> <ProviderId>1</ProviderId> <PublishingStatus>16</PublishingStatus> <ReferenceId>1</ReferenceId> <SiteId>10</SiteId> <Sync>true</Sync> <SyncPrice>true</SyncPrice> <Tags>sample string 41</Tags> <Taxes>1</Taxes> <Text>sample string 8</Text> <UnitsMultiplier>60</UnitsMultiplier> <UnpublishWoStock>true</UnpublishWoStock> <UseRefPictures>true</UseRefPictures> <Variants xmlns:d2p1="http://schemas.datacontract.org/2004/07/GoLCms.Lib.Communications"> <d2p1:Price> <d2p1:Code>sample string 4</d2p1:Code> <d2p1:Code2>sample string 13</d2p1:Code2> <d2p1:ColorId>15</d2p1:ColorId> <d2p1:Currency> <d2p1:Code>sample string 3</d2p1:Code> <d2p1:DisplayName>sample string 4</d2p1:DisplayName> <d2p1:Id>1</d2p1:Id> <d2p1:IsDefault>true</d2p1:IsDefault> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:RefId>8</d2p1:RefId> <d2p1:SiteId>7</d2p1:SiteId> <d2p1:Value>5</d2p1:Value> </d2p1:Currency> <d2p1:CurrencyId>1</d2p1:CurrencyId> <d2p1:ForSale>true</d2p1:ForSale> <d2p1:Id>1</d2p1:Id> <d2p1:Images> <Picture> <ColorId>sample string 2</ColorId> <Thumbnail>true</Thumbnail> <Url>sample string 1</Url> </Picture> <Picture> <ColorId>sample string 2</ColorId> <Thumbnail>true</Thumbnail> <Url>sample string 1</Url> </Picture> </d2p1:Images> <d2p1:ItemId>2</d2p1:ItemId> <d2p1:MinStock>18</d2p1:MinStock> <d2p1:Name>sample string 3</d2p1:Name> <d2p1:OfferPrice>7</d2p1:OfferPrice> <d2p1:Price1>6</d2p1:Price1> <d2p1:PriceListId>12</d2p1:PriceListId> <d2p1:PriceMode>16</d2p1:PriceMode> <d2p1:Published>true</d2p1:Published> <d2p1:RefPrice>11</d2p1:RefPrice> <d2p1:SiteId>17</d2p1:SiteId> <d2p1:SizeId>14</d2p1:SizeId> <d2p1:Stock>5</d2p1:Stock> <d2p1:Weight>10</d2p1:Weight> </d2p1:Price> <d2p1:Price> <d2p1:Code>sample string 4</d2p1:Code> <d2p1:Code2>sample string 13</d2p1:Code2> <d2p1:ColorId>15</d2p1:ColorId> <d2p1:Currency> <d2p1:Code>sample string 3</d2p1:Code> <d2p1:DisplayName>sample string 4</d2p1:DisplayName> <d2p1:Id>1</d2p1:Id> <d2p1:IsDefault>true</d2p1:IsDefault> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:RefId>8</d2p1:RefId> <d2p1:SiteId>7</d2p1:SiteId> <d2p1:Value>5</d2p1:Value> </d2p1:Currency> <d2p1:CurrencyId>1</d2p1:CurrencyId> <d2p1:ForSale>true</d2p1:ForSale> <d2p1:Id>1</d2p1:Id> <d2p1:Images> <Picture> <ColorId>sample string 2</ColorId> <Thumbnail>true</Thumbnail> <Url>sample string 1</Url> </Picture> <Picture> <ColorId>sample string 2</ColorId> <Thumbnail>true</Thumbnail> <Url>sample string 1</Url> </Picture> </d2p1:Images> <d2p1:ItemId>2</d2p1:ItemId> <d2p1:MinStock>18</d2p1:MinStock> <d2p1:Name>sample string 3</d2p1:Name> <d2p1:OfferPrice>7</d2p1:OfferPrice> <d2p1:Price1>6</d2p1:Price1> <d2p1:PriceListId>12</d2p1:PriceListId> <d2p1:PriceMode>16</d2p1:PriceMode> <d2p1:Published>true</d2p1:Published> <d2p1:RefPrice>11</d2p1:RefPrice> <d2p1:SiteId>17</d2p1:SiteId> <d2p1:SizeId>14</d2p1:SizeId> <d2p1:Stock>5</d2p1:Stock> <d2p1:Weight>10</d2p1:Weight> </d2p1:Price> </Variants> <Vigency>true</Vigency> <VigencyFrom>2024-05-02T21:34:51.8193383-03:00</VigencyFrom> <VigencyTo>2024-05-02T21:34:51.8193383-03:00</VigencyTo> <Weight>34</Weight> <WeightUnits>0</WeightUnits> <Weights>sample string 35</Weights> </Item>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultName | Description | Type | Additional information |
---|---|---|---|
status | string |
None. |
|
message | string |
None. |
|
data | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": "sample string 1", "message": "sample string 2", "data": "sample string 3" }
text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoLCms.Lib.Communications"> <data>sample string 3</data> <message>sample string 2</message> <status>sample string 1</status> </Result>