How does the ajax Fetch API work in Dawn? Issues with FormData & adding multiple products

Couldn’t get it to work with FormData. Doesn’t look like items works for it.

Did get it to work with json though.

Had to change the fetchConfig() to json and setup the appropriate body. Something important is to make sure you’re using variant.ids and not product.ids or you’ll get a 404 error on the request.