Newer Version Available

This content describes an older version of this product. View Latest

Commerce Webstore Wishlist

Get, update the name of, and delete a wishlist.
Resource
1/commerce/webstores/webstoreId/wishlists/wishlistId
Available version
49.0
Requires Chatter
No
HTTP methods
GET, PATCH, DELETE

PATCH is supported in version 50.0 and later.

Request parameters for GET
Parameter Name Type Description Required or Optional Available Version
effective​AccountId String ID of the account for which the request is made. If unspecified, defaults to the account ID for the context user. Optional 49.0
Response body for GET
Wishlist
Request body for PATCH
Root XML tag
<wishlistUpdateInput>
JSON example
1{
2"name":"My List"
3}
Properties
Name Type Description Required or Optional Available Version
name String Wishlist name to update. Required 50.0
Request parameters for PATCH
Parameter Name Type Description Required or Optional Available Version
effective​AccountId String ID of the account for which the request is made. If unspecified, defaults to the account ID for the context user. Optional 50.0
Response body for PATCH
Wishlist Summary
Response for DELETE
204: Successful Delete