Newer Version Available
Commerce Webstore Wishlist Items
Adding items to wishlists respects buyer View Product entitlements and only users entitled to view product data can access it.
If a store is segmented into markets, this API looks at the language parameter appended to the URL to determine the shopper’s locale and returns the appropriate values.
- Resource
-
1/commerce/webstores/webstoreId/wishlists/wishlistId/wishlist-items - Available version
- 49.0
- HTTP methods
- GET, POST
- Request parameters for GET
-
- Response body for GET
- Wishlist Item Collection
- Request body for POST
-
- Root XML tag
- <wishlistItemInput>
- JSON example
-
1{ 2"productId":"01tRM000000NJCeYAO" 3} - Properties
-
Name Type Description Required or Optional Available Version productId String ID of the product to update or add to the wishlist. Required 49.0
- Request parameters for POST
-
Parameter Name Type Description Required or Optional Available Version effectiveAccountId 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 POST
- Wishlist Item