PUT api/itemgroups/sku/{id}
Update an existing Stock Keeping Unit (SKU)Item Group.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Id of an existing item group |
integer |
Required |
Body Parameters
PublicAPI.Models.SKUItemGroupUpdateModelName | Description | Type | Additional information |
---|---|---|---|
Description |
Text associated with this item group. E.g. "Pants", "Women shirts", "Socks", etc. |
string |
Required String length: inclusive between 0 and 30 |
VatId |
The Id of the VAT configuration this item group uses. |
integer |
None. |
BarcodeId |
Id of the barcode label used by articles belonging to this item group |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Description": "sample string 1", "VatId": 2, "BarcodeId": 3 }
application/xml, text/xml
Sample:
<SKUItemGroupUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicAPI.Models"> <BarcodeId>3</BarcodeId> <Description>sample string 1</Description> <VatId>2</VatId> </SKUItemGroupUpdateModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.