Newer Version Available

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

Commerce Webstore Wishlist, Add to Cart

Add a wishlist to a cart.

Adding wishlists to carts respects buyer View Product entitlements and only users entitled to view product data can access it.

Resource
1/commerce/webstores/webstoreId/wishlists/wishlistId/actions/add-wishlist-to-cart
Available version
49.0
Requires Chatter
No
HTTP methods
POST
Request parameters for POST
Parameter Name Type Description Required or Optional Available Version
cartId String ID of the cart. If unspecified, wishlist items are added to the active cart. Optional 49.0
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 POST
Wishlist to Cart Result