PUT api/inventory/Wishlist/Update?wishlistID={wishlistID}&isDefault={isDefault}
Updates the default value for a particular Wishlist.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
wishlistID | integer |
Required |
|
isDefault | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
WishlistViewModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
SubjectID | integer |
None. |
|
SubjectTypeID | integer |
None. |
|
Description | string |
None. |
|
IsDefault | boolean |
None. |
|
ItemAmount | integer |
None. |
|
OwnerDID | string |
None. |
|
OwnerDisplayName | string |
None. |
|
OwnerType | string |
None. |
Response Formats
application/xml, text/xml
Sample:
<WishlistViewModel> <ID>1</ID> <SubjectID>2</SubjectID> <SubjectTypeID>3</SubjectTypeID> <Description>sample string 4</Description> <IsDefault>True</IsDefault> <ItemAmount>6</ItemAmount> <OwnerDID>sample string 7</OwnerDID> <OwnerDisplayName>sample string 8</OwnerDisplayName> <OwnerType>sample string 9</OwnerType> </WishlistViewModel>
application/json, text/json
Sample:
{ "ID": 1, "SubjectID": 2, "SubjectTypeID": 3, "Description": "sample string 4", "IsDefault": true, "ItemAmount": 6, "OwnerDID": "sample string 7", "OwnerDisplayName": "sample string 8", "OwnerType": "sample string 9" }