PATCH api/MyAccount/wishlists/{wishListGuid}/wishlistlines/{lineItemGuid}
Module : My Account - My Lists; BE JIRA: ADINA-8408; Updates product count within a list
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
wishListGuid | globally unique identifier |
Required |
|
lineItemGuid | globally unique identifier |
Required |
Body Parameters
WishListBatchLineItemName | Description | Type | Additional information |
---|---|---|---|
productId | globally unique identifier |
None. |
|
qtyOrdered | integer |
None. |
|
unitOfMeasure | string |
None. |
|
erpNumber | string |
None. |
|
properties | Dictionary of string [key] and string [value] |
None. |
Request Formats
application/json, text/json
Sample:
{ "productId": "8fc5a76c-ec0a-4887-a984-7f053415046c", "qtyOrdered": 2, "unitOfMeasure": "sample string 3", "erpNumber": "sample string 4", "properties": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } }
application/xml, text/xml
Sample:
<WishListBatchLineItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Adi.BusinessEntities.Product"> <erpNumber>sample string 4</erpNumber> <productId>8fc5a76c-ec0a-4887-a984-7f053415046c</productId> <properties xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value>sample string 4</d2p1:Value> </d2p1:KeyValueOfstringstring> </properties> <qtyOrdered>2</qtyOrdered> <unitOfMeasure>sample string 3</unitOfMeasure> </WishListBatchLineItem>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CustomActionResultOfWishlistLinesResponseEntityName | Description | Type | Additional information |
---|---|---|---|
StatusCode | HttpStatusCode |
None. |
|
_data | WishlistLinesResponseEntity |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.