POST api/inventory/Wishlist/Items/Create?wishlistID={wishlistID}&productID={productID}&quantity={quantity}
Add an item to a specific Wishlist.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| wishlistID | integer |
Required |
|
| productID | string |
Required |
|
| quantity | integer |
Default value is 1 |
Body Parameters
None.
Response Information
Resource Description
IWishlistItem| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| WishlistID | integer |
None. |
|
| InventoryID | integer |
None. |
|
| Quantity | integer |
None. |
Response Formats
application/xml, text/xml
Sample:
<WishlistItem> <ID>0</ID> <WishlistID>0</WishlistID> <InventoryID>0</InventoryID> <Quantity>0</Quantity> <CreatedBy /> <DateCreated>01/01/0001 00:00:00</DateCreated> <LastModifiedBy /> <DateLastModified /> </WishlistItem>
application/json, text/json
Sample:
{
"ID": 0,
"WishlistID": 0,
"InventoryID": 0,
"Quantity": 0,
"DateCreated": "0001-01-01T00:00:00"
}