Wishlist

Move a wishlist item to the cart

Moves the given wishlist item into the authenticated customer's active cart and removes it from the wishlist. Returns the updated cart.

post/move-wishlist-to-carts

Request

Headers

X-STOREFRONT-KEYstring required

Storefront API Key for authentication. Required for all shop/storefront API requests.

X-Localestring
Example:en

Locale code for localized data (e.g. "en", "fr", "ar"). Defaults to channel's default locale.

X-Channelstring
Example:default

Channel code (e.g. "default"). Defaults to the current channel.

X-Currencystring
Example:USD

Currency code (e.g. "USD", "EUR", "INR"). Defaults to channel's base currency.

Request body

wishlistItemIdinteger required

ID of the wishlist item to move

quantityinteger

Quantity to add to cart (defaults to 1)

Example request

{
  "wishlistItemId": 202,
  "quantity": 1
}

Response

Item moved to cart. Returns the updated cart.

Changes

No recorded changes to this operation across all 13 revisions of this API.