Wishlists / Wished Items
Add Item to Wishlist
The Add Item to Wishlist endpoint adds a variant to an existing wishlist by creating a new wished_item
. A wished item in a wishlist is comparable to a line item in a cart.
Each wished item references a single variant, holds the desired quantity and returns price information determined by the variant price in current currency, and desired quantity.
POST
Authorizations
User token to authorize Cart and Checkout requests.
It is required to associate Cart with the User.
Path Parameters
The token is a unique string used to identify the target resource.
Body
application/vnd.api+json
The variant ID that is to be added to the wishlist.
Set a quantity greater than 0, or omit the quantity param if your wishlist does not support quantities.
Was this page helpful?