PUT api/itemgroups/nonsku/{id}

Update an existing Stock Keeping Unit (SKU)Item Group.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Id of an existing item group

integer

Required

Body Parameters

PublicAPI.Models.NonSKUItemGroupUpdateModel
NameDescriptionTypeAdditional information
Description

Text associated with this item group. E.g. "Pants", "Women shirts", "Socks", etc.

string

Required

VatId

The Id of the VAT configuration this item group uses.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Description": "sample string 1",
  "VatId": 2
}

application/xml, text/xml

Sample:
<NonSKUItemGroupUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicAPI.Models">
  <Description>sample string 1</Description>
  <VatId>2</VatId>
</NonSKUItemGroupUpdateModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'NonSKUItemGroupUpdateModel'.

Response Information

Resource Description

None.