PUT v1/ProductGroups
Update an existing Product group.
Request Information
Requires Authorization!
URI Parameters
None.
Body Parameters
The product group.
ProductGroupChangesName | Description | Type | Additional information |
---|---|---|---|
SyncPropertiesOnSave |
Set this property to true to update the Properties collection when saving. |
boolean |
None. |
ChangedTimestamp |
Gets or sets the changed timestamp. |
date |
None. |
ShopGroupId |
Gets or sets the shop group identifier. |
integer |
Required |
Sequence |
Gets or sets the sequence. |
integer |
Required |
Comment |
Gets or sets the comment. |
string |
Max length: 2147483647 |
SyncEnabled |
Gets or sets a value indicating whether the synchronize is enabled. |
boolean |
Required |
IsActive |
Gets or sets a value indicating whether this instance is active. |
boolean |
Required |
IncludeInNavigation |
Gets or sets a value indicating whether the navigation is included. |
boolean |
Required |
ImageFileId |
Gets or sets the image file identifier. |
integer |
None. |
Children |
Gets or sets the list of the children elements. |
Collection of integer |
None. |
Properties |
Gets or sets the Product Group properties. |
Collection of ProductGroupProperty |
None. |
Id |
Gets or sets the identifier. |
integer |
Required |
Name |
Gets or sets the name. |
string |
Max length: 100 |
ParentProductGroupId |
Gets or sets the parent product group identifier. |
integer |
None. |
Request Formats
application/json, text/json
{ "SyncPropertiesOnSave": true, "ChangedTimestamp": "2021-12-02T20:19:35.9041111+01:00", "ShopGroupId": 3, "Sequence": 4, "Comment": "sample string 5", "SyncEnabled": true, "IsActive": true, "IncludeInNavigation": true, "ImageFileId": 1, "Children": [ 1, 2 ], "Properties": [], "Id": 9, "Name": "sample string 10", "ParentProductGroupId": 1 }
application/xml, text/xml
<ProductGroupChanges xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Id>9</Id> <Name>sample string 10</Name> <ParentProductGroupId>1</ParentProductGroupId> <ChangedTimestamp>2021-12-02T20:19:35.9041111+01:00</ChangedTimestamp> <ShopGroupId>3</ShopGroupId> <Sequence>4</Sequence> <Comment>sample string 5</Comment> <SyncEnabled>true</SyncEnabled> <IsActive>true</IsActive> <IncludeInNavigation>true</IncludeInNavigation> <ImageFileId>1</ImageFileId> <Children> <ProductGroupId>1</ProductGroupId> <ProductGroupId>2</ProductGroupId> </Children> <Properties /> <SyncPropertiesOnSave>true</SyncPropertiesOnSave> </ProductGroupChanges>
Response Information
Response Codes
- OK (200)
Resource Description
The HttpResponseMessage object.
HttpResponseMessage
Name | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |